diff options
Diffstat (limited to 'src/mame/includes/mcr3.h')
-rw-r--r-- | src/mame/includes/mcr3.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/includes/mcr3.h b/src/mame/includes/mcr3.h index 573236b843e..31893abb3a2 100644 --- a/src/mame/includes/mcr3.h +++ b/src/mame/includes/mcr3.h @@ -6,6 +6,7 @@ **************************************************************************/ +#include "machine/74259.h" #include "machine/adc0844.h" #include "screen.h" @@ -16,11 +17,15 @@ public: : mcr_state(mconfig, type, tag), m_spyhunt_alpharam(*this, "spyhunt_alpha"), m_maxrpm_adc(*this, "adc"), + m_lamplatch(*this, "lamplatch"), + m_spyhunt_lamp(*this, "lamp%u", 0U), m_screen(*this, "screen") { } optional_shared_ptr<uint8_t> m_spyhunt_alpharam; optional_device<adc0844_device> m_maxrpm_adc; + optional_device<cd4099_device> m_lamplatch; + output_finder<8> m_spyhunt_lamp; required_device<screen_device> m_screen; uint8_t m_input_mux; @@ -60,6 +65,7 @@ public: DECLARE_READ8_MEMBER(spyhunt_ip1_r); DECLARE_READ8_MEMBER(spyhunt_ip2_r); DECLARE_WRITE8_MEMBER(spyhunt_op4_w); + template<int n> DECLARE_WRITE_LINE_MEMBER(spyhunt_lamp_w); DECLARE_READ8_MEMBER(turbotag_ip2_r); DECLARE_READ8_MEMBER(turbotag_kludge_r); DECLARE_DRIVER_INIT(crater); |