summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h6280/h6280.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h6280/h6280.cpp')
-rw-r--r--src/devices/cpu/h6280/h6280.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/h6280/h6280.cpp b/src/devices/cpu/h6280/h6280.cpp
index ffb0f4088c1..814f906de81 100644
--- a/src/devices/cpu/h6280/h6280.cpp
+++ b/src/devices/cpu/h6280/h6280.cpp
@@ -2510,7 +2510,7 @@ void h6280_device::set_irq_line(int irqline, int state)
// REGISTER HANDLING
//**************************************************************************
-READ8_MEMBER( h6280_device::irq_status_r )
+uint8_t h6280_device::irq_status_r(offs_t offset)
{
int status;
@@ -2534,7 +2534,7 @@ READ8_MEMBER( h6280_device::irq_status_r )
}
}
-WRITE8_MEMBER( h6280_device::irq_status_w )
+void h6280_device::irq_status_w(offs_t offset, uint8_t data)
{
m_io_buffer = data;
switch (offset & 3)
@@ -2554,13 +2554,13 @@ WRITE8_MEMBER( h6280_device::irq_status_w )
}
}
-READ8_MEMBER( h6280_device::timer_r )
+uint8_t h6280_device::timer_r()
{
/* only returns countdown */
return ((m_timer_value >> 10) & 0x7F) | (m_io_buffer & 0x80);
}
-WRITE8_MEMBER( h6280_device::timer_w )
+void h6280_device::timer_w(offs_t offset, uint8_t data)
{
m_io_buffer = data;
switch (offset & 1)
@@ -2581,7 +2581,7 @@ WRITE8_MEMBER( h6280_device::timer_w )
}
}
-READ8_MEMBER( h6280_device::port_r )
+uint8_t h6280_device::port_r()
{
if (!m_port_in_cb.isnull())
return m_port_in_cb();
@@ -2589,19 +2589,19 @@ READ8_MEMBER( h6280_device::port_r )
return m_io_buffer;
}
-WRITE8_MEMBER( h6280_device::port_w )
+void h6280_device::port_w(uint8_t data)
{
m_io_buffer = data;
m_port_out_cb(data);
}
-READ8_MEMBER( h6280_device::io_buffer_r )
+uint8_t h6280_device::io_buffer_r()
{
return m_io_buffer;
}
-WRITE8_MEMBER( h6280_device::psg_w )
+void h6280_device::psg_w(offs_t offset, uint8_t data)
{
m_io_buffer = data;
m_psg->c6280_w(offset, data);