summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/gottlieb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/gottlieb.h')
-rw-r--r--src/mame/audio/gottlieb.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/mame/audio/gottlieb.h b/src/mame/audio/gottlieb.h
index 45bee311c0d..e1efd0513ff 100644
--- a/src/mame/audio/gottlieb.h
+++ b/src/mame/audio/gottlieb.h
@@ -81,7 +81,6 @@ public:
// read/write
DECLARE_WRITE8_MEMBER( write );
- DECLARE_WRITE_LINE_MEMBER( votrax_request );
protected:
gottlieb_sound_r1_device(
@@ -96,24 +95,11 @@ protected:
virtual ioport_constructor device_input_ports() const override;
virtual void device_start() override;
- // internal communications
- DECLARE_WRITE8_MEMBER( votrax_data_w );
- DECLARE_WRITE8_MEMBER( speech_clock_dac_w );
-
- void gottlieb_sound_r1_map(address_map &map);
+ virtual void gottlieb_sound_r1_map(address_map &map);
private:
// devices
- required_device<m6502_device> m_audiocpu;
- required_device<riot6532_device> m_riot;
- optional_device<votrax_sc01_device> m_votrax;
-
- // internal state
- //bool m_populate_votrax;
- uint8_t m_last_speech_clock;
-
- DECLARE_WRITE_LINE_MEMBER( snd_interrupt );
- DECLARE_WRITE8_MEMBER( r6532_portb_w );
+ required_device<riot6532_device> m_riot;
};
// fully populated rev 1 sound board
@@ -127,6 +113,21 @@ protected:
// device-level overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual ioport_constructor device_input_ports() const override;
+ virtual void device_start() override;
+ virtual void device_post_load() override;
+
+ // internal communications
+ DECLARE_WRITE8_MEMBER( votrax_data_w );
+ DECLARE_WRITE8_MEMBER( speech_clock_dac_w );
+
+ virtual void gottlieb_sound_r1_map(address_map &map) override;
+
+private:
+ // devices
+ required_device<votrax_sc01_device> m_votrax;
+
+ // internal state
+ uint8_t m_last_speech_clock;
};