summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/xerox820.cpp13
1 files changed, 13 insertions, 0 deletions
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));