From b4c7b67ff9a1b12dd414502864cee66628b3bd19 Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 22 Dec 2013 12:00:26 +0000 Subject: replaced read rx/cts/dcd callbacks in ACIA6850 write write handlers, which allows multiple chips to be connected together without using glue methods. [smf] --- src/mess/drivers/tavernie.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mess/drivers/tavernie.c') diff --git a/src/mess/drivers/tavernie.c b/src/mess/drivers/tavernie.c index 02340ec8465..9d7331c18dc 100644 --- a/src/mess/drivers/tavernie.c +++ b/src/mess/drivers/tavernie.c @@ -334,11 +334,8 @@ static ACIA6850_INTERFACE( mc6850_intf ) { 153600, 153600, - DEVCB_DEVICE_LINE_MEMBER("rs232", serial_port_device, rx), DEVCB_DEVICE_LINE_MEMBER("rs232", serial_port_device, tx), - DEVCB_DEVICE_LINE_MEMBER("rs232", rs232_port_device, cts_r), DEVCB_DEVICE_LINE_MEMBER("rs232", rs232_port_device, rts_w), - DEVCB_NULL, DEVCB_NULL }; @@ -367,7 +364,11 @@ static MACHINE_CONFIG_START( cpu09, tavernie_state ) /* Devices */ MCFG_CASSETTE_ADD( "cassette", default_cassette_interface ) + MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, "serial_terminal") + MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE("acia", acia6850_device, write_rx)) + MCFG_RS232_OUT_CTS_HANDLER(DEVWRITELINE("acia", acia6850_device, write_cts)) + MCFG_PIA6821_ADD("pia", mc6821_intf) MCFG_PTM6840_ADD("ptm", mc6840_intf) MCFG_ACIA6850_ADD("acia", mc6850_intf) -- cgit v1.2.3-70-g09d2