summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gaelco.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gaelco.h')
-rw-r--r--src/mame/includes/gaelco.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/includes/gaelco.h b/src/mame/includes/gaelco.h
index a87e6a7a33a..91509b861a3 100644
--- a/src/mame/includes/gaelco.h
+++ b/src/mame/includes/gaelco.h
@@ -6,6 +6,7 @@
***************************************************************************/
+#include "machine/74259.h"
#include "machine/gen_latch.h"
class gaelco_state : public driver_device
@@ -18,6 +19,7 @@ public:
m_palette(*this, "palette"),
m_audiocpu(*this, "audiocpu"),
m_soundlatch(*this, "soundlatch"),
+ m_outlatch(*this, "outlatch"),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
m_spriteram(*this, "spriteram"),
@@ -29,6 +31,7 @@ public:
required_device<palette_device> m_palette;
optional_device<cpu_device> m_audiocpu;
optional_device<generic_latch_8_device> m_soundlatch;
+ optional_device<ls259_device> m_outlatch;
/* memory pointers */
required_shared_ptr<uint16_t> m_videoram;
@@ -40,7 +43,11 @@ public:
tilemap_t *m_tilemap[2];
DECLARE_WRITE8_MEMBER(bigkarnk_sound_command_w);
- DECLARE_WRITE8_MEMBER(bigkarnk_coin_w);
+ DECLARE_WRITE8_MEMBER(output_latch_w);
+ DECLARE_WRITE_LINE_MEMBER(coin1_lockout_w);
+ DECLARE_WRITE_LINE_MEMBER(coin2_lockout_w);
+ DECLARE_WRITE_LINE_MEMBER(coin1_counter_w);
+ DECLARE_WRITE_LINE_MEMBER(coin2_counter_w);
DECLARE_WRITE8_MEMBER(OKIM6295_bankswitch_w);
DECLARE_WRITE16_MEMBER(gaelco_vram_encrypted_w);
DECLARE_WRITE16_MEMBER(gaelco_encrypted_w);