summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/abc800kb.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-12-22 22:05:13 +0000
committer smf- <smf-@users.noreply.github.com>2013-12-22 22:05:13 +0000
commit25b08cec6bd4f5ed88ed6eeef7e188fb0b17b9a3 (patch)
treed6b9d79cb951b2e626d475c839cff43e23c808dc /src/mess/machine/abc800kb.c
parentf3a8aceab46339c55609fa80cef99c3ad4aa153f (diff)
replaced read rx callback in Z80DART (and clones) with a write handler, which allows multiple chips to be connected together without using glue methods. [smf]
Diffstat (limited to 'src/mess/machine/abc800kb.c')
-rw-r--r--src/mess/machine/abc800kb.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mess/machine/abc800kb.c b/src/mess/machine/abc800kb.c
index 897e16e01e8..55a18604f86 100644
--- a/src/mess/machine/abc800kb.c
+++ b/src/mess/machine/abc800kb.c
@@ -293,6 +293,8 @@ inline void abc800_keyboard_device::serial_output(int state)
if (m_txd != state)
{
m_txd = state;
+
+ m_slot->write_rx(m_txd);
}
}
@@ -397,16 +399,6 @@ void abc800_keyboard_device::device_timer(emu_timer &timer, device_timer_id id,
//-------------------------------------------------
-// rxd_r -
-//-------------------------------------------------
-
-int abc800_keyboard_device::rxd_r()
-{
- return m_txd;
-}
-
-
-//-------------------------------------------------
// txd_w -
//-------------------------------------------------