summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/samcoupe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/samcoupe.h')
-rw-r--r--src/mame/includes/samcoupe.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/mame/includes/samcoupe.h b/src/mame/includes/samcoupe.h
index 1490f3c33af..076dbffa3ee 100644
--- a/src/mame/includes/samcoupe.h
+++ b/src/mame/includes/samcoupe.h
@@ -45,13 +45,6 @@
class samcoupe_state : public driver_device
{
public:
- enum
- {
- TIMER_IRQ_OFF,
- TIMER_MOUSE_RESET,
- TIMER_VIDEO_UPDATE
- };
-
samcoupe_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
@@ -90,6 +83,16 @@ public:
sam_bank_write_ptr[3] = nullptr;
}
+ void samcoupe(machine_config &config);
+
+private:
+ enum
+ {
+ TIMER_IRQ_OFF,
+ TIMER_MOUSE_RESET,
+ TIMER_VIDEO_UPDATE
+ };
+
virtual void video_start() override;
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -200,10 +203,10 @@ public:
int m_lpt1_busy;
int m_lpt2_busy;
- void samcoupe(machine_config &config);
+
void samcoupe_io(address_map &map);
void samcoupe_mem(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};