summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thunderx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/thunderx.cpp')
-rw-r--r--src/mame/drivers/thunderx.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/thunderx.cpp b/src/mame/drivers/thunderx.cpp
index 5a17a27a1b1..6e27d353135 100644
--- a/src/mame/drivers/thunderx.cpp
+++ b/src/mame/drivers/thunderx.cpp
@@ -402,7 +402,7 @@ WRITE8_MEMBER(thunderx_state::k052109_051960_w)
/***************************************************************************/
-static ADDRESS_MAP_START( scontra_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::scontra_map)
AM_RANGE(0x0000, 0x3fff) AM_READWRITE(k052109_051960_r, k052109_051960_w) /* video RAM + sprite RAM */
AM_RANGE(0x1f80, 0x1f80) AM_WRITE(scontra_bankswitch_w) /* bankswitch control + coin counters */
@@ -423,38 +423,38 @@ static ADDRESS_MAP_START( scontra_map, AS_PROGRAM, 8, thunderx_state )
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( thunderx_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::thunderx_map)
AM_IMPORT_FROM(scontra_map)
AM_RANGE(0x1f80, 0x1f80) AM_WRITE(thunderx_videobank_w)
AM_RANGE(0x1f98, 0x1f98) AM_READWRITE(_1f98_r, thunderx_1f98_w) /* registers */
ADDRESS_MAP_END
-static ADDRESS_MAP_START( gbusters_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::gbusters_map)
AM_IMPORT_FROM(scontra_map)
AM_RANGE(0x1f80, 0x1f80) AM_WRITE(gbusters_videobank_w)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( scontra_bank5800_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::scontra_bank5800_map)
AM_RANGE(0x0000, 0x07ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
AM_RANGE(0x0800, 0x0fff) AM_RAM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( thunderx_bank5800_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::thunderx_bank5800_map)
AM_RANGE(0x0000, 0x07ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
AM_RANGE(0x0800, 0x0fff) AM_RAM
AM_RANGE(0x1000, 0x17ff) AM_READWRITE(pmc_r, pmc_w) AM_SHARE("pmcram")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( thunderx_sound_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::thunderx_sound_map)
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x8000, 0x87ff) AM_RAM
AM_RANGE(0xa000, 0xa000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( scontra_sound_map, AS_PROGRAM, 8, thunderx_state )
+ADDRESS_MAP_START(thunderx_state::scontra_sound_map)
AM_IMPORT_FROM(thunderx_sound_map)
AM_RANGE(0xb000, 0xb00d) AM_DEVREADWRITE("k007232", k007232_device, read, write)
AM_RANGE(0xf000, 0xf000) AM_WRITE(k007232_bankswitch_w)