summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/supbtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/supbtime.cpp')
-rw-r--r--src/mame/drivers/supbtime.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mame/drivers/supbtime.cpp b/src/mame/drivers/supbtime.cpp
index 5a6937d4b39..d7c6141c19d 100644
--- a/src/mame/drivers/supbtime.cpp
+++ b/src/mame/drivers/supbtime.cpp
@@ -98,6 +98,10 @@ public:
void chinatwn(machine_config &config);
void supbtime(machine_config &config);
void tumblep(machine_config &config);
+ void chinatwn_map(address_map &map);
+ void sound_map(address_map &map);
+ void supbtime_map(address_map &map);
+ void tumblep_map(address_map &map);
private:
required_shared_ptr<uint16_t> m_spriteram;
required_shared_ptr<uint16_t> m_pf1_rowscroll;
@@ -112,7 +116,7 @@ private:
// ADDRESS MAPS
//**************************************************************************
-static ADDRESS_MAP_START( supbtime_map, AS_PROGRAM, 16, supbtime_state )
+ADDRESS_MAP_START(supbtime_state::supbtime_map)
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x100000, 0x103fff) AM_RAM
AM_RANGE(0x104000, 0x11ffff) AM_WRITENOP // Nothing there
@@ -132,7 +136,7 @@ static ADDRESS_MAP_START( supbtime_map, AS_PROGRAM, 16, supbtime_state )
AM_RANGE(0x342000, 0x3427ff) AM_RAM AM_SHARE("pf2_rowscroll")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( chinatwn_map, AS_PROGRAM, 16, supbtime_state )
+ADDRESS_MAP_START(supbtime_state::chinatwn_map)
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x100000, 0x100001) AM_DEVWRITE8("soundlatch", generic_latch_8_device, write, 0x00ff)
AM_RANGE(0x120000, 0x1207ff) AM_RAM AM_SHARE("spriteram")
@@ -150,7 +154,7 @@ static ADDRESS_MAP_START( chinatwn_map, AS_PROGRAM, 16, supbtime_state )
AM_RANGE(0x342000, 0x3427ff) AM_RAM AM_SHARE("pf2_rowscroll") // unused
ADDRESS_MAP_END
-static ADDRESS_MAP_START( tumblep_map, AS_PROGRAM, 16, supbtime_state )
+ADDRESS_MAP_START(supbtime_state::tumblep_map)
#if TUMBLEP_HACK
AM_RANGE(0x000000, 0x07ffff) AM_WRITEONLY // To write levels modifications
#endif
@@ -172,7 +176,7 @@ static ADDRESS_MAP_START( tumblep_map, AS_PROGRAM, 16, supbtime_state )
ADDRESS_MAP_END
// Physical memory map (21 bits)
-static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, supbtime_state )
+ADDRESS_MAP_START(supbtime_state::sound_map)
ADDRESS_MAP_GLOBAL_MASK(0x1fffff)
AM_RANGE(0x000000, 0x00ffff) AM_ROM
AM_RANGE(0x100000, 0x100001) AM_NOP // YM2203 - this board doesn't have one