summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2020-02-24 15:53:58 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2020-02-24 15:53:58 -0500
commit3d9257963e45290029ccc9389955bb3bde404eb3 (patch) (github)
treef7cfff01d1b8c382e210d61c47b8fdfd8f6af33e /src/mame/drivers
parentfa1ced3e6cdbf2523cae4f0014dc83fec9405bfc (diff)
downloadmame-3d9257963e45290029ccc9389955bb3bde404eb3.tar.bz2
mame-3d9257963e45290029ccc9389955bb3bde404eb3.zip
xerox820.cpp: Connect SIO modem control inputs
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));