summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/softbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/softbox.cpp')
-rw-r--r--src/devices/bus/ieee488/softbox.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/devices/bus/ieee488/softbox.cpp b/src/devices/bus/ieee488/softbox.cpp
index 8076a0d5432..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()
{
/*
@@ -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);