summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/fcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/fcc.cpp')
-rw-r--r--src/devices/bus/c64/fcc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/c64/fcc.cpp b/src/devices/bus/c64/fcc.cpp
index aa42c6e0b26..5a792e12db5 100644
--- a/src/devices/bus/c64/fcc.cpp
+++ b/src/devices/bus/c64/fcc.cpp
@@ -64,10 +64,11 @@ const tiny_rom_entry *c64_final_chesscard_device::device_rom_region() const
// ADDRESS_MAP( c64_fcc_map )
//-------------------------------------------------
-ADDRESS_MAP_START(c64_final_chesscard_device::c64_fcc_map)
- AM_RANGE(0x0000, 0x1fff) AM_MIRROR(0x6000) AM_READWRITE(nvram_r, nvram_w)
- AM_RANGE(0x8000, 0xffff) AM_ROM AM_REGION(G65SC02P4_TAG, 0)
-ADDRESS_MAP_END
+void c64_final_chesscard_device::c64_fcc_map(address_map &map)
+{
+ map(0x0000, 0x1fff).mirror(0x6000).rw(this, FUNC(c64_final_chesscard_device::nvram_r), FUNC(c64_final_chesscard_device::nvram_w));
+ map(0x8000, 0xffff).rom().region(G65SC02P4_TAG, 0);
+}
//-------------------------------------------------