summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/relief.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/relief.cpp')
-rw-r--r--src/mame/drivers/relief.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/relief.cpp b/src/mame/drivers/relief.cpp
index 82915064d71..04c2a9cfae2 100644
--- a/src/mame/drivers/relief.cpp
+++ b/src/mame/drivers/relief.cpp
@@ -21,6 +21,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/watchdog.h"
#include "machine/atarigen.h"
#include "sound/okim6295.h"
#include "sound/2413intf.h"
@@ -130,7 +131,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, relief_state )
AM_RANGE(0x260002, 0x260003) AM_READ_PORT("260002")
AM_RANGE(0x260010, 0x260011) AM_READ(special_port2_r)
AM_RANGE(0x260012, 0x260013) AM_READ_PORT("260012")
- AM_RANGE(0x2a0000, 0x2a0001) AM_WRITE(watchdog_reset16_w)
+ AM_RANGE(0x2a0000, 0x2a0001) AM_DEVWRITE("watchdog", watchdog_timer_device, reset16_w)
AM_RANGE(0x3e0000, 0x3e0fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
AM_RANGE(0x3effc0, 0x3effff) AM_DEVREADWRITE("vad", atari_vad_device, control_read, control_write)
AM_RANGE(0x3f0000, 0x3f1fff) AM_RAM_DEVWRITE("vad", atari_vad_device, playfield2_latched_msb_w) AM_SHARE("vad:playfield2")
@@ -274,6 +275,8 @@ static MACHINE_CONFIG_START( relief, relief_state )
MCFG_ATARI_EEPROM_2816_ADD("eeprom")
+ MCFG_WATCHDOG_ADD("watchdog")
+
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", relief)
MCFG_PALETTE_ADD("palette", 2048)