diff options
Diffstat (limited to 'src/devices/bus/ieee488/softbox.cpp')
-rw-r--r-- | src/devices/bus/ieee488/softbox.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/devices/bus/ieee488/softbox.cpp b/src/devices/bus/ieee488/softbox.cpp index e2041d3e4e2..0a38d5ce9cf 100644 --- a/src/devices/bus/ieee488/softbox.cpp +++ b/src/devices/bus/ieee488/softbox.cpp @@ -98,12 +98,12 @@ void softbox_device::softbox_io(address_map &map) // I8255A 0 Interface //------------------------------------------------- -READ8_MEMBER( softbox_device::ppi0_pa_r ) +uint8_t softbox_device::ppi0_pa_r() { - return m_bus->read_dio() ^ 0xff; + return m_bus->dio_r() ^ 0xff; } -WRITE8_MEMBER( softbox_device::ppi0_pb_w ) +void softbox_device::ppi0_pb_w(uint8_t data) { m_bus->dio_w(this, data ^ 0xff); } @@ -112,7 +112,7 @@ WRITE8_MEMBER( softbox_device::ppi0_pb_w ) // I8255A 1 Interface //------------------------------------------------- -READ8_MEMBER( softbox_device::ppi1_pa_r ) +uint8_t softbox_device::ppi1_pa_r() { /* @@ -143,7 +143,7 @@ READ8_MEMBER( softbox_device::ppi1_pa_r ) return data; } -WRITE8_MEMBER( softbox_device::ppi1_pb_w ) +void softbox_device::ppi1_pb_w(uint8_t data) { /* @@ -170,7 +170,7 @@ WRITE8_MEMBER( softbox_device::ppi1_pb_w ) m_bus->ifc_w(this, !BIT(data, 7)); } -READ8_MEMBER( softbox_device::ppi1_pc_r ) +uint8_t softbox_device::ppi1_pc_r() { /* @@ -187,7 +187,7 @@ READ8_MEMBER( softbox_device::ppi1_pc_r ) */ - uint8_t status = m_hdc->status_r(space, 0); + uint8_t status = m_hdc->status_r(); uint8_t data = 0; data |= (status & corvus_hdc_device::CONTROLLER_BUSY) ? 0 : 0x10; @@ -196,7 +196,7 @@ READ8_MEMBER( softbox_device::ppi1_pc_r ) return data; } -WRITE8_MEMBER( softbox_device::ppi1_pc_w ) +void softbox_device::ppi1_pc_w(uint8_t data) { /* @@ -221,7 +221,6 @@ WRITE8_MEMBER( softbox_device::ppi1_pc_w ) static DEVICE_INPUT_DEFAULTS_START( terminal ) DEVICE_INPUT_DEFAULTS( "RS232_TXBAUD", 0xff, RS232_BAUD_9600 ) DEVICE_INPUT_DEFAULTS( "RS232_RXBAUD", 0xff, RS232_BAUD_9600 ) - DEVICE_INPUT_DEFAULTS( "RS232_STARTBITS", 0xff, RS232_STARTBITS_1 ) DEVICE_INPUT_DEFAULTS( "RS232_DATABITS", 0xff, RS232_DATABITS_7 ) DEVICE_INPUT_DEFAULTS( "RS232_PARITY", 0xff, RS232_PARITY_EVEN ) DEVICE_INPUT_DEFAULTS( "RS232_STOPBITS", 0xff, RS232_STOPBITS_1 ) @@ -376,7 +375,7 @@ void softbox_device::ieee488_ifc(int state) // dbrg_w - baud rate selection //------------------------------------------------- -WRITE8_MEMBER( softbox_device::dbrg_w ) +void softbox_device::dbrg_w(uint8_t data) { m_dbrg->str_w(data & 0x0f); m_dbrg->stt_w(data >> 4); |