diff options
Diffstat (limited to 'src/devices/cpu/lc8670/lc8670.cpp')
-rw-r--r-- | src/devices/cpu/lc8670/lc8670.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/cpu/lc8670/lc8670.cpp b/src/devices/cpu/lc8670/lc8670.cpp index 3d6db33c030..74b8b15c8f0 100644 --- a/src/devices/cpu/lc8670/lc8670.cpp +++ b/src/devices/cpu/lc8670/lc8670.cpp @@ -156,11 +156,12 @@ const uint16_t lc8670_cpu_device::s_irq_vectors[] = // Internal memory map //************************************************************************** -ADDRESS_MAP_START(lc8670_cpu_device::lc8670_internal_map) - AM_RANGE(0x000, 0x0ff) AM_READWRITE(mram_r, mram_w) - AM_RANGE(0x100, 0x17f) AM_READWRITE(regs_r, regs_w) - AM_RANGE(0x180, 0x1ff) AM_READWRITE(xram_r, xram_w) -ADDRESS_MAP_END +void lc8670_cpu_device::lc8670_internal_map(address_map &map) +{ + map(0x000, 0x0ff).rw(this, FUNC(lc8670_cpu_device::mram_r), FUNC(lc8670_cpu_device::mram_w)); + map(0x100, 0x17f).rw(this, FUNC(lc8670_cpu_device::regs_r), FUNC(lc8670_cpu_device::regs_w)); + map(0x180, 0x1ff).rw(this, FUNC(lc8670_cpu_device::xram_r), FUNC(lc8670_cpu_device::xram_w)); +} //************************************************************************** |