summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/amico2k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/amico2k.cpp')
-rw-r--r--src/mame/drivers/amico2k.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mame/drivers/amico2k.cpp b/src/mame/drivers/amico2k.cpp
index 78a1bd35aac..acdf4189bf7 100644
--- a/src/mame/drivers/amico2k.cpp
+++ b/src/mame/drivers/amico2k.cpp
@@ -62,14 +62,15 @@ public:
};
-ADDRESS_MAP_START(amico2k_state::amico2k_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x03ff) AM_RAM
+void amico2k_state::amico2k_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x03ff).ram();
// AM_RANGE(0x0400, 0x07ff) AM_RAM // optional expansion RAM
- AM_RANGE(0xfb00, 0xfcff) AM_ROM
- AM_RANGE(0xfd00, 0xfd03) AM_DEVREADWRITE("i8255", i8255_device, read, write)
- AM_RANGE(0xfe00, 0xffff) AM_ROM
-ADDRESS_MAP_END
+ map(0xfb00, 0xfcff).rom();
+ map(0xfd00, 0xfd03).rw("i8255", FUNC(i8255_device::read), FUNC(i8255_device::write));
+ map(0xfe00, 0xffff).rom();
+}
/* Input ports */
static INPUT_PORTS_START( amico2k )