summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/s6a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/s6a.cpp')
-rw-r--r--src/mame/drivers/s6a.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mame/drivers/s6a.cpp b/src/mame/drivers/s6a.cpp
index bcd6279b038..d0fa1fad5cc 100644
--- a/src/mame/drivers/s6a.cpp
+++ b/src/mame/drivers/s6a.cpp
@@ -68,6 +68,14 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void s6a(machine_config &config);
+
+ void init_s6a();
+
+ 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);
@@ -87,14 +95,11 @@ public:
DECLARE_WRITE_LINE_MEMBER(pia30_ca2_w) { }; //ST4
DECLARE_WRITE_LINE_MEMBER(pia30_cb2_w) { }; //ST3
DECLARE_WRITE_LINE_MEMBER(pia_irq);
- DECLARE_INPUT_CHANGED_MEMBER(main_nmi);
- DECLARE_INPUT_CHANGED_MEMBER(audio_nmi);
DECLARE_MACHINE_RESET(s6a);
- void init_s6a();
- void s6a(machine_config &config);
+
void s6a_audio_map(address_map &map);
void s6a_main_map(address_map &map);
-private:
+
uint8_t m_sound_data;
uint8_t m_strobe;
uint8_t m_kbdrow;