wy100: Enable diagnostic self-test

This commit is contained in:
AJR 2024-01-10 13:31:22 -05:00
parent 97cc36b41f
commit 010a1585c0
2 changed files with 3 additions and 2 deletions

View File

@ -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)
}

View File

@ -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")