summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mpu4plasma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mpu4plasma.cpp')
-rw-r--r--src/mame/drivers/mpu4plasma.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/mpu4plasma.cpp b/src/mame/drivers/mpu4plasma.cpp
index 7f447b27e44..746e6744d81 100644
--- a/src/mame/drivers/mpu4plasma.cpp
+++ b/src/mame/drivers/mpu4plasma.cpp
@@ -40,15 +40,16 @@ public:
INPUT_PORTS_EXTERN( mpu4 );
-ADDRESS_MAP_START(mpu4plasma_state::mpu4plasma_map)
- AM_RANGE(0x000000, 0x03ffff) AM_ROM
+void mpu4plasma_state::mpu4plasma_map(address_map &map)
+{
+ map(0x000000, 0x03ffff).rom();
// why does it test this much ram, just sloppy code expecting mirroring?
- AM_RANGE(0x400000, 0x4fffff) AM_RAM AM_SHARE("plasmaram")
+ map(0x400000, 0x4fffff).ram().share("plasmaram");
// comms?
- AM_RANGE(0xffff00, 0xffff01) AM_READ( mpu4plasma_unk_r )
- AM_RANGE(0xffff04, 0xffff05) AM_WRITE( mpu4plasma_unk_w )
-ADDRESS_MAP_END
+ map(0xffff00, 0xffff01).r(this, FUNC(mpu4plasma_state::mpu4plasma_unk_r));
+ map(0xffff04, 0xffff05).w(this, FUNC(mpu4plasma_state::mpu4plasma_unk_w));
+}
uint32_t mpu4plasma_state::screen_update_mpu4plasma(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{