summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/igspoker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/igspoker.cpp')
-rw-r--r--src/mame/drivers/igspoker.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mame/drivers/igspoker.cpp b/src/mame/drivers/igspoker.cpp
index 3541a18efc3..71a2b90104b 100644
--- a/src/mame/drivers/igspoker.cpp
+++ b/src/mame/drivers/igspoker.cpp
@@ -145,6 +145,10 @@ public:
void pktetris(machine_config &config);
void cpokerpk(machine_config &config);
void number10(machine_config &config);
+ void cpokerpk_io_map(address_map &map);
+ void igspoker_io_map(address_map &map);
+ void igspoker_prg_map(address_map &map);
+ void number10_io_map(address_map &map);
};
@@ -379,12 +383,12 @@ READ8_MEMBER(igspoker_state::exp_rom_r)
return rom[offset+0x10000];
}
-static ADDRESS_MAP_START( igspoker_prg_map, AS_PROGRAM, 8, igspoker_state )
+ADDRESS_MAP_START(igspoker_state::igspoker_prg_map)
AM_RANGE(0x0000, 0xefff) AM_ROM
AM_RANGE(0xf000, 0xffff) AM_RAM AM_REGION("maincpu", 0xf000)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( igspoker_io_map, AS_IO, 8, igspoker_state )
+ADDRESS_MAP_START(igspoker_state::igspoker_io_map)
AM_RANGE(0x0000, 0xffff) AM_READ(exp_rom_r )
AM_RANGE(0x2000, 0x27ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
AM_RANGE(0x2800, 0x2fff) AM_RAM_DEVWRITE("palette", palette_device, write8_ext) AM_SHARE("palette_ext")
@@ -1136,7 +1140,7 @@ static INPUT_PORTS_START( igs_ncs )
INPUT_PORTS_END
-static ADDRESS_MAP_START( number10_io_map, AS_IO, 8, igspoker_state )
+ADDRESS_MAP_START(igspoker_state::number10_io_map)
AM_RANGE(0x0000, 0xffff) AM_READ(exp_rom_r )
AM_RANGE(0x2000, 0x27ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
AM_RANGE(0x2800, 0x2fff) AM_RAM_DEVWRITE("palette", palette_device, write8_ext) AM_SHARE("palette_ext")
@@ -1159,7 +1163,7 @@ static ADDRESS_MAP_START( number10_io_map, AS_IO, 8, igspoker_state )
AM_RANGE(0x7800, 0x7fff) AM_RAM_WRITE(fg_color_w ) AM_SHARE("fg_color_ram")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( cpokerpk_io_map, AS_IO, 8, igspoker_state )
+ADDRESS_MAP_START(igspoker_state::cpokerpk_io_map)
AM_RANGE(0x0000, 0xffff) AM_READ(exp_rom_r )
AM_RANGE(0x2000, 0x27ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
AM_RANGE(0x2800, 0x2fff) AM_RAM_DEVWRITE("palette", palette_device, write8_ext) AM_SHARE("palette_ext")