summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cbmiec/cmdhd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cbmiec/cmdhd.cpp')
-rw-r--r--src/devices/bus/cbmiec/cmdhd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/cbmiec/cmdhd.cpp b/src/devices/bus/cbmiec/cmdhd.cpp
index 13d8004445b..91d92bddc2a 100644
--- a/src/devices/bus/cbmiec/cmdhd.cpp
+++ b/src/devices/bus/cbmiec/cmdhd.cpp
@@ -60,12 +60,12 @@ const tiny_rom_entry *cmd_hd_device::device_rom_region() const
void cmd_hd_device::mem_map(address_map &map)
{
map(0x0000, 0x7fff).ram();
- map(0x8000, 0xffff).rom().region(M6502_TAG, 0);
- map(0x8000, 0x800f).mirror(0x1f0).w(M6522_1_TAG, FUNC(via6522_device::write));
- map(0x8400, 0x840f).mirror(0x1f0).w(M6522_2_TAG, FUNC(via6522_device::write));
+ map(0x8000, 0x800f).mirror(0x1f0).m(M6522_1_TAG, FUNC(via6522_device::map));
+ map(0x8400, 0x840f).mirror(0x1f0).m(M6522_2_TAG, FUNC(via6522_device::map));
map(0x8800, 0x8803).mirror(0x1fc).w(I8255A_TAG, FUNC(i8255_device::write));
map(0x8c00, 0x8c0f).mirror(0x1f0).w(RTC72421A_TAG, FUNC(rtc72421_device::write));
map(0x8f00, 0x8f00).mirror(0xff).w(FUNC(cmd_hd_device::led_w));
+ map(0x8000, 0xffff).rom().region(M6502_TAG, 0);
}