summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/abc1600mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/abc1600mac.cpp')
-rw-r--r--src/mame/machine/abc1600mac.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/machine/abc1600mac.cpp b/src/mame/machine/abc1600mac.cpp
index c586a76d2b9..18591c6428c 100644
--- a/src/mame/machine/abc1600mac.cpp
+++ b/src/mame/machine/abc1600mac.cpp
@@ -57,9 +57,10 @@
DEFINE_DEVICE_TYPE(ABC1600_MAC, abc1600_mac_device, "abc1600mac", "ABC 1600 MAC")
-ADDRESS_MAP_START(abc1600_mac_device::map)
- AM_RANGE(0x00000, 0xfffff) AM_READWRITE(read, write)
-ADDRESS_MAP_END
+void abc1600_mac_device::map(address_map &map)
+{
+ map(0x00000, 0xfffff).rw(this, FUNC(abc1600_mac_device::read), FUNC(abc1600_mac_device::write));
+}
ADDRESS_MAP_START(abc1600_mac_device::program_map)