diff options
Diffstat (limited to 'src/mame/drivers/zaxxon.cpp')
-rw-r--r-- | src/mame/drivers/zaxxon.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/zaxxon.cpp b/src/mame/drivers/zaxxon.cpp index be742b79c28..e398aeecd75 100644 --- a/src/mame/drivers/zaxxon.cpp +++ b/src/mame/drivers/zaxxon.cpp @@ -436,7 +436,7 @@ CUSTOM_INPUT_MEMBER(zaxxon_state::zaxxon_coin_r) *************************************/ /* complete memory map derived from schematics */ -static ADDRESS_MAP_START( zaxxon_map, AS_PROGRAM, 8, zaxxon_state ) +ADDRESS_MAP_START(zaxxon_state::zaxxon_map) AM_RANGE(0x0000, 0x5fff) AM_ROM AM_RANGE(0x6000, 0x6fff) AM_RAM AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x1c00) AM_RAM_WRITE(zaxxon_videoram_w) AM_SHARE("videoram") @@ -451,12 +451,12 @@ static ADDRESS_MAP_START( zaxxon_map, AS_PROGRAM, 8, zaxxon_state ) AM_RANGE(0xe0f0, 0xe0f3) AM_MIRROR(0x1f00) AM_SELECT(0x0008) AM_WRITE(zaxxon_control_w) ADDRESS_MAP_END -static ADDRESS_MAP_START( decrypted_opcodes_map, AS_OPCODES, 8, zaxxon_state ) +ADDRESS_MAP_START(zaxxon_state::decrypted_opcodes_map) AM_RANGE(0x0000, 0x5fff) AM_ROM AM_SHARE("decrypted_opcodes") ADDRESS_MAP_END /* derived from Zaxxon, different sound hardware */ -static ADDRESS_MAP_START( ixion_map, AS_PROGRAM, 8, zaxxon_state ) +ADDRESS_MAP_START(zaxxon_state::ixion_map) AM_RANGE(0x0000, 0x5fff) AM_ROM AM_RANGE(0x6000, 0x6fff) AM_RAM AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x1c00) AM_RAM_WRITE(zaxxon_videoram_w) AM_SHARE("videoram") @@ -473,7 +473,7 @@ ADDRESS_MAP_END /* complete memory map derived from schematics */ -static ADDRESS_MAP_START( congo_map, AS_PROGRAM, 8, zaxxon_state ) +ADDRESS_MAP_START(zaxxon_state::congo_map) AM_RANGE(0x0000, 0x7fff) AM_ROM AM_RANGE(0x8000, 0x8fff) AM_RAM AM_RANGE(0xa000, 0xa3ff) AM_MIRROR(0x1800) AM_RAM_WRITE(zaxxon_videoram_w) AM_SHARE("videoram") @@ -492,7 +492,7 @@ ADDRESS_MAP_END /* complete memory map derived from schematics */ -static ADDRESS_MAP_START( congo_sound_map, AS_PROGRAM, 8, zaxxon_state ) +ADDRESS_MAP_START(zaxxon_state::congo_sound_map) AM_RANGE(0x0000, 0x1fff) AM_ROM AM_RANGE(0x4000, 0x47ff) AM_MIRROR(0x1800) AM_RAM AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x1fff) AM_DEVWRITE("sn1", sn76489a_device, write) @@ -959,14 +959,14 @@ MACHINE_CONFIG_END MACHINE_CONFIG_DERIVED(zaxxon_state::szaxxon, zaxxon) MCFG_CPU_MODIFY("maincpu") - MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map) + MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map) MACHINE_CONFIG_END MACHINE_CONFIG_DERIVED(zaxxon_state::szaxxone, zaxxon) MCFG_CPU_REPLACE("maincpu", SEGA_315_5013, MASTER_CLOCK/16) MCFG_CPU_PROGRAM_MAP(zaxxon_map) - MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map) + MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map) MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes") MCFG_SEGACRPT_SET_SIZE(0x6000) MACHINE_CONFIG_END @@ -976,7 +976,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_DERIVED(zaxxon_state::futspye, root) MCFG_CPU_REPLACE("maincpu", SEGA_315_5061, MASTER_CLOCK/16) MCFG_CPU_PROGRAM_MAP(zaxxon_map) - MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map) + MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map) MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes") MCFG_SEGACRPT_SET_SIZE(0x6000) @@ -997,7 +997,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_DERIVED(zaxxon_state::razmataze, root) MCFG_CPU_REPLACE("maincpu", SEGA_315_5098, MASTER_CLOCK/16) MCFG_CPU_PROGRAM_MAP(ixion_map) - MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map) + MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map) MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes") MCFG_SEGACRPT_SET_SIZE(0x6000) @@ -1016,7 +1016,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_DERIVED(zaxxon_state::ixion, razmataze) MCFG_CPU_REPLACE("maincpu", SEGA_315_5013, MASTER_CLOCK/16) MCFG_CPU_PROGRAM_MAP(ixion_map) - MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map) + MCFG_CPU_OPCODES_MAP(decrypted_opcodes_map) MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes") MCFG_SEGACRPT_SET_SIZE(0x6000) |