summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/s8a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/s8a.cpp')
-rw-r--r--src/mame/drivers/s8a.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mame/drivers/s8a.cpp b/src/mame/drivers/s8a.cpp
index 93f362885ae..ccd47b5dd3f 100644
--- a/src/mame/drivers/s8a.cpp
+++ b/src/mame/drivers/s8a.cpp
@@ -47,6 +47,14 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void s8a(machine_config &config);
+
+ void init_s8a();
+
+ DECLARE_INPUT_CHANGED_MEMBER(main_nmi);
+ DECLARE_INPUT_CHANGED_MEMBER(audio_nmi);
+
+private:
DECLARE_READ8_MEMBER(sound_r);
DECLARE_WRITE8_MEMBER(dig0_w);
DECLARE_WRITE8_MEMBER(dig1_w);
@@ -64,14 +72,11 @@ public:
DECLARE_WRITE_LINE_MEMBER(pia28_ca2_w) { }; // comma3&4
DECLARE_WRITE_LINE_MEMBER(pia28_cb2_w) { }; // comma1&2
DECLARE_WRITE_LINE_MEMBER(pia_irq);
- DECLARE_INPUT_CHANGED_MEMBER(main_nmi);
- DECLARE_INPUT_CHANGED_MEMBER(audio_nmi);
DECLARE_MACHINE_RESET(s8a);
- void init_s8a();
- void s8a(machine_config &config);
+
void s8a_audio_map(address_map &map);
void s8a_main_map(address_map &map);
-private:
+
uint8_t m_sound_data;
uint8_t m_strobe;
uint8_t m_kbdrow;