diff options
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 |
commit | 115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch) | |
tree | f0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/juicebox.cpp | |
parent | f155992daab88ad024cec995428a67108218b51d (diff) |
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/juicebox.cpp')
-rw-r--r-- | src/mame/drivers/juicebox.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/juicebox.cpp b/src/mame/drivers/juicebox.cpp index e4f27c52c56..e09efe19829 100644 --- a/src/mame/drivers/juicebox.cpp +++ b/src/mame/drivers/juicebox.cpp @@ -288,11 +288,12 @@ void juicebox_state::machine_reset() ADDRESS MAPS ***************************************************************************/ -ADDRESS_MAP_START(juicebox_state::juicebox_map) - AM_RANGE(0x00000000, 0x007fffff) AM_ROM - AM_RANGE(0x04000000, 0x04ffffff) AM_READWRITE(juicebox_nand_r, juicebox_nand_w ) - AM_RANGE(0x0c000000, 0x0c1fffff) AM_RAM AM_MIRROR(0x00600000) -ADDRESS_MAP_END +void juicebox_state::juicebox_map(address_map &map) +{ + map(0x00000000, 0x007fffff).rom(); + map(0x04000000, 0x04ffffff).rw(this, FUNC(juicebox_state::juicebox_nand_r), FUNC(juicebox_state::juicebox_nand_w)); + map(0x0c000000, 0x0c1fffff).ram().mirror(0x00600000); +} /*************************************************************************** MACHINE DRIVERS |