diff options
Diffstat (limited to 'src/mess/drivers/tandy2k.c')
-rw-r--r-- | src/mess/drivers/tandy2k.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mess/drivers/tandy2k.c b/src/mess/drivers/tandy2k.c index fc3d53f3491..d447b32e80a 100644 --- a/src/mess/drivers/tandy2k.c +++ b/src/mess/drivers/tandy2k.c @@ -26,6 +26,7 @@ */ #include "includes/tandy2k.h" +#include "bus/rs232/rs232.h" enum { @@ -408,9 +409,9 @@ WRITE_LINE_MEMBER( tandy2k_state::txrdy_w ) static const i8251_interface usart_intf = { - DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, serial_port_device, tx), - DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, rs232_port_device, dtr_w), - DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, rs232_port_device, rts_w), + DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, rs232_port_device, write_txd), + DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, rs232_port_device, write_dtr), + DEVCB_DEVICE_LINE_MEMBER(RS232_TAG, rs232_port_device, write_rts), DEVCB_DRIVER_LINE_MEMBER(tandy2k_state, rxrdy_w), DEVCB_DRIVER_LINE_MEMBER(tandy2k_state, txrdy_w), DEVCB_NULL, @@ -724,8 +725,8 @@ static MACHINE_CONFIG_START( tandy2k, tandy2k_state ) MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL) - MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE(I8251A_TAG, i8251_device, write_rx)) - MCFG_RS232_OUT_DSR_HANDLER(DEVWRITELINE(I8251A_TAG, i8251_device, write_dsr)) + MCFG_RS232_RXD_HANDLER(DEVWRITELINE(I8251A_TAG, i8251_device, write_rx)) + MCFG_RS232_DSR_HANDLER(DEVWRITELINE(I8251A_TAG, i8251_device, write_dsr)) MCFG_TANDY2K_KEYBOARD_ADD(WRITELINE(tandy2k_state, kbdclk_w), WRITELINE(tandy2k_state, kbddat_w)) |