summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sbowling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sbowling.cpp')
-rw-r--r--src/mame/drivers/sbowling.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/sbowling.cpp b/src/mame/drivers/sbowling.cpp
index c7ad40f32d6..08222af30d2 100644
--- a/src/mame/drivers/sbowling.cpp
+++ b/src/mame/drivers/sbowling.cpp
@@ -88,6 +88,8 @@ public:
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void postload();
void sbowling(machine_config &config);
+ void main_map(address_map &map);
+ void port_map(address_map &map);
};
TILE_GET_INFO_MEMBER(sbowling_state::get_tile_info)
@@ -245,7 +247,7 @@ READ8_MEMBER(sbowling_state::controls_r)
return ioport("TRACKX")->read();
}
-static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, sbowling_state )
+ADDRESS_MAP_START(sbowling_state::main_map)
AM_RANGE(0x0000, 0x2fff) AM_ROM
AM_RANGE(0x8000, 0xbfff) AM_RAM_WRITE(videoram_w) AM_SHARE("videoram")
AM_RANGE(0xf800, 0xf801) AM_DEVWRITE("aysnd", ay8910_device, address_data_w)
@@ -254,7 +256,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, sbowling_state )
ADDRESS_MAP_END
-static ADDRESS_MAP_START( port_map, AS_IO, 8, sbowling_state )
+ADDRESS_MAP_START(sbowling_state::port_map)
AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0") AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
AM_RANGE(0x01, 0x01) AM_READWRITE(controls_r, pix_data_w)
AM_RANGE(0x02, 0x02) AM_READWRITE(pix_data_r, pix_shift_w)