diff options
Diffstat (limited to 'src/devices/bus/intellec4/tapereader.h')
-rw-r--r-- | src/devices/bus/intellec4/tapereader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/intellec4/tapereader.h b/src/devices/bus/intellec4/tapereader.h index d28c89adba7..64e1727e5d5 100644 --- a/src/devices/bus/intellec4/tapereader.h +++ b/src/devices/bus/intellec4/tapereader.h @@ -41,10 +41,10 @@ protected: virtual void device_start() override; private: - DECLARE_READ8_MEMBER(rom4_in) { return m_ready ? 0x07U : 0x0fU; } - DECLARE_READ8_MEMBER(rom6_in) { return ~m_data & 0x0fU; } - DECLARE_READ8_MEMBER(rom7_in) { return (~m_data >> 4) & 0x0fU; } - DECLARE_WRITE8_MEMBER(rom4_out) { advance(BIT(data, 3)); } + u8 rom4_in() { return m_ready ? 0x07U : 0x0fU; } + u8 rom6_in() { return ~m_data & 0x0fU; } + u8 rom7_in() { return (~m_data >> 4) & 0x0fU; } + void rom4_out(u8 data) { advance(BIT(data, 3)); } DECLARE_WRITE_LINE_MEMBER(advance); TIMER_CALLBACK_MEMBER(step); |