summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tickee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tickee.cpp')
-rw-r--r--src/mame/drivers/tickee.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/tickee.cpp b/src/mame/drivers/tickee.cpp
index 3d1f78faa9d..d519b8e4899 100644
--- a/src/mame/drivers/tickee.cpp
+++ b/src/mame/drivers/tickee.cpp
@@ -28,6 +28,7 @@
#include "sound/ay8910.h"
#include "sound/okim6295.h"
#include "machine/nvram.h"
+#include "machine/watchdog.h"
class tickee_state : public driver_device
@@ -493,7 +494,7 @@ static ADDRESS_MAP_START( rapidfir_map, AS_PROGRAM, 16, tickee_state )
AM_RANGE(0xfc000a00, 0xfc000a0f) AM_READ_PORT("IN2")
AM_RANGE(0xfc000b00, 0xfc000b0f) AM_READ_PORT("DSW0")
AM_RANGE(0xfc000c00, 0xfc000c1f) AM_READ_PORT("DSW1")
- AM_RANGE(0xfc000e00, 0xfc000e1f) AM_READ(watchdog_reset16_r)
+ AM_RANGE(0xfc000e00, 0xfc000e1f) AM_DEVREAD("watchdog", watchdog_timer_device, reset16_r)
AM_RANGE(0xfc100000, 0xfc1000ff) AM_MIRROR(0x80000) AM_DEVREADWRITE8("tlc34076", tlc34076_device, read, write, 0x00ff)
AM_RANGE(0xfc200000, 0xfc207fff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xfc300000, 0xfc30000f) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0x00ff)
@@ -802,6 +803,8 @@ static MACHINE_CONFIG_START( rapidfir, tickee_state )
MCFG_MACHINE_RESET_OVERRIDE(tickee_state,rapidfir)
MCFG_NVRAM_ADD_1FILL("nvram")
+ MCFG_WATCHDOG_ADD("watchdog")
+
/* video hardware */
MCFG_TLC34076_ADD("tlc34076", TLC34076_6_BIT)