summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ql/qubide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ql/qubide.cpp')
-rw-r--r--src/devices/bus/ql/qubide.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/ql/qubide.cpp b/src/devices/bus/ql/qubide.cpp
index 10583d28023..7ed66ef8886 100644
--- a/src/devices/bus/ql/qubide.cpp
+++ b/src/devices/bus/ql/qubide.cpp
@@ -211,15 +211,15 @@ uint8_t qubide_device::read(offs_t offset, uint8_t data)
switch (offset & 0x0f)
{
case 0:
- data = m_ata->read_cs1(0x07, 0xff);
+ data = m_ata->cs1_r(0x07, 0xff);
break;
default:
- data = m_ata->read_cs0(offset & 0x07, 0xff);
+ data = m_ata->cs0_r(offset & 0x07, 0xff);
break;
case 0x08: case 0x0a: case 0x0c:
- m_ata_data = m_ata->read_cs0(0);
+ m_ata_data = m_ata->cs0_r(0);
data = m_ata_data >> 8;
break;
@@ -229,7 +229,7 @@ uint8_t qubide_device::read(offs_t offset, uint8_t data)
break;
case 0x0e: case 0x0f:
- data = m_ata->read_cs1(0x05, 0xff);
+ data = m_ata->cs1_r(0x05, 0xff);
break;
}
}
@@ -256,7 +256,7 @@ void qubide_device::write(offs_t offset, uint8_t data)
switch (offset & 0x0f)
{
case 0: case 0x0e: case 0x0f:
- m_ata->write_cs1(0x05, data, 0xff);
+ m_ata->cs1_w(0x05, data, 0xff);
break;
case 0x08: case 0x0a: case 0x0c:
@@ -266,11 +266,11 @@ void qubide_device::write(offs_t offset, uint8_t data)
case 0x09: case 0x0b: case 0x0d:
m_ata_data = (m_ata_data & 0xff00) | data;
- m_ata->write_cs0(0, m_ata_data);
+ m_ata->cs0_w(0, m_ata_data);
break;
default:
- m_ata->write_cs0(offset & 0x07, data, 0xff);
+ m_ata->cs0_w(offset & 0x07, data, 0xff);
break;
}
}