From 3d9257963e45290029ccc9389955bb3bde404eb3 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 24 Feb 2020 15:53:58 -0500 Subject: xerox820.cpp: Connect SIO modem control inputs --- src/mame/drivers/xerox820.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/mame/drivers') diff --git a/src/mame/drivers/xerox820.cpp b/src/mame/drivers/xerox820.cpp index ef9b7abe611..579562b1d5d 100644 --- a/src/mame/drivers/xerox820.cpp +++ b/src/mame/drivers/xerox820.cpp @@ -560,6 +560,9 @@ void xerox820ii_state::machine_reset() bankswitch(1); m_fdc->reset(); + + m_sio->synca_w(1); + m_sio->syncb_w(1); } @@ -650,9 +653,15 @@ void xerox820_state::xerox820(machine_config &config) rs232_port_device &rs232a(RS232_PORT(config, RS232_A_TAG, default_rs232_devices, nullptr)); rs232a.rxd_handler().set(m_sio, FUNC(z80sio_device::rxa_w)); + rs232a.rxd_handler().append(m_sio, FUNC(z80sio_device::synca_w)); + rs232a.cts_handler().set(m_sio, FUNC(z80sio_device::ctsa_w)); + rs232a.dcd_handler().set(m_sio, FUNC(z80sio_device::dcda_w)); rs232_port_device &rs232b(RS232_PORT(config, RS232_B_TAG, default_rs232_devices, nullptr)); rs232b.rxd_handler().set(m_sio, FUNC(z80sio_device::rxb_w)); + rs232b.rxd_handler().append(m_sio, FUNC(z80sio_device::syncb_w)); + rs232b.cts_handler().set(m_sio, FUNC(z80sio_device::ctsb_w)); + rs232b.dcd_handler().set(m_sio, FUNC(z80sio_device::dcdb_w)); com8116_device &dbrg(COM8116(config, COM8116_TAG, 5.0688_MHz_XTAL)); dbrg.fr_handler().set(m_sio, FUNC(z80sio_device::rxca_w)); @@ -739,9 +748,13 @@ void xerox820ii_state::xerox820ii(machine_config &config) rs232_port_device &rs232a(RS232_PORT(config, RS232_A_TAG, default_rs232_devices, nullptr)); rs232a.rxd_handler().set(m_sio, FUNC(z80sio_device::rxa_w)); + rs232a.cts_handler().set(m_sio, FUNC(z80sio_device::ctsa_w)); + rs232a.dcd_handler().set(m_sio, FUNC(z80sio_device::dcda_w)); rs232_port_device &rs232b(RS232_PORT(config, RS232_B_TAG, default_rs232_devices, nullptr)); rs232b.rxd_handler().set(m_sio, FUNC(z80sio_device::rxb_w)); + rs232b.cts_handler().set(m_sio, FUNC(z80sio_device::ctsb_w)); + rs232b.dcd_handler().set(m_sio, FUNC(z80sio_device::dcdb_w)); com8116_device &dbrg(COM8116(config, COM8116_TAG, 5.0688_MHz_XTAL)); dbrg.fr_handler().set(m_sio, FUNC(z80sio_device::rxca_w)); -- cgit v1.2.3