summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron/cart/ap5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/electron/cart/ap5.cpp')
-rw-r--r--src/devices/bus/electron/cart/ap5.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/electron/cart/ap5.cpp b/src/devices/bus/electron/cart/ap5.cpp
index f613eade1f1..660587c7642 100644
--- a/src/devices/bus/electron/cart/ap5.cpp
+++ b/src/devices/bus/electron/cart/ap5.cpp
@@ -82,13 +82,13 @@ void electron_ap5_device::device_start()
// read - cartridge data read
//-------------------------------------------------
-uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
+uint8_t electron_ap5_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
if (infc)
{
- data = m_1mhzbus->fred_r(space, offset);
+ data = m_1mhzbus->fred_r(offset);
switch (offset & 0xf0)
{
@@ -97,13 +97,13 @@ uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc,
break;
case 0xe0:
- data &= m_tube->host_r(space, offset & 0x0f);
+ data &= m_tube->host_r(offset & 0x0f);
break;
}
}
else if (infd)
{
- data = m_1mhzbus->jim_r(space, offset);
+ data = m_1mhzbus->jim_r(offset);
}
else if (oe)
{
@@ -121,11 +121,11 @@ uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc,
// write - cartridge data write
//-------------------------------------------------
-void electron_ap5_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
+void electron_ap5_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{
- m_1mhzbus->fred_w(space, offset, data);
+ m_1mhzbus->fred_w(offset, data);
switch (offset & 0xf0)
{
@@ -134,13 +134,13 @@ void electron_ap5_device::write(address_space &space, offs_t offset, uint8_t dat
break;
case 0xe0:
- m_tube->host_w(space, offset & 0x0f, data);
+ m_tube->host_w(offset & 0x0f, data);
break;
}
}
else if (infd)
{
- m_1mhzbus->jim_w(space, offset, data);
+ m_1mhzbus->jim_w(offset, data);
}
}