diff options
Diffstat (limited to 'src/devices/cpu/f2mc16/mb9061x.cpp')
-rw-r--r-- | src/devices/cpu/f2mc16/mb9061x.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/f2mc16/mb9061x.cpp b/src/devices/cpu/f2mc16/mb9061x.cpp index b299d2ab6b1..3017633df3b 100644 --- a/src/devices/cpu/f2mc16/mb9061x.cpp +++ b/src/devices/cpu/f2mc16/mb9061x.cpp @@ -143,13 +143,13 @@ TIMER_CALLBACK_MEMBER(mb9061x_device::timer1_tick) } } -READ8_MEMBER(mb9061x_device::timer_r) +u8 mb9061x_device::timer_r(offs_t offset) { //printf("timer_r: offset %d = %02x\n", offset, m_timer_regs[offset]); return m_timer_regs[offset]; } -WRITE8_MEMBER(mb9061x_device::timer_w) +void mb9061x_device::timer_w(offs_t offset, u8 data) { int timer = offset / 4; int reg = offset % 4; @@ -317,12 +317,12 @@ enum TBTC_TBC0 = 0x01 // rate select bit 0 }; -READ8_MEMBER(mb9061x_device::tbtc_r) +u8 mb9061x_device::tbtc_r() { return m_tbtc; } -WRITE8_MEMBER(mb9061x_device::tbtc_w) +void mb9061x_device::tbtc_w(u8 data) { static const float periods[4] = { 1.024f, 4.096f, 16.384f, 131.072f }; @@ -357,12 +357,12 @@ TIMER_CALLBACK_MEMBER(mb9061x_device::tbtc_tick) } } -READ8_MEMBER(mb9061x_device::intc_r) +u8 mb9061x_device::intc_r(offs_t offset) { return m_intc[offset]; } -WRITE8_MEMBER(mb9061x_device::intc_w) +void mb9061x_device::intc_w(offs_t offset, u8 data) { //printf("INTC ICR %d to %02x\n", offset, data); m_intc[offset] = data; |