summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a1bus
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-12-15 12:45:49 +0100
committer Olivier Galibert <galibert@pobox.com>2017-12-16 13:22:21 +0100
commit77829f86719aa73ec3eddf08a9c7dfa71c89f5f3 (patch)
treefadd5f17e77cbe4c01646dcc326e665bb21df4ff /src/devices/bus/a1bus
parent00c799de12624a06d243ba9c36efdfbb33c36315 (diff)
ide: deambiguate cs access between 16 and 32 bits [O. Galibert]
Diffstat (limited to 'src/devices/bus/a1bus')
-rw-r--r--src/devices/bus/a1bus/a1cffa.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/a1bus/a1cffa.cpp b/src/devices/bus/a1bus/a1cffa.cpp
index 39bdad1e04f..6900e3a85c0 100644
--- a/src/devices/bus/a1bus/a1cffa.cpp
+++ b/src/devices/bus/a1bus/a1cffa.cpp
@@ -100,7 +100,7 @@ READ8_MEMBER(a1bus_cffa_device::cffa_r)
break;
case 0x8:
- m_lastdata = m_ata->read_cs0(space, (offset & 0xf) - 8, 0xff);
+ m_lastdata = m_ata->read16_cs0(space, (offset & 0xf) - 8, 0xff);
return m_lastdata & 0x00ff;
case 0x9:
@@ -110,7 +110,7 @@ READ8_MEMBER(a1bus_cffa_device::cffa_r)
case 0xd:
case 0xe:
case 0xf:
- return m_ata->read_cs0(space, (offset & 0xf) - 8, 0xff);
+ return m_ata->read16_cs0(space, (offset & 0xf) - 8, 0xff);
}
return 0xff;
@@ -135,7 +135,7 @@ WRITE8_MEMBER(a1bus_cffa_device::cffa_w)
case 0x8:
- m_ata->write_cs0(space, (offset & 0xf) - 8, data, 0xff);
+ m_ata->write16_cs0(space, (offset & 0xf) - 8, data, 0xff);
break;
case 0x9:
@@ -145,7 +145,7 @@ WRITE8_MEMBER(a1bus_cffa_device::cffa_w)
case 0xd:
case 0xe:
case 0xf:
- m_ata->write_cs0(space, (offset & 0xf) - 8, data, 0xff);
+ m_ata->write16_cs0(space, (offset & 0xf) - 8, data, 0xff);
break;
}