summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xybots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xybots.cpp')
-rw-r--r--src/mame/drivers/xybots.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/xybots.cpp b/src/mame/drivers/xybots.cpp
index 59641033576..6c265b59611 100644
--- a/src/mame/drivers/xybots.cpp
+++ b/src/mame/drivers/xybots.cpp
@@ -21,6 +21,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/watchdog.h"
#include "machine/atarigen.h"
#include "includes/xybots.h"
@@ -84,7 +85,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, xybots_state )
AM_RANGE(0xffe200, 0xffe2ff) AM_MIRROR(0x7f8000) AM_READ(special_port1_r)
AM_RANGE(0xffe800, 0xffe8ff) AM_MIRROR(0x7f8000) AM_DEVWRITE("eeprom", atari_eeprom_device, unlock_write)
AM_RANGE(0xffe900, 0xffe9ff) AM_MIRROR(0x7f8000) AM_DEVWRITE8("jsa", atari_jsa_i_device, main_command_w, 0x00ff)
- AM_RANGE(0xffea00, 0xffeaff) AM_MIRROR(0x7f8000) AM_WRITE(watchdog_reset16_w)
+ AM_RANGE(0xffea00, 0xffeaff) AM_MIRROR(0x7f8000) AM_DEVWRITE("watchdog", watchdog_timer_device, reset16_w)
AM_RANGE(0xffeb00, 0xffebff) AM_MIRROR(0x7f8000) AM_WRITE(video_int_ack_w)
AM_RANGE(0xffee00, 0xffeeff) AM_MIRROR(0x7f8000) AM_DEVWRITE("jsa", atari_jsa_i_device, sound_reset_w)
ADDRESS_MAP_END
@@ -190,6 +191,8 @@ static MACHINE_CONFIG_START( xybots, xybots_state )
MCFG_ATARI_EEPROM_2804_ADD("eeprom")
+ MCFG_WATCHDOG_ADD("watchdog")
+
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", xybots)