summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hunter2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hunter2.cpp')
-rw-r--r--src/mame/drivers/hunter2.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mame/drivers/hunter2.cpp b/src/mame/drivers/hunter2.cpp
index e04f452b0d5..36df799a881 100644
--- a/src/mame/drivers/hunter2.cpp
+++ b/src/mame/drivers/hunter2.cpp
@@ -51,6 +51,11 @@ public:
, m_bank3(*this, "bank3")
{ }
+ void hunter2(machine_config &config);
+
+ void init_hunter2();
+
+private:
DECLARE_READ8_MEMBER(keyboard_r);
DECLARE_READ8_MEMBER(serial_dsr_r);
DECLARE_WRITE8_MEMBER(keyboard_w);
@@ -64,17 +69,16 @@ public:
DECLARE_WRITE8_MEMBER(irqctrl_w);
DECLARE_WRITE8_MEMBER(memmap_w);
DECLARE_PALETTE_INIT(hunter2);
- void init_hunter2();
+
DECLARE_WRITE_LINE_MEMBER(timer0_out);
DECLARE_WRITE_LINE_MEMBER(timer1_out);
DECLARE_WRITE_LINE_MEMBER(cts_w);
DECLARE_WRITE_LINE_MEMBER(rxd_w);
- void hunter2(machine_config &config);
void hunter2_banked_mem(address_map &map);
void hunter2_io(address_map &map);
void hunter2_mem(address_map &map);
-private:
+
uint8_t m_keydata;
uint8_t m_irq_mask;
virtual void machine_reset() override;