summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hexbus/hx5102.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hexbus/hx5102.cpp')
-rw-r--r--src/devices/bus/hexbus/hx5102.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/hexbus/hx5102.cpp b/src/devices/bus/hexbus/hx5102.cpp
index f49e4f1a9b9..5aa2eb7a81b 100644
--- a/src/devices/bus/hexbus/hx5102.cpp
+++ b/src/devices/bus/hexbus/hx5102.cpp
@@ -113,7 +113,7 @@ namespace bus { namespace hexbus {
void hx5102_device::memmap(address_map &map)
{
- map(0x0000, 0xffff).rw(this, FUNC(hx5102_device::read), FUNC(hx5102_device::write));
+ map(0x0000, 0xffff).rw(FUNC(hx5102_device::read), FUNC(hx5102_device::write));
}
/*
@@ -121,8 +121,8 @@ void hx5102_device::memmap(address_map &map)
*/
void hx5102_device::crumap(address_map &map)
{
- map(0x17e0>>4, 0x17fe>>4).r(this, FUNC(hx5102_device::cruread));
- map(0x17e0>>1, 0x17fe>>1).w(this, FUNC(hx5102_device::cruwrite));
+ map(0x17e0>>4, 0x17fe>>4).r(FUNC(hx5102_device::cruread));
+ map(0x17e0>>1, 0x17fe>>1).w(FUNC(hx5102_device::cruwrite));
}
hx5102_device::hx5102_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock):
@@ -374,12 +374,12 @@ READ8_MEMBER(hx5102_device::fdc_read)
{
case 0:
// Main status register
- val = m_floppy_ctrl->msr_r();
+ val = m_floppy_ctrl->read_msr();
LOGMASKED(LOG_STATUS, "i8272A.msr -> %02x\n", val);
break;
case 4:
// FIFO read
- val = m_floppy_ctrl->fifo_r();
+ val = m_floppy_ctrl->read_fifo();
LOGMASKED(LOG_FIFO, "i8272A.fifo -> %02x\n", val);
break;
}
@@ -398,7 +398,7 @@ WRITE8_MEMBER(hx5102_device::fdc_write)
case 0x08:
// Command register (FIFO write)
LOGMASKED(LOG_STATUS, "i8272A.fifo <- %02x\n", data);
- m_floppy_ctrl->fifo_w(data);
+ m_floppy_ctrl->write_fifo(data);
break;
case 0x0c:
// DMA lock