diff options
Diffstat (limited to 'src/mame/drivers/battlnts.cpp')
-rw-r--r-- | src/mame/drivers/battlnts.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/battlnts.cpp b/src/mame/drivers/battlnts.cpp index e4fa41bac78..b4d00a994d8 100644 --- a/src/mame/drivers/battlnts.cpp +++ b/src/mame/drivers/battlnts.cpp @@ -15,6 +15,7 @@ #include "emu.h" #include "cpu/m6809/hd6309.h" #include "cpu/z80/z80.h" +#include "machine/watchdog.h" #include "sound/3812intf.h" #include "includes/konamipt.h" #include "includes/battlnts.h" @@ -69,7 +70,7 @@ static ADDRESS_MAP_START( battlnts_map, AS_PROGRAM, 8, battlnts_state ) AM_RANGE(0x2e04, 0x2e04) AM_READ_PORT("DSW2") AM_RANGE(0x2e08, 0x2e08) AM_WRITE(battlnts_bankswitch_w) /* bankswitch control */ AM_RANGE(0x2e0c, 0x2e0c) AM_WRITE(battlnts_spritebank_w) /* sprite bank select */ - AM_RANGE(0x2e10, 0x2e10) AM_WRITE(watchdog_reset_w) /* watchdog reset */ + AM_RANGE(0x2e10, 0x2e10) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w) AM_RANGE(0x2e14, 0x2e14) AM_WRITE(soundlatch_byte_w) /* sound code # */ AM_RANGE(0x2e18, 0x2e18) AM_WRITE(battlnts_sh_irqtrigger_w) /* cause interrupt on audio CPU */ AM_RANGE(0x4000, 0x7fff) AM_ROMBANK("rombank") /* banked ROM */ @@ -234,6 +235,7 @@ static MACHINE_CONFIG_START( battlnts, battlnts_state ) MCFG_CPU_ADD("audiocpu", Z80, XTAL_24MHz / 6 /* 3579545? */) MCFG_CPU_PROGRAM_MAP(battlnts_sound_map) + MCFG_WATCHDOG_ADD("watchdog") /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) |