summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/riscpc.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/riscpc.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible soon.
Diffstat (limited to 'src/mame/drivers/riscpc.cpp')
-rw-r--r--src/mame/drivers/riscpc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/riscpc.cpp b/src/mame/drivers/riscpc.cpp
index 0f690ddd150..463257d0c42 100644
--- a/src/mame/drivers/riscpc.cpp
+++ b/src/mame/drivers/riscpc.cpp
@@ -73,6 +73,7 @@ public:
void sarpc_j233(machine_config &config);
void a7000(machine_config &config);
void a7000p(machine_config &config);
+ void a7000_mem(address_map &map);
};
@@ -757,7 +758,7 @@ WRITE32_MEMBER( riscpc_state::a7000_iomd_w )
}
}
-static ADDRESS_MAP_START( a7000_mem, AS_PROGRAM, 32, riscpc_state)
+ADDRESS_MAP_START(riscpc_state::a7000_mem)
AM_RANGE(0x00000000, 0x003fffff) AM_MIRROR(0x00800000) AM_ROM AM_REGION("user1", 0)
// AM_RANGE(0x01000000, 0x01ffffff) AM_NOP //expansion ROM
// AM_RANGE(0x02000000, 0x02ffffff) AM_RAM //VRAM