summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bbc/tube/tube_zep100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bbc/tube/tube_zep100.cpp')
-rw-r--r--src/devices/bus/bbc/tube/tube_zep100.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/bbc/tube/tube_zep100.cpp b/src/devices/bus/bbc/tube/tube_zep100.cpp
index f11f0af6415..6ec898bb705 100644
--- a/src/devices/bus/bbc/tube/tube_zep100.cpp
+++ b/src/devices/bus/bbc/tube/tube_zep100.cpp
@@ -146,12 +146,12 @@ void bbc_tube_zep100_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
-uint8_t bbc_tube_zep100_device::host_r(offs_t offset)
+READ8_MEMBER(bbc_tube_zep100_device::host_r)
{
return m_via->read(offset & 0x0f);
}
-void bbc_tube_zep100_device::host_w(offs_t offset, uint8_t data)
+WRITE8_MEMBER(bbc_tube_zep100_device::host_w)
{
if (offset & 0x10)
m_z80->reset();
@@ -160,7 +160,7 @@ void bbc_tube_zep100_device::host_w(offs_t offset, uint8_t data)
}
-uint8_t bbc_tube_zep100_device::mem_r(offs_t offset)
+READ8_MEMBER(bbc_tube_zep100_device::mem_r)
{
uint8_t data;
@@ -172,13 +172,13 @@ uint8_t bbc_tube_zep100_device::mem_r(offs_t offset)
return data;
}
-void bbc_tube_zep100_device::mem_w(offs_t offset, uint8_t data)
+WRITE8_MEMBER(bbc_tube_zep100_device::mem_w)
{
m_ram->pointer()[offset] = data;
}
-uint8_t bbc_tube_zep100_device::io_r(offs_t offset)
+READ8_MEMBER(bbc_tube_zep100_device::io_r)
{
uint8_t data = 0xff;
@@ -190,23 +190,23 @@ uint8_t bbc_tube_zep100_device::io_r(offs_t offset)
return data;
}
-void bbc_tube_zep100_device::io_w(offs_t offset, uint8_t data)
+WRITE8_MEMBER(bbc_tube_zep100_device::io_w)
{
m_ppi->write(offset & 0x03, data);
}
-void bbc_tube_zep100_device::via_pb_w(uint8_t data)
+WRITE8_MEMBER(bbc_tube_zep100_device::via_pb_w)
{
m_port_b = data;
}
-uint8_t bbc_tube_zep100_device::ppi_pb_r()
+READ8_MEMBER(bbc_tube_zep100_device::ppi_pb_r)
{
return m_port_b;
}
-void bbc_tube_zep100_device::ppi_pc_w(uint8_t data)
+WRITE8_MEMBER(bbc_tube_zep100_device::ppi_pc_w)
{
m_via->write_ca1(BIT(data, 7));
m_via->write_cb1(BIT(data, 1));