summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/x2212.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-04-20 18:05:46 +0200
committer Olivier Galibert <galibert@pobox.com>2018-04-20 18:06:10 +0200
commitbba85599d922c4cf0129e0836af5f8048494fe06 (patch)
treea09868aafb5b978b1c12f77fdf67f102a46607d5 /src/devices/machine/x2212.cpp
parent536ae10aff062153a49cab48e1701002de06eb8e (diff)
maps: Finish devices/machine (nw)
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();
+}