mirror of
https://github.com/holub/mame
synced 2025-05-06 14:25:54 +03:00
tv910: Activate CTS as well (nw)
This commit is contained in:
parent
91927cb14d
commit
cdcc27d63b
@ -425,10 +425,14 @@ INPUT_PORTS_END
|
|||||||
void tv910_state::machine_start()
|
void tv910_state::machine_start()
|
||||||
{
|
{
|
||||||
// DCD needs to be driven somehow, or else the terminal will complain
|
// DCD needs to be driven somehow, or else the terminal will complain
|
||||||
|
// CTS also needs to be driven to prevent hanging caused by buffer overflow
|
||||||
auto *acia = subdevice<mos6551_device>(ACIA_TAG);
|
auto *acia = subdevice<mos6551_device>(ACIA_TAG);
|
||||||
auto *rs232 = subdevice<rs232_port_device>(RS232_TAG);
|
auto *rs232 = subdevice<rs232_port_device>(RS232_TAG);
|
||||||
if (rs232->get_card_device() == nullptr)
|
if (rs232->get_card_device() == nullptr)
|
||||||
|
{
|
||||||
acia->write_dcd(0);
|
acia->write_dcd(0);
|
||||||
|
acia->write_cts(0);
|
||||||
|
}
|
||||||
|
|
||||||
// DSR is tied to GND
|
// DSR is tied to GND
|
||||||
acia->write_dsr(0);
|
acia->write_dsr(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user