diff options
Diffstat (limited to 'src/devices/bus/abcbus/lux21056.cpp')
-rw-r--r-- | src/devices/bus/abcbus/lux21056.cpp | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/src/devices/bus/abcbus/lux21056.cpp b/src/devices/bus/abcbus/lux21056.cpp index 65ae4ff06de..74a7abd5c9f 100644 --- a/src/devices/bus/abcbus/lux21056.cpp +++ b/src/devices/bus/abcbus/lux21056.cpp @@ -491,7 +491,7 @@ void luxor_55_21056_device::abcbus_c3(uint8_t data) // sasi_status_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::sasi_status_r ) +uint8_t luxor_55_21056_device::sasi_status_r() { /* @@ -526,7 +526,7 @@ READ8_MEMBER( luxor_55_21056_device::sasi_status_r ) // stat_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::stat_w ) +void luxor_55_21056_device::stat_w(uint8_t data) { m_stat = data; @@ -538,7 +538,7 @@ WRITE8_MEMBER( luxor_55_21056_device::stat_w ) // out_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::out_r ) +uint8_t luxor_55_21056_device::out_r() { uint8_t data = m_out; @@ -552,7 +552,7 @@ READ8_MEMBER( luxor_55_21056_device::out_r ) // inp_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::inp_w ) +void luxor_55_21056_device::inp_w(uint8_t data) { m_inp = data; @@ -564,7 +564,7 @@ WRITE8_MEMBER( luxor_55_21056_device::inp_w ) // sasi_data_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::sasi_data_r ) +uint8_t luxor_55_21056_device::sasi_data_r() { uint8_t data = m_sasi_data_in->read(); @@ -579,7 +579,7 @@ READ8_MEMBER( luxor_55_21056_device::sasi_data_r ) // sasi_data_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::sasi_data_w ) +void luxor_55_21056_device::sasi_data_w(uint8_t data) { m_sasi_data = data; @@ -597,9 +597,10 @@ WRITE8_MEMBER( luxor_55_21056_device::sasi_data_w ) // rdy_reset_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::rdy_reset_r ) +uint8_t luxor_55_21056_device::rdy_reset_r() { - rdy_reset_w(space, offset, 0xff); + if (!machine().side_effects_disabled()) + rdy_reset_w(0xff); return 0xff; } @@ -609,7 +610,7 @@ READ8_MEMBER( luxor_55_21056_device::rdy_reset_r ) // rdy_reset_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::rdy_reset_w ) +void luxor_55_21056_device::rdy_reset_w(uint8_t data) { set_rdy(0); } @@ -619,9 +620,10 @@ WRITE8_MEMBER( luxor_55_21056_device::rdy_reset_w ) // sasi_sel_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::sasi_sel_r ) +uint8_t luxor_55_21056_device::sasi_sel_r() { - sasi_sel_w(space, offset, 0xff); + if (!machine().side_effects_disabled()) + sasi_sel_w(0xff); return 0xff; } @@ -631,7 +633,7 @@ READ8_MEMBER( luxor_55_21056_device::sasi_sel_r ) // sasi_sel_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::sasi_sel_w ) +void luxor_55_21056_device::sasi_sel_w(uint8_t data) { m_sasibus->write_sel(!m_sasi_bsy); } @@ -641,9 +643,10 @@ WRITE8_MEMBER( luxor_55_21056_device::sasi_sel_w ) // sasi_rst_r - //------------------------------------------------- -READ8_MEMBER( luxor_55_21056_device::sasi_rst_r ) +uint8_t luxor_55_21056_device::sasi_rst_r() { - sasi_rst_w(space, offset, 0xff); + if (!machine().side_effects_disabled()) + sasi_rst_w(0xff); return 0xff; } @@ -653,7 +656,7 @@ READ8_MEMBER( luxor_55_21056_device::sasi_rst_r ) // sasi_rst_w - //------------------------------------------------- -WRITE8_MEMBER( luxor_55_21056_device::sasi_rst_w ) +void luxor_55_21056_device::sasi_rst_w(uint8_t data) { m_sasibus->write_rst(1); m_sasibus->write_rst(0); |