summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/melps4/m58846.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/melps4/m58846.cpp')
-rw-r--r--src/devices/cpu/melps4/m58846.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/cpu/melps4/m58846.cpp b/src/devices/cpu/melps4/m58846.cpp
index 69f51eb3451..436dd312512 100644
--- a/src/devices/cpu/melps4/m58846.cpp
+++ b/src/devices/cpu/melps4/m58846.cpp
@@ -14,14 +14,16 @@ DEFINE_DEVICE_TYPE(M58846, m58846_device, "m58846", "Mitsubishi M58846")
// internal memory maps
-ADDRESS_MAP_START(m58846_device::program_2kx9)
- AM_RANGE(0x0000, 0x07ff) AM_ROM
-ADDRESS_MAP_END
+void m58846_device::program_2kx9(address_map &map)
+{
+ map(0x0000, 0x07ff).rom();
+}
-ADDRESS_MAP_START(m58846_device::data_128x4)
- AM_RANGE(0x00, 0x7f) AM_RAM
-ADDRESS_MAP_END
+void m58846_device::data_128x4(address_map &map)
+{
+ map(0x00, 0x7f).ram();
+}
// device definitions