diff options
Diffstat (limited to 'src/devices/machine/mb89374.h')
-rw-r--r-- | src/devices/machine/mb89374.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/mb89374.h b/src/devices/machine/mb89374.h index f6163bb4e16..c70781b49aa 100644 --- a/src/devices/machine/mb89374.h +++ b/src/devices/machine/mb89374.h @@ -49,18 +49,18 @@ public: template <unsigned N> auto out_po_callback() { return m_out_po_cb[N].bind(); } // read/write handlers - 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( pi0_w ); - DECLARE_WRITE_LINE_MEMBER( pi1_w ); - DECLARE_WRITE_LINE_MEMBER( pi2_w ); - DECLARE_WRITE_LINE_MEMBER( pi3_w ); + void pi0_w(int state); + void pi1_w(int state); + void pi2_w(int state); + void pi3_w(int state); - DECLARE_WRITE_LINE_MEMBER( ci_w ); + void ci_w(int state); - DECLARE_READ8_MEMBER( dma_r ); - DECLARE_WRITE8_MEMBER( dma_w ); + uint8_t dma_r(); + void dma_w(uint8_t data); protected: // device-level overrides |