summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/statriv2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/statriv2.cpp')
-rw-r--r--src/mame/drivers/statriv2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp
index 1c63f804059..606a4976a26 100644
--- a/src/mame/drivers/statriv2.cpp
+++ b/src/mame/drivers/statriv2.cpp
@@ -125,6 +125,8 @@ public:
void statriv2(machine_config &config);
void funcsino(machine_config &config);
void statriv2v(machine_config &config);
+ void statriv2_io_map(address_map &map);
+ void statriv2_map(address_map &map);
};
@@ -284,14 +286,14 @@ WRITE8_MEMBER(statriv2_state::ppi_portc_hi_w)
*
*************************************/
-static ADDRESS_MAP_START( statriv2_map, AS_PROGRAM, 8, statriv2_state )
+ADDRESS_MAP_START(statriv2_state::statriv2_map)
AM_RANGE(0x0000, 0x3fff) AM_ROM
AM_RANGE(0x4000, 0x43ff) AM_RAM
AM_RANGE(0x4800, 0x48ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xc800, 0xcfff) AM_RAM_WRITE(statriv2_videoram_w) AM_SHARE("videoram")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( statriv2_io_map, AS_IO, 8, statriv2_state )
+ADDRESS_MAP_START(statriv2_state::statriv2_io_map)
AM_RANGE(0x20, 0x23) AM_DEVREADWRITE("ppi8255", i8255_device, read, write)
AM_RANGE(0x28, 0x2b) AM_READ(question_data_r) AM_WRITEONLY AM_SHARE("question_offset")
AM_RANGE(0xb0, 0xb1) AM_DEVWRITE("aysnd", ay8910_device, address_data_w)