diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-04-05 11:22:22 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-04-05 11:22:22 +0000 |
commit | ac4b1dad0908a9a7098f5726560de0bd9f554a49 (patch) | |
tree | 49db1668e6be5614c9acecc7814cc65a13ad453f /src/mame/drivers/tp84.c | |
parent | f51d7a177da1884e51e8dc3ddafcbaf7e3ed6dd8 (diff) |
Moved all drivers to using the audio/watchdog helpers defined in the driver_device base class. (no whatsnew)
Diffstat (limited to 'src/mame/drivers/tp84.c')
-rw-r--r-- | src/mame/drivers/tp84.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/tp84.c b/src/mame/drivers/tp84.c index f470941d6f9..f6cf3db8721 100644 --- a/src/mame/drivers/tp84.c +++ b/src/mame/drivers/tp84.c @@ -126,7 +126,7 @@ WRITE8_MEMBER(tp84_state::tp84_sh_irqtrigger_w) static ADDRESS_MAP_START( tp84_cpu1_map, AS_PROGRAM, 8, tp84_state ) - AM_RANGE(0x2000, 0x2000) AM_WRITE_LEGACY(watchdog_reset_w) + AM_RANGE(0x2000, 0x2000) AM_WRITE(watchdog_reset_w) AM_RANGE(0x2800, 0x2800) AM_READ_PORT("SYSTEM") AM_WRITEONLY AM_BASE(m_palette_bank) AM_RANGE(0x2820, 0x2820) AM_READ_PORT("P1") AM_RANGE(0x2840, 0x2840) AM_READ_PORT("P2") @@ -135,7 +135,7 @@ static ADDRESS_MAP_START( tp84_cpu1_map, AS_PROGRAM, 8, tp84_state ) AM_RANGE(0x3004, 0x3004) AM_WRITEONLY AM_BASE(m_flipscreen_x) AM_RANGE(0x3005, 0x3005) AM_WRITEONLY AM_BASE(m_flipscreen_y) AM_RANGE(0x3800, 0x3800) AM_WRITE(tp84_sh_irqtrigger_w) - AM_RANGE(0x3a00, 0x3a00) AM_WRITE_LEGACY(soundlatch_w) + AM_RANGE(0x3a00, 0x3a00) AM_WRITE(soundlatch_w) AM_RANGE(0x3c00, 0x3c00) AM_WRITEONLY AM_BASE(m_scroll_x) AM_RANGE(0x3e00, 0x3e00) AM_WRITEONLY AM_BASE(m_scroll_y) AM_RANGE(0x4000, 0x43ff) AM_RAM AM_BASE(m_bg_videoram) @@ -152,7 +152,7 @@ static ADDRESS_MAP_START( tp84b_cpu1_map, AS_PROGRAM, 8, tp84_state ) AM_RANGE(0x0800, 0x0bff) AM_RAM AM_BASE(m_bg_colorram) AM_RANGE(0x0c00, 0x0fff) AM_RAM AM_BASE(m_fg_colorram) AM_RANGE(0x1000, 0x17ff) AM_RAM AM_SHARE("share1") - AM_RANGE(0x1800, 0x1800) AM_WRITE_LEGACY(watchdog_reset_w) + AM_RANGE(0x1800, 0x1800) AM_WRITE(watchdog_reset_w) AM_RANGE(0x1a00, 0x1a00) AM_READ_PORT("SYSTEM") AM_WRITEONLY AM_BASE(m_palette_bank) AM_RANGE(0x1a20, 0x1a20) AM_READ_PORT("P1") AM_RANGE(0x1a40, 0x1a40) AM_READ_PORT("P2") @@ -161,7 +161,7 @@ static ADDRESS_MAP_START( tp84b_cpu1_map, AS_PROGRAM, 8, tp84_state ) AM_RANGE(0x1c04, 0x1c04) AM_WRITEONLY AM_BASE(m_flipscreen_x) AM_RANGE(0x1c05, 0x1c05) AM_WRITEONLY AM_BASE(m_flipscreen_y) AM_RANGE(0x1e00, 0x1e00) AM_WRITE(tp84_sh_irqtrigger_w) - AM_RANGE(0x1e80, 0x1e80) AM_WRITE_LEGACY(soundlatch_w) + AM_RANGE(0x1e80, 0x1e80) AM_WRITE(soundlatch_w) AM_RANGE(0x1f00, 0x1f00) AM_WRITEONLY AM_BASE(m_scroll_x) AM_RANGE(0x1f80, 0x1f80) AM_WRITEONLY AM_BASE(m_scroll_y) AM_RANGE(0x8000, 0xffff) AM_ROM @@ -189,7 +189,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( audio_map, AS_PROGRAM, 8, tp84_state ) AM_RANGE(0x0000, 0x3fff) AM_ROM AM_RANGE(0x4000, 0x43ff) AM_RAM - AM_RANGE(0x6000, 0x6000) AM_READ_LEGACY(soundlatch_r) + AM_RANGE(0x6000, 0x6000) AM_READ(soundlatch_r) AM_RANGE(0x8000, 0x8000) AM_READ(tp84_sh_timer_r) AM_RANGE(0xa000, 0xa1ff) AM_WRITE(tp84_filter_w) AM_RANGE(0xc000, 0xc000) AM_WRITENOP |