summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pturn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pturn.cpp')
-rw-r--r--src/mame/drivers/pturn.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp
index 2f7061193e7..b5c5c6bfa6b 100644
--- a/src/mame/drivers/pturn.cpp
+++ b/src/mame/drivers/pturn.cpp
@@ -144,6 +144,8 @@ public:
INTERRUPT_GEN_MEMBER(sub_intgen);
INTERRUPT_GEN_MEMBER(main_intgen);
void pturn(machine_config &config);
+ void main_map(address_map &map);
+ void sub_map(address_map &map);
};
@@ -341,7 +343,7 @@ READ8_MEMBER(pturn_state::custom_r)
}
-static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, pturn_state )
+ADDRESS_MAP_START(pturn_state::main_map)
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0xc000, 0xc7ff) AM_RAM
AM_RANGE(0xc800, 0xcfff) AM_WRITENOP AM_READ(custom_r)
@@ -368,7 +370,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, pturn_state )
ADDRESS_MAP_END
-static ADDRESS_MAP_START( sub_map, AS_PROGRAM, 8, pturn_state )
+ADDRESS_MAP_START(pturn_state::sub_map)
AM_RANGE(0x0000, 0x0fff) AM_ROM
AM_RANGE(0x2000, 0x23ff) AM_RAM
AM_RANGE(0x3000, 0x3000) AM_DEVREAD("soundlatch", generic_latch_8_device, read) AM_WRITE(nmi_sub_enable_w)