summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i8251.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-03-11 10:45:31 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-03-11 10:45:31 -0400
commit9e7da1be15ce1bb2a1a08ced0de3c08be0892364 (patch)
tree5c7292eecf1faddfd7629f7d155a998eaaa5034b /src/devices/machine/i8251.cpp
parent3917d1a78d04c2149c45037ef2fb963581013511 (diff)
vt100.cpp: Add XMIT FLAG polling using new i8251 line read handler; correct vt102 interrupts (nw)
Diffstat (limited to 'src/devices/machine/i8251.cpp')
-rw-r--r--src/devices/machine/i8251.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp
index b63dc58f804..d10c724a8f9 100644
--- a/src/devices/machine/i8251.cpp
+++ b/src/devices/machine/i8251.cpp
@@ -719,6 +719,11 @@ WRITE_LINE_MEMBER(i8251_device::write_txc)
}
}
+READ_LINE_MEMBER(i8251_device::txrdy_r)
+{
+ return is_tx_enabled() && (m_status & I8251_STATUS_TX_READY) != 0;
+}
+
WRITE8_MEMBER(v53_scu_device::command_w)
{
i8251_device::command_w(data);