mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
i8251: Implement send break command
This commit is contained in:
parent
4bbfd2b20a
commit
30b00e6dcc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user