summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh2/sh7604_bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh2/sh7604_bus.cpp')
-rw-r--r--src/devices/cpu/sh2/sh7604_bus.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/devices/cpu/sh2/sh7604_bus.cpp b/src/devices/cpu/sh2/sh7604_bus.cpp
index 596172879e4..f4000a46300 100644
--- a/src/devices/cpu/sh2/sh7604_bus.cpp
+++ b/src/devices/cpu/sh2/sh7604_bus.cpp
@@ -93,7 +93,7 @@ WRITE16_MEMBER(sh7604_bus_device::refresh_timer_constant_w)
COMBINE_DATA(&m_rtcor);
}
-static ADDRESS_MAP_START( bus_regs, AS_0, 16, sh7604_bus_device )
+DEVICE_ADDRESS_MAP_START( bus_regs, 16, sh7604_bus_device )
AM_RANGE(0x00, 0x01) AM_READWRITE(bus_control_1_r, bus_control_1_w)
AM_RANGE(0x02, 0x03) AM_READWRITE(bus_control_2_r, bus_control_2_w)
AM_RANGE(0x04, 0x05) AM_READWRITE(wait_control_r, wait_control_w)
@@ -110,17 +110,9 @@ ADDRESS_MAP_END
sh7604_bus_device::sh7604_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, SH7604_BUS, tag, owner, clock)
- , device_memory_interface(mconfig, *this)
- , m_space_config("regs", ENDIANNESS_BIG, 16, 4, 0, nullptr, *ADDRESS_MAP_NAME(bus_regs))
{
}
-
-const address_space_config *sh7604_bus_device::memory_space_config(address_spacenum spacenum) const
-{
- return (spacenum == AS_0) ? &m_space_config : nullptr;
-}
-
//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------