summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/go2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/go2000.cpp')
-rw-r--r--src/mame/drivers/go2000.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/go2000.cpp b/src/mame/drivers/go2000.cpp
index cf5cb9029b9..f26ac2a6adb 100644
--- a/src/mame/drivers/go2000.cpp
+++ b/src/mame/drivers/go2000.cpp
@@ -73,6 +73,9 @@ public:
virtual void video_start() override;
uint32_t screen_update_go2000(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void go2000(machine_config &config);
+ void go2000_map(address_map &map);
+ void go2000_sound_io(address_map &map);
+ void go2000_sound_map(address_map &map);
};
@@ -82,7 +85,7 @@ WRITE16_MEMBER(go2000_state::sound_cmd_w)
m_soundcpu->set_input_line(0, HOLD_LINE);
}
-static ADDRESS_MAP_START( go2000_map, AS_PROGRAM, 16, go2000_state )
+ADDRESS_MAP_START(go2000_state::go2000_map)
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x200000, 0x203fff) AM_RAM
AM_RANGE(0x600000, 0x60ffff) AM_RAM AM_SHARE("videoram")
@@ -101,12 +104,12 @@ WRITE8_MEMBER(go2000_state::go2000_pcm_1_bankswitch_w)
membank("bank1")->set_entry(data & 0x07);
}
-static ADDRESS_MAP_START( go2000_sound_map, AS_PROGRAM, 8, go2000_state )
+ADDRESS_MAP_START(go2000_state::go2000_sound_map)
AM_RANGE(0x0000, 0x03ff) AM_ROM
AM_RANGE(0x0400, 0xffff) AM_ROMBANK("bank1")
ADDRESS_MAP_END
-static ADDRESS_MAP_START( go2000_sound_io, AS_IO, 8, go2000_state )
+ADDRESS_MAP_START(go2000_state::go2000_sound_io)
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
AM_RANGE(0x00, 0x00) AM_DEVWRITE("dac", dac_byte_interface, write)