summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/sprint2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/sprint2.h')
-rw-r--r--src/mame/includes/sprint2.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h
index 79a61f3b824..6ea352a1769 100644
--- a/src/mame/includes/sprint2.h
+++ b/src/mame/includes/sprint2.h
@@ -6,6 +6,7 @@
*************************************************************************/
+#include "machine/74259.h"
#include "machine/watchdog.h"
#include "sound/discrete.h"
#include "screen.h"
@@ -33,12 +34,12 @@ public:
m_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
m_watchdog(*this, "watchdog"),
+ m_outlatch(*this, "outlatch"),
m_discrete(*this, "discrete"),
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
m_palette(*this, "palette") { }
- int m_attract;
int m_steering[2];
int m_gear[2];
int m_game;
@@ -57,19 +58,17 @@ public:
DECLARE_WRITE8_MEMBER(sprint2_steering_reset1_w);
DECLARE_WRITE8_MEMBER(sprint2_steering_reset2_w);
DECLARE_WRITE8_MEMBER(sprint2_wram_w);
- DECLARE_WRITE8_MEMBER(sprint2_lamp1_w);
- DECLARE_WRITE8_MEMBER(sprint2_lamp2_w);
- DECLARE_WRITE8_MEMBER(dominos4_lamp3_w);
- DECLARE_WRITE8_MEMBER(dominos4_lamp4_w);
+ DECLARE_WRITE8_MEMBER(output_latch_w);
+ DECLARE_WRITE_LINE_MEMBER(lamp1_w);
+ DECLARE_WRITE_LINE_MEMBER(lamp2_w);
+ DECLARE_WRITE_LINE_MEMBER(lamp3_w);
+ DECLARE_WRITE_LINE_MEMBER(lamp4_w);
DECLARE_READ8_MEMBER(sprint2_collision1_r);
DECLARE_READ8_MEMBER(sprint2_collision2_r);
DECLARE_WRITE8_MEMBER(sprint2_collision_reset1_w);
DECLARE_WRITE8_MEMBER(sprint2_collision_reset2_w);
DECLARE_WRITE8_MEMBER(sprint2_video_ram_w);
- DECLARE_WRITE8_MEMBER(sprint2_attract_w);
DECLARE_WRITE8_MEMBER(sprint2_noise_reset_w);
- DECLARE_WRITE8_MEMBER(sprint2_skid1_w);
- DECLARE_WRITE8_MEMBER(sprint2_skid2_w);
DECLARE_DRIVER_INIT(sprint1);
DECLARE_DRIVER_INIT(sprint2);
DECLARE_DRIVER_INIT(dominos);
@@ -87,6 +86,7 @@ public:
int service_mode();
required_device<cpu_device> m_maincpu;
required_device<watchdog_timer_device> m_watchdog;
+ required_device<f9334_device> m_outlatch;
required_device<discrete_device> m_discrete;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;