summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/beaminv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/beaminv.cpp')
-rw-r--r--src/mame/drivers/beaminv.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/beaminv.cpp b/src/mame/drivers/beaminv.cpp
index 04ca90dec71..8ac1f374335 100644
--- a/src/mame/drivers/beaminv.cpp
+++ b/src/mame/drivers/beaminv.cpp
@@ -91,6 +91,8 @@ public:
void create_interrupt_timer();
void start_interrupt_timer();
void beaminv(machine_config &config);
+ void main_io_map(address_map &map);
+ void main_map(address_map &map);
};
@@ -239,7 +241,7 @@ READ8_MEMBER(beaminv_state::controller_r)
*
*************************************/
-static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, beaminv_state )
+ADDRESS_MAP_START(beaminv_state::main_map)
AM_RANGE(0x0000, 0x17ff) AM_ROM
AM_RANGE(0x1800, 0x1fff) AM_RAM
AM_RANGE(0x2400, 0x2400) AM_MIRROR(0x03ff) AM_READ_PORT("DSW")
@@ -257,7 +259,7 @@ ADDRESS_MAP_END
*
*************************************/
-static ADDRESS_MAP_START( main_io_map, AS_IO, 8, beaminv_state )
+ADDRESS_MAP_START(beaminv_state::main_io_map)
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_WRITE(controller_select_w) /* to be confirmed */
ADDRESS_MAP_END