From 010a1585c016da3a53920f8b4b090bb5c506c82f Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 10 Jan 2024 13:31:22 -0500 Subject: wy100: Enable diagnostic self-test --- src/mame/wyse/wy100.cpp | 4 ++-- src/mame/wyse/wy50kb.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mame/wyse/wy100.cpp b/src/mame/wyse/wy100.cpp index cce4252f411..7b0b03fd443 100644 --- a/src/mame/wyse/wy100.cpp +++ b/src/mame/wyse/wy100.cpp @@ -250,8 +250,8 @@ void wy100_state::wy100(machine_config &config) m_modem->cts_handler().set(m_pci, FUNC(scn2651_device::cts_w)); m_modem->rxd_handler().set(m_pci, FUNC(scn2651_device::rxd_w)); - RS232_PORT(config, m_printer, default_rs232_devices, nullptr); - m_printer->dsr_handler().set(m_pci, FUNC(scn2651_device::dsr_w)); + RS232_PORT(config, m_printer, default_rs232_devices, "loopback"); + m_printer->rxd_handler().set(m_pci, FUNC(scn2651_device::dsr_w)); // actually pin 20 (DTR), but diagnostic self-test requires it to be looped back from pin 3 (TXD) } diff --git a/src/mame/wyse/wy50kb.cpp b/src/mame/wyse/wy50kb.cpp index 00a71e574ad..731291e14db 100644 --- a/src/mame/wyse/wy50kb.cpp +++ b/src/mame/wyse/wy50kb.cpp @@ -349,6 +349,7 @@ static INPUT_PORTS_START(wy100kb) PORT_DIPSETTING(0x08, "Local") PORT_DIPSETTING(0x00, "Duplex") PORT_DIPNAME(0xf0, 0x70, "Printer Baud Rate") PORT_DIPLOCATION("DS1:5,6,7,8") + PORT_DIPSETTING(0xf0, "Diagnostic Self-Test") PORT_DIPSETTING(0x00, "50") PORT_DIPSETTING(0x80, "75") PORT_DIPSETTING(0x40, "110") -- cgit v1.2.3