diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-11-07 19:15:21 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-11-07 19:15:21 -0500 |
commit | 30b00e6dcce19a98969d78a0b27eb6f03405a857 (patch) | |
tree | b2568a10f9bfcf8823860a60b67ecad34595448b | |
parent | 4bbfd2b20a05ad02cec4a81b54b4ab898376cd35 (diff) |
i8251: Implement send break command
-rw-r--r-- | src/devices/machine/i8251.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp index 69883c412af..27d8ed7e641 100644 --- a/src/devices/machine/i8251.cpp +++ b/src/devices/machine/i8251.cpp @@ -268,8 +268,8 @@ void i8251_device::update_tx_empty() { if (m_status & I8251_STATUS_TX_EMPTY) { - /* tx is in marking state (high) when tx empty! */ - m_txd_handler(1); + // return TxD to marking state (high) if not sending break character + m_txd_handler(!BIT(m_command, 3)); } m_txempty_handler((m_status & I8251_STATUS_TX_EMPTY) != 0); |