diff options
Diffstat (limited to 'src/mame/drivers/megaplay.cpp')
-rw-r--r-- | src/mame/drivers/megaplay.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp index 717cb695384..df6e5e84d83 100644 --- a/src/mame/drivers/megaplay.cpp +++ b/src/mame/drivers/megaplay.cpp @@ -89,6 +89,8 @@ public: uint32_t screen_update_megplay(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); void megaplay(machine_config &config); + void megaplay_bios_io_map(address_map &map); + void megaplay_bios_map(address_map &map); private: uint32_t m_bios_mode; // determines whether ROM banks or Game data is to read from 0x8000-0xffff @@ -585,7 +587,7 @@ WRITE8_MEMBER(mplay_state::game_w) logerror("BIOS bank addr = %X\n", m_bios_bank_addr); } -static ADDRESS_MAP_START( megaplay_bios_map, AS_PROGRAM, 8, mplay_state ) +ADDRESS_MAP_START(mplay_state::megaplay_bios_map) AM_RANGE(0x0000, 0x3fff) AM_ROM AM_RANGE(0x4000, 0x4fff) AM_RAM AM_RANGE(0x5000, 0x5fff) AM_RAM @@ -608,7 +610,7 @@ READ8_MEMBER(mplay_state::vdp1_count_r) return m_vdp1->vcount_read(prg, offset); } -static ADDRESS_MAP_START( megaplay_bios_io_map, AS_IO, 8, mplay_state ) +ADDRESS_MAP_START(mplay_state::megaplay_bios_io_map) ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE(0x7f, 0x7f) AM_DEVWRITE("sn2", sn76496_device, write) |