summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/thoop2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/thoop2.h')
-rw-r--r--src/mame/includes/thoop2.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mame/includes/thoop2.h b/src/mame/includes/thoop2.h
index 9f74d370e6d..390caf7a7f9 100644
--- a/src/mame/includes/thoop2.h
+++ b/src/mame/includes/thoop2.h
@@ -5,6 +5,8 @@
#pragma once
+#include "machine/74259.h"
+
class thoop2_state : public driver_device
{
public:
@@ -14,14 +16,20 @@ public:
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
+ m_outlatch(*this, "outlatch"),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
m_spriteram(*this, "spriteram"),
m_shareram(*this, "shareram")
{ }
- DECLARE_WRITE16_MEMBER(OKIM6295_bankswitch_w);
- DECLARE_WRITE16_MEMBER(coin_w);
+ DECLARE_WRITE8_MEMBER(OKIM6295_bankswitch_w);
+ DECLARE_WRITE8_MEMBER(coin_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_WRITE16_MEMBER(vram_w);
DECLARE_WRITE8_MEMBER(shareram_w);
DECLARE_READ8_MEMBER(shareram_r);
@@ -45,6 +53,7 @@ private:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
+ required_device<ls259_device> m_outlatch;
required_shared_ptr<uint16_t> m_videoram;
required_shared_ptr<uint16_t> m_vregs;