summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tavernie.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-12-22 12:00:26 +0000
committer smf- <smf-@users.noreply.github.com>2013-12-22 12:00:26 +0000
commitb4c7b67ff9a1b12dd414502864cee66628b3bd19 (patch)
treed056e8e53b0778cde38a817def2c19eded32c18d /src/mess/drivers/tavernie.c
parent8b0c23f055c9d6869f3a909072941f5c9025bb50 (diff)
replaced read rx/cts/dcd callbacks in ACIA6850 write write handlers, which allows multiple chips to be connected together without using glue methods. [smf]
Diffstat (limited to 'src/mess/drivers/tavernie.c')
-rw-r--r--src/mess/drivers/tavernie.c7
1 files changed, 4 insertions, 3 deletions
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)