diff options
Diffstat (limited to 'src/devices/video/mc6845.h')
-rw-r--r-- | src/devices/video/mc6845.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/video/mc6845.h b/src/devices/video/mc6845.h index 966b81d3cb3..d590141c102 100644 --- a/src/devices/video/mc6845.h +++ b/src/devices/video/mc6845.h @@ -113,20 +113,20 @@ public: template <class Object> devcb_base &set_out_vsync_callback(Object &&cb) { return m_out_vsync_cb.set_callback(std::forward<Object>(cb)); } /* select one of the registers for reading or writing */ - DECLARE_WRITE8_MEMBER( address_w ); - void address_w(uint8_t data); + DECLARE_WRITE8_MEMBER( address_w ) { write_address(data); } + void write_address(uint8_t data); /* read from the status register */ - DECLARE_READ8_MEMBER( status_r ); - uint8_t status_r(); + DECLARE_READ8_MEMBER( status_r ) { return read_status(); } + uint8_t read_status(); /* read from the currently selected register */ - DECLARE_READ8_MEMBER( register_r ); - uint8_t register_r(); + DECLARE_READ8_MEMBER( register_r ) { return read_register(); } + uint8_t read_register(); /* write to the currently selected register */ - DECLARE_WRITE8_MEMBER( register_w ); - void register_w(uint8_t data); + DECLARE_WRITE8_MEMBER( register_w ) { write_register(data); } + void write_register(uint8_t data); // read display enable line state DECLARE_READ_LINE_MEMBER( de_r ); |