summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isbx
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-03-10 16:20:26 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-03-10 16:20:26 -0400
commit7f50bbafaa8792beadb2b056deaee317033cbcee (patch)
tree080085f3c2160c0ca2dcbe81030c1973271dae04 /src/devices/bus/isbx
parent3e1d84b7fa85d450da9f4c6e088e593e36a09263 (diff)
upd765: Simplify read/write handlers (nw)
Diffstat (limited to 'src/devices/bus/isbx')
-rw-r--r--src/devices/bus/isbx/compis_fdc.cpp6
-rw-r--r--src/devices/bus/isbx/isbc_218a.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/isbx/compis_fdc.cpp b/src/devices/bus/isbx/compis_fdc.cpp
index 86e15584e8d..fea0e7f59b5 100644
--- a/src/devices/bus/isbx/compis_fdc.cpp
+++ b/src/devices/bus/isbx/compis_fdc.cpp
@@ -112,8 +112,8 @@ uint8_t compis_fdc_device::mcs0_r(offs_t offset)
switch (BIT(offset, 0))
{
- case 0: data = m_fdc->msr_r(machine().dummy_space(), 0); break;
- case 1: data = m_fdc->fifo_r(machine().dummy_space(), 0); break;
+ case 0: data = m_fdc->msr_r(); break;
+ case 1: data = m_fdc->fifo_r(); break;
}
return data;
@@ -128,7 +128,7 @@ void compis_fdc_device::mcs0_w(offs_t offset, uint8_t data)
{
switch (BIT(offset, 0))
{
- case 1: m_fdc->fifo_w(machine().dummy_space(), 0, data); break;
+ case 1: m_fdc->fifo_w(data); break;
}
}
diff --git a/src/devices/bus/isbx/isbc_218a.cpp b/src/devices/bus/isbx/isbc_218a.cpp
index e7380cf075b..0a1cff5f235 100644
--- a/src/devices/bus/isbx/isbc_218a.cpp
+++ b/src/devices/bus/isbx/isbc_218a.cpp
@@ -117,8 +117,8 @@ uint8_t isbc_218a_device::mcs0_r(offs_t offset)
switch (BIT(offset, 0))
{
- case 0: data = m_fdc->msr_r(machine().dummy_space(), 0); break;
- case 1: data = m_fdc->fifo_r(machine().dummy_space(), 0); break;
+ case 0: data = m_fdc->msr_r(); break;
+ case 1: data = m_fdc->fifo_r(); break;
}
return data;
@@ -133,7 +133,7 @@ void isbc_218a_device::mcs0_w(offs_t offset, uint8_t data)
{
switch (BIT(offset, 0))
{
- case 1: m_fdc->fifo_w(machine().dummy_space(), 0, data); break;
+ case 1: m_fdc->fifo_w(data); break;
}
}