diff options
Diffstat (limited to 'src/mame/includes/tubep.h')
-rw-r--r-- | src/mame/includes/tubep.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/mame/includes/tubep.h b/src/mame/includes/tubep.h index d42bcc1e9fc..e96866ee2e4 100644 --- a/src/mame/includes/tubep.h +++ b/src/mame/includes/tubep.h @@ -7,13 +7,6 @@ class tubep_state : public driver_device { public: - enum - { - TIMER_TUBEP_SCANLINE, - TIMER_RJAMMER_SCANLINE, - TIMER_SPRITE - }; - tubep_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_textram(*this, "textram"), @@ -27,6 +20,18 @@ public: m_msm(*this, "msm"), m_screen(*this, "screen") { } + void tubepb(machine_config &config); + void tubep(machine_config &config); + void rjammer(machine_config &config); + +private: + enum + { + TIMER_TUBEP_SCANLINE, + TIMER_RJAMMER_SCANLINE, + TIMER_SPRITE + }; + uint8_t m_sound_latch; uint8_t m_ls74; uint8_t m_ls377; @@ -110,10 +115,6 @@ public: optional_device<msm5205_device> m_msm; required_device<screen_device> m_screen; - - void tubepb(machine_config &config); - void tubep(machine_config &config); - void rjammer(machine_config &config); void nsc_map(address_map &map); void rjammer_main_map(address_map &map); void rjammer_main_portmap(address_map &map); @@ -126,7 +127,7 @@ public: void tubep_second_map(address_map &map); void tubep_second_portmap(address_map &map); void tubep_sound_map(address_map &map); - void tubep_sound_portmap(address_map &map); -protected: + void tubep_sound_portmap(address_map &map); + virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; }; |