diff options
Diffstat (limited to 'src/mame/drivers/tehkanwc.cpp')
-rw-r--r-- | src/mame/drivers/tehkanwc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tehkanwc.cpp b/src/mame/drivers/tehkanwc.cpp index d0307ad280f..f800dfcf999 100644 --- a/src/mame/drivers/tehkanwc.cpp +++ b/src/mame/drivers/tehkanwc.cpp @@ -229,7 +229,7 @@ WRITE_LINE_MEMBER(tehkanwc_state::adpcm_int) -static ADDRESS_MAP_START( main_mem, AS_PROGRAM, 8, tehkanwc_state ) +ADDRESS_MAP_START(tehkanwc_state::main_mem) AM_RANGE(0x0000, 0xbfff) AM_ROM AM_RANGE(0xc000, 0xc7ff) AM_RAM AM_RANGE(0xc800, 0xcfff) AM_RAM AM_SHARE("share1") @@ -255,7 +255,7 @@ static ADDRESS_MAP_START( main_mem, AS_PROGRAM, 8, tehkanwc_state ) AM_RANGE(0xf870, 0xf870) AM_READ_PORT("DSW1") AM_WRITE(flipscreen_y_w) ADDRESS_MAP_END -static ADDRESS_MAP_START( sub_mem, AS_PROGRAM, 8, tehkanwc_state ) +ADDRESS_MAP_START(tehkanwc_state::sub_mem) AM_RANGE(0x0000, 0x7fff) AM_ROM AM_RANGE(0x8000, 0xc7ff) AM_RAM AM_RANGE(0xc800, 0xcfff) AM_RAM AM_SHARE("share1") @@ -270,7 +270,7 @@ static ADDRESS_MAP_START( sub_mem, AS_PROGRAM, 8, tehkanwc_state ) AM_RANGE(0xf860, 0xf860) AM_DEVREAD("watchdog", watchdog_timer_device, reset_r) ADDRESS_MAP_END -static ADDRESS_MAP_START( sound_mem, AS_PROGRAM, 8, tehkanwc_state ) +ADDRESS_MAP_START(tehkanwc_state::sound_mem) AM_RANGE(0x0000, 0x3fff) AM_ROM AM_RANGE(0x4000, 0x47ff) AM_RAM AM_RANGE(0x8001, 0x8001) AM_WRITE(msm_reset_w)/* MSM51xx reset */ @@ -279,7 +279,7 @@ static ADDRESS_MAP_START( sound_mem, AS_PROGRAM, 8, tehkanwc_state ) AM_RANGE(0xc000, 0xc000) AM_DEVREAD("soundlatch", generic_latch_8_device, read) AM_WRITE(sound_answer_w) ADDRESS_MAP_END -static ADDRESS_MAP_START( sound_port, AS_IO, 8, tehkanwc_state ) +ADDRESS_MAP_START(tehkanwc_state::sound_port) ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE(0x00, 0x00) AM_DEVREAD("ay1", ay8910_device, data_r) AM_RANGE(0x00, 0x01) AM_DEVWRITE("ay1", ay8910_device, data_address_w) |