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/inteladv.cpp | |
parent | f155992daab88ad024cec995428a67108218b51d (diff) |
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/inteladv.cpp')
-rw-r--r-- | src/mame/drivers/inteladv.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/inteladv.cpp b/src/mame/drivers/inteladv.cpp index 05b57d758ff..98988c8bfe0 100644 --- a/src/mame/drivers/inteladv.cpp +++ b/src/mame/drivers/inteladv.cpp @@ -60,12 +60,13 @@ uint32_t inteladv_state::screen_update_inteladv(screen_device &screen, bitmap_in return 0; } -ADDRESS_MAP_START(inteladv_state::inteladv_main) - AM_RANGE(0x0000, 0x01ff) AM_RAM // zero page and stack - AM_RANGE(0x4000, 0x5fff) AM_ROM AM_REGION("maincpu", 0x0000) // boot code at 4000 - AM_RANGE(0x8000, 0x8fff) AM_ROM AM_REGION("maincpu", 0x8000) // fixed ROM region? - AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION("maincpu", 0x3000) // boot and other vectors at 3FFx -ADDRESS_MAP_END +void inteladv_state::inteladv_main(address_map &map) +{ + map(0x0000, 0x01ff).ram(); // zero page and stack + map(0x4000, 0x5fff).rom().region("maincpu", 0x0000); // boot code at 4000 + map(0x8000, 0x8fff).rom().region("maincpu", 0x8000); // fixed ROM region? + map(0xf000, 0xffff).rom().region("maincpu", 0x3000); // boot and other vectors at 3FFx +} static INPUT_PORTS_START( inteladv ) INPUT_PORTS_END |