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/hideseek.cpp | |
parent | f155992daab88ad024cec995428a67108218b51d (diff) |
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/hideseek.cpp')
-rw-r--r-- | src/mame/drivers/hideseek.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mame/drivers/hideseek.cpp b/src/mame/drivers/hideseek.cpp index e3b6fec4248..62794511dfd 100644 --- a/src/mame/drivers/hideseek.cpp +++ b/src/mame/drivers/hideseek.cpp @@ -63,16 +63,17 @@ uint32_t hideseek_state::screen_update_hideseek(screen_device &screen, bitmap_in return 0; } -ADDRESS_MAP_START(hideseek_state::mem_map) - AM_RANGE(0x00000000, 0x0003ffff) AM_ROM // On-chip ROM - AM_RANGE(0x00200000, 0x0023ffff) AM_RAM // CS0 - AM_RANGE(0x00400000, 0x005fffff) AM_ROM AM_REGION("prg", 0) // CS1 +void hideseek_state::mem_map(address_map &map) +{ + map(0x00000000, 0x0003ffff).rom(); // On-chip ROM + map(0x00200000, 0x0023ffff).ram(); // CS0 + map(0x00400000, 0x005fffff).rom().region("prg", 0); // CS1 // CS2 - CS3 - AM_RANGE(0x01000000, 0x01ffffff) AM_RAM // DRAM - AM_RANGE(0xffff8000, 0xffff87ff) AM_RAM // HD64F7045F28 i/os - AM_RANGE(0xfffff000, 0xffffffff) AM_RAM // on-chip RAM + map(0x01000000, 0x01ffffff).ram(); // DRAM + map(0xffff8000, 0xffff87ff).ram(); // HD64F7045F28 i/os + map(0xfffff000, 0xffffffff).ram(); // on-chip RAM // AM_RANGE(0x06000000, 0x07ffffff) AM_ROM AM_REGION("blit_data", 0) -ADDRESS_MAP_END +} |