summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ironhors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ironhors.cpp')
-rw-r--r--src/mame/drivers/ironhors.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ironhors.cpp b/src/mame/drivers/ironhors.cpp
index 268ca757210..083d386f48a 100644
--- a/src/mame/drivers/ironhors.cpp
+++ b/src/mame/drivers/ironhors.cpp
@@ -59,7 +59,7 @@ WRITE8_MEMBER(ironhors_state::filter_w)
*
*************************************/
-static ADDRESS_MAP_START( master_map, AS_PROGRAM, 8, ironhors_state )
+ADDRESS_MAP_START(ironhors_state::master_map)
AM_RANGE(0x0000, 0x0002) AM_RAM
AM_RANGE(0x0003, 0x0003) AM_RAM_WRITE(charbank_w)
AM_RANGE(0x0004, 0x0004) AM_RAM AM_SHARE("int_enable")
@@ -87,18 +87,18 @@ static ADDRESS_MAP_START( master_map, AS_PROGRAM, 8, ironhors_state )
AM_RANGE(0x4000, 0xffff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( slave_map, AS_PROGRAM, 8, ironhors_state )
+ADDRESS_MAP_START(ironhors_state::slave_map)
AM_RANGE(0x0000, 0x3fff) AM_ROM
AM_RANGE(0x4000, 0x43ff) AM_RAM
AM_RANGE(0x8000, 0x8000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( slave_io_map, AS_IO, 8, ironhors_state )
+ADDRESS_MAP_START(ironhors_state::slave_io_map)
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x01) AM_DEVREADWRITE("ym2203", ym2203_device, read, write)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( farwest_master_map, AS_PROGRAM, 8, ironhors_state )
+ADDRESS_MAP_START(ironhors_state::farwest_master_map)
AM_RANGE(0x0000, 0x1bff) AM_ROM
AM_RANGE(0x0000, 0x0002) AM_RAM
@@ -133,7 +133,7 @@ static ADDRESS_MAP_START( farwest_master_map, AS_PROGRAM, 8, ironhors_state )
AM_RANGE(0x4000, 0xffff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( farwest_slave_map, AS_PROGRAM, 8, ironhors_state )
+ADDRESS_MAP_START(ironhors_state::farwest_slave_map)
AM_RANGE(0x0000, 0x3fff) AM_ROM
AM_RANGE(0x4000, 0x43ff) AM_RAM
AM_RANGE(0x8000, 0x8001) AM_DEVREADWRITE("ym2203", ym2203_device, read, write)
@@ -449,7 +449,7 @@ MACHINE_CONFIG_DERIVED(ironhors_state::farwest, ironhors)
MCFG_CPU_MODIFY("soundcpu")
MCFG_CPU_PROGRAM_MAP(farwest_slave_map)
- MCFG_CPU_IO_MAP(0)
+ MCFG_DEVICE_REMOVE_ADDRESS_MAP(AS_IO)
MCFG_GFXDECODE_MODIFY("gfxdecode", farwest)
MCFG_VIDEO_START_OVERRIDE(ironhors_state,farwest)