From 30b00e6dcce19a98969d78a0b27eb6f03405a857 Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 7 Nov 2018 19:15:21 -0500 Subject: [PATCH] i8251: Implement send break command --- src/devices/machine/i8251.cpp | 4 ++-- 1 file 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);