summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/turbo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/turbo.cpp')
-rw-r--r--src/mame/drivers/turbo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/turbo.cpp b/src/mame/drivers/turbo.cpp
index 8770bb50585..e9db173e4c4 100644
--- a/src/mame/drivers/turbo.cpp
+++ b/src/mame/drivers/turbo.cpp
@@ -499,7 +499,7 @@ WRITE8_MEMBER(turbo_state::spriteram_w)
*
*************************************/
-static ADDRESS_MAP_START( turbo_map, AS_PROGRAM, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::turbo_map)
AM_RANGE(0x0000, 0x5fff) AM_ROM
AM_RANGE(0xa000, 0xa0ff) AM_MIRROR(0x0700) AM_READWRITE(spriteram_r, spriteram_w)
AM_RANGE(0xa800, 0xa807) AM_MIRROR(0x07f8) AM_DEVWRITE("outlatch", ls259_device, write_d0)
@@ -525,7 +525,7 @@ ADDRESS_MAP_END
*
*************************************/
-static ADDRESS_MAP_START( subroc3d_map, AS_PROGRAM, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::subroc3d_map)
AM_RANGE(0x0000, 0x9fff) AM_ROM
AM_RANGE(0xa000, 0xa3ff) AM_RAM AM_SHARE("spritepos") // CONT RAM
AM_RANGE(0xa400, 0xa7ff) AM_RAM AM_SHARE("spriteram") // CONT RAM
@@ -549,7 +549,7 @@ ADDRESS_MAP_END
*
*************************************/
-static ADDRESS_MAP_START( buckrog_map, AS_PROGRAM, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::buckrog_map)
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0xc000, 0xc7ff) AM_RAM_WRITE(turbo_videoram_w) AM_SHARE("videoram") // FIX PAGE
AM_RANGE(0xc800, 0xc803) AM_MIRROR(0x07fc) AM_DEVREAD("i8255_0", i8255_device, read) AM_WRITE(buckrog_i8255_0_w) // 8255
@@ -565,18 +565,18 @@ static ADDRESS_MAP_START( buckrog_map, AS_PROGRAM, 8, turbo_state )
AM_RANGE(0xf800, 0xffff) AM_RAM // SCRATCH
ADDRESS_MAP_END
-static ADDRESS_MAP_START( decrypted_opcodes_map, AS_OPCODES, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::decrypted_opcodes_map)
AM_RANGE(0x0000, 0x7fff) AM_ROM AM_SHARE("decrypted_opcodes")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( buckrog_cpu2_map, AS_PROGRAM, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::buckrog_cpu2_map)
AM_RANGE(0x0000, 0x1fff) AM_ROM
AM_RANGE(0x0000, 0xdfff) AM_WRITE(buckrog_bitmap_w)
AM_RANGE(0xe000, 0xe7ff) AM_MIRROR(0x1800) AM_RAM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( buckrog_cpu2_portmap, AS_IO, 8, turbo_state )
+ADDRESS_MAP_START(turbo_state::buckrog_cpu2_portmap)
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0xff) AM_READ(buckrog_cpu2_command_r)
ADDRESS_MAP_END
@@ -937,7 +937,7 @@ MACHINE_CONFIG_START(turbo_state::buckrog)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK/4)
MCFG_CPU_PROGRAM_MAP(buckrog_map)
- MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map)
+ MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", turbo_state, irq0_line_hold)
MCFG_CPU_ADD("subcpu", Z80, MASTER_CLOCK/4)
@@ -990,7 +990,7 @@ MACHINE_CONFIG_DERIVED(turbo_state::buckroge, buckrog)
/* basic machine hardware */
MCFG_CPU_REPLACE("maincpu", SEGA_315_5014, MASTER_CLOCK/4)
MCFG_CPU_PROGRAM_MAP(buckrog_map)
- MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map)
+ MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", turbo_state, irq0_line_hold)
MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
MACHINE_CONFIG_END