summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/anzterm.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committer Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/anzterm.cpp
parentf155992daab88ad024cec995428a67108218b51d (diff)
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/anzterm.cpp')
-rw-r--r--src/mame/drivers/anzterm.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/anzterm.cpp b/src/mame/drivers/anzterm.cpp
index 6e588e1f21b..07903d28fbf 100644
--- a/src/mame/drivers/anzterm.cpp
+++ b/src/mame/drivers/anzterm.cpp
@@ -401,13 +401,14 @@ GFXDECODE_START( anzterm )
GFXDECODE_END
-ADDRESS_MAP_START(anzterm_state::anzterm)
+void anzterm_state::anzterm(address_map &map)
+{
// There are two battery-backed 2kB SRAM chips with a 4kb SRAM chip for parity
// There are two 64kB DRAM banks (with parity)
// There's also a whole lot of ROM
- AM_RANGE(0x0000, 0x3fff) AM_RAM
- AM_RANGE(0xe000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+ map(0x0000, 0x3fff).ram();
+ map(0xe000, 0xffff).rom();
+}
MACHINE_CONFIG_START(anzterm_state::anzterm)