mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00
wy100: Enable diagnostic self-test
This commit is contained in:
parent
97cc36b41f
commit
010a1585c0
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user