summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/x2212.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/x2212.cpp')
-rw-r--r--src/devices/machine/x2212.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/machine/x2212.cpp b/src/devices/machine/x2212.cpp
index 4d3327827ff..f02b34f4cca 100644
--- a/src/devices/machine/x2212.cpp
+++ b/src/devices/machine/x2212.cpp
@@ -16,13 +16,15 @@
// GLOBAL VARIABLES
//**************************************************************************
-ADDRESS_MAP_START(x2212_device::x2212_sram_map)
- AM_RANGE(0x0000, 0x00ff) AM_RAM
-ADDRESS_MAP_END
+void x2212_device::x2212_sram_map(address_map &map)
+{
+ map(0x0000, 0x00ff).ram();
+}
-ADDRESS_MAP_START(x2212_device::x2212_e2prom_map)
- AM_RANGE(0x0000, 0x00ff) AM_RAM
-ADDRESS_MAP_END
+void x2212_device::x2212_e2prom_map(address_map &map)
+{
+ map(0x0000, 0x00ff).ram();
+}