diff options
Diffstat (limited to 'src/devices/machine/i8257.h')
-rw-r--r-- | src/devices/machine/i8257.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/i8257.h b/src/devices/machine/i8257.h index 964f1058f44..df1f74a4858 100644 --- a/src/devices/machine/i8257.h +++ b/src/devices/machine/i8257.h @@ -40,16 +40,16 @@ public: // construction/destruction i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - DECLARE_READ8_MEMBER( read ); - DECLARE_WRITE8_MEMBER( write ); + uint8_t read(offs_t offset); + void write(offs_t offset, uint8_t data); - DECLARE_WRITE_LINE_MEMBER( hlda_w ); - DECLARE_WRITE_LINE_MEMBER( ready_w ); + void hlda_w(int state); + void ready_w(int state); - DECLARE_WRITE_LINE_MEMBER( dreq0_w ); - DECLARE_WRITE_LINE_MEMBER( dreq1_w ); - DECLARE_WRITE_LINE_MEMBER( dreq2_w ); - DECLARE_WRITE_LINE_MEMBER( dreq3_w ); + void dreq0_w(int state); + void dreq1_w(int state); + void dreq2_w(int state); + void dreq3_w(int state); auto out_hrq_cb() { return m_out_hrq_cb.bind(); } auto out_tc_cb() { return m_out_tc_cb.bind(); } |