summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mb88xx/mb88xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mb88xx/mb88xx.cpp')
-rw-r--r--src/devices/cpu/mb88xx/mb88xx.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/mb88xx/mb88xx.cpp b/src/devices/cpu/mb88xx/mb88xx.cpp
index 1473a3452ae..033f14494ef 100644
--- a/src/devices/cpu/mb88xx/mb88xx.cpp
+++ b/src/devices/cpu/mb88xx/mb88xx.cpp
@@ -77,39 +77,39 @@ DEFINE_DEVICE_TYPE(MB8844, mb8844_cpu_device, "mb8844", "MB8844")
ADDRESS MAPS
***************************************************************************/
-static ADDRESS_MAP_START(program_9bit, AS_PROGRAM, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::program_9bit)
AM_RANGE(0x000, 0x1ff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(program_10bit, AS_PROGRAM, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::program_10bit)
AM_RANGE(0x000, 0x3ff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(program_11bit, AS_PROGRAM, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::program_11bit)
AM_RANGE(0x000, 0x7ff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(data_4bit, AS_DATA, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::data_4bit)
AM_RANGE(0x00, 0x0f) AM_RAM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(data_5bit, AS_DATA, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::data_5bit)
AM_RANGE(0x00, 0x1f) AM_RAM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(data_6bit, AS_DATA, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::data_6bit)
AM_RANGE(0x00, 0x3f) AM_RAM
ADDRESS_MAP_END
-static ADDRESS_MAP_START(data_7bit, AS_DATA, 8, mb88_cpu_device)
+ADDRESS_MAP_START(mb88_cpu_device::data_7bit)
AM_RANGE(0x00, 0x7f) AM_RAM
ADDRESS_MAP_END
mb88_cpu_device::mb88_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int program_width, int data_width)
: cpu_device(mconfig, type, tag, owner, clock)
- , m_program_config("program", ENDIANNESS_BIG, 8, program_width, 0, (program_width == 9) ? ADDRESS_MAP_NAME(program_9bit) : (program_width == 10) ? ADDRESS_MAP_NAME(program_10bit) : ADDRESS_MAP_NAME(program_11bit))
- , m_data_config("data", ENDIANNESS_BIG, 8, data_width, 0, (data_width == 4) ? ADDRESS_MAP_NAME(data_4bit) : (data_width == 5) ? ADDRESS_MAP_NAME(data_5bit) : (data_width == 6) ? ADDRESS_MAP_NAME(data_6bit) : ADDRESS_MAP_NAME(data_7bit))
+ , m_program_config("program", ENDIANNESS_BIG, 8, program_width, 0, (program_width == 9) ? address_map_constructor(FUNC(mb88_cpu_device::program_9bit), this) : (program_width == 10) ? address_map_constructor(FUNC(mb88_cpu_device::program_10bit), this) : address_map_constructor(FUNC(mb88_cpu_device::program_11bit), this))
+ , m_data_config("data", ENDIANNESS_BIG, 8, data_width, 0, (data_width == 4) ? address_map_constructor(FUNC(mb88_cpu_device::data_4bit), this) : (data_width == 5) ? address_map_constructor(FUNC(mb88_cpu_device::data_5bit), this) : (data_width == 6) ? address_map_constructor(FUNC(mb88_cpu_device::data_6bit), this) : address_map_constructor(FUNC(mb88_cpu_device::data_7bit), this))
, m_PLA(nullptr)
, m_read_k(*this)
, m_write_o(*this)