summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vindictr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vindictr.cpp')
-rw-r--r--src/mame/drivers/vindictr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/vindictr.cpp b/src/mame/drivers/vindictr.cpp
index be840d5bd59..a7b07ff57ab 100644
--- a/src/mame/drivers/vindictr.cpp
+++ b/src/mame/drivers/vindictr.cpp
@@ -21,6 +21,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/watchdog.h"
#include "includes/vindictr.h"
@@ -77,7 +78,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, vindictr_state )
AM_RANGE(0x260010, 0x26001f) AM_READ(port1_r)
AM_RANGE(0x260020, 0x26002f) AM_READ_PORT("260020")
AM_RANGE(0x260030, 0x260031) AM_DEVREAD8("jsa", atari_jsa_i_device, main_response_r, 0x00ff)
- AM_RANGE(0x2e0000, 0x2e0001) AM_WRITE(watchdog_reset16_w)
+ AM_RANGE(0x2e0000, 0x2e0001) AM_DEVWRITE("watchdog", watchdog_timer_device, reset16_w)
AM_RANGE(0x360000, 0x360001) AM_WRITE(scanline_int_ack_w)
AM_RANGE(0x360010, 0x360011) AM_WRITENOP
AM_RANGE(0x360020, 0x360021) AM_DEVWRITE("jsa", atari_jsa_i_device, sound_reset_w)
@@ -188,6 +189,8 @@ static MACHINE_CONFIG_START( vindictr, vindictr_state )
MCFG_ATARI_EEPROM_2804_ADD("eeprom")
+ MCFG_WATCHDOG_ADD("watchdog")
+
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", vindictr)
MCFG_PALETTE_ADD("palette", 2048*8)