summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/supercpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/supercpu.cpp')
-rw-r--r--src/devices/bus/c64/supercpu.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/c64/supercpu.cpp b/src/devices/bus/c64/supercpu.cpp
index 1d4206b1c7c..035c878a915 100644
--- a/src/devices/bus/c64/supercpu.cpp
+++ b/src/devices/bus/c64/supercpu.cpp
@@ -49,11 +49,12 @@ const tiny_rom_entry *c64_supercpu_device::device_rom_region() const
// ADDRESS_MAP( c64_supercpu_map )
//-------------------------------------------------
-ADDRESS_MAP_START(c64_supercpu_device::c64_supercpu_map)
- AM_RANGE(0x000000, 0x01ffff) AM_RAM AM_SHARE("sram")
- AM_RANGE(0x020000, 0xf7ffff) AM_RAM AM_SHARE("dimm")
- AM_RANGE(0xf80000, 0xf9ffff) AM_MIRROR(0x60000) AM_ROM AM_REGION(G65816_TAG, 0)
-ADDRESS_MAP_END
+void c64_supercpu_device::c64_supercpu_map(address_map &map)
+{
+ map(0x000000, 0x01ffff).ram().share("sram");
+ map(0x020000, 0xf7ffff).ram().share("dimm");
+ map(0xf80000, 0xf9ffff).mirror(0x60000).rom().region(G65816_TAG, 0);
+}
//-------------------------------------------------