diff options
author | 2018-03-13 07:36:43 +0100 | |
---|---|---|
committer | 2018-03-14 14:07:14 +0100 | |
commit | 115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch) | |
tree | f0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/m6805evs.cpp | |
parent | f155992daab88ad024cec995428a67108218b51d (diff) |
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/m6805evs.cpp')
-rw-r--r-- | src/mame/drivers/m6805evs.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mame/drivers/m6805evs.cpp b/src/mame/drivers/m6805evs.cpp index 4af4969fbbc..d298837588b 100644 --- a/src/mame/drivers/m6805evs.cpp +++ b/src/mame/drivers/m6805evs.cpp @@ -81,17 +81,18 @@ private: }; -ADDRESS_MAP_START(m6805evs_state::mem_map) - ADDRESS_MAP_GLOBAL_MASK(0x1fff) - ADDRESS_MAP_UNMAP_HIGH +void m6805evs_state::mem_map(address_map &map) +{ + map.global_mask(0x1fff); + map.unmap_value_high(); // AM_RANGE(0x0000, 0x001f) I/O registers live here - AM_RANGE(0x0020, 0x004f) AM_ROM AM_REGION("eprom", 0x0020) - AM_RANGE(0x0080, 0x00ff) AM_RAM - AM_RANGE(0x0100, 0x0900) AM_ROM AM_REGION("eprom", 0x0100) + map(0x0020, 0x004f).rom().region("eprom", 0x0020); + map(0x0080, 0x00ff).ram(); + map(0x0100, 0x0900).rom().region("eprom", 0x0100); // AM_RANGE(0x1f00, 0x1fef) bootloader ROM lives here - AM_RANGE(0x1ff8, 0x1fff) AM_ROM AM_REGION("eprom", 0x1ff0) -ADDRESS_MAP_END + map(0x1ff8, 0x1fff).rom().region("eprom", 0x1ff0); +} static INPUT_PORTS_START( m6805evs ) INPUT_PORTS_END |