summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/mc1502_fdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/mc1502_fdc.cpp')
-rw-r--r--src/devices/bus/isa/mc1502_fdc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/isa/mc1502_fdc.cpp b/src/devices/bus/isa/mc1502_fdc.cpp
index 76f23cd74b6..265ad34b140 100644
--- a/src/devices/bus/isa/mc1502_fdc.cpp
+++ b/src/devices/bus/isa/mc1502_fdc.cpp
@@ -217,14 +217,14 @@ void mc1502_fdc_device::device_start()
// BIOS 5.0-5.2x
m_isa->install_device(0x010c, 0x010f,
- READ8_DEVICE_DELEGATE(m_fdc, fd1793_device, read),
- WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_device, write) );
+ read8sm_delegate(FUNC(fd1793_device::read), m_fdc.target()),
+ write8sm_delegate(FUNC(fd1793_device::write), m_fdc.target()));
m_isa->install_device(0x0100, 0x010b, read8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_r), this ), write8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_w), this ) );
// BIOS 5.3x
m_isa->install_device(0x0048, 0x004b,
- READ8_DEVICE_DELEGATE(m_fdc, fd1793_device, read),
- WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_device, write) );
+ read8sm_delegate(FUNC(fd1793_device::read), m_fdc.target()),
+ write8sm_delegate(FUNC(fd1793_device::write), m_fdc.target()));
m_isa->install_device(0x004c, 0x004f, read8_delegate( FUNC(mc1502_fdc_device::mc1502_fdcv2_r), this ), write8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_w), this ) );
motor_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mc1502_fdc_device::motor_callback),this));