summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/toobin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/toobin.cpp')
-rw-r--r--src/mame/drivers/toobin.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/toobin.cpp b/src/mame/drivers/toobin.cpp
index 8a3bc6d3872..23e884287e5 100644
--- a/src/mame/drivers/toobin.cpp
+++ b/src/mame/drivers/toobin.cpp
@@ -21,6 +21,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/watchdog.h"
#include "machine/atarigen.h"
#include "includes/toobin.h"
@@ -86,7 +87,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, toobin_state )
AM_RANGE(0xc09800, 0xc09fff) AM_MIRROR(0x046000) AM_RAM AM_SHARE("mob")
AM_RANGE(0xc10000, 0xc107ff) AM_MIRROR(0x047800) AM_RAM_WRITE(paletteram_w) AM_SHARE("paletteram")
AM_RANGE(0xff6000, 0xff6001) AM_READNOP /* who knows? read at controls time */
- AM_RANGE(0xff8000, 0xff8001) AM_MIRROR(0x4500fe) AM_WRITE(watchdog_reset16_w)
+ AM_RANGE(0xff8000, 0xff8001) AM_MIRROR(0x4500fe) AM_DEVWRITE("watchdog", watchdog_timer_device, reset16_w)
AM_RANGE(0xff8100, 0xff8101) AM_MIRROR(0x4500fe) AM_DEVWRITE8("jsa", atari_jsa_i_device, main_command_w, 0x00ff)
AM_RANGE(0xff8300, 0xff8301) AM_MIRROR(0x45003e) AM_WRITE(intensity_w)
AM_RANGE(0xff8340, 0xff8341) AM_MIRROR(0x45003e) AM_WRITE(interrupt_scan_w) AM_SHARE("interrupt_scan")
@@ -203,7 +204,8 @@ static MACHINE_CONFIG_START( toobin, toobin_state )
MCFG_ATARI_EEPROM_2804_ADD("eeprom")
- MCFG_WATCHDOG_VBLANK_INIT(8)
+ MCFG_WATCHDOG_ADD("watchdog")
+ MCFG_WATCHDOG_VBLANK_INIT("screen", 8)
/* video hardware */
MCFG_TILEMAP_ADD_STANDARD("playfield", "gfxdecode", 4, toobin_state, get_playfield_tile_info, 8,8, SCAN_ROWS, 128,64)