diff options
Diffstat (limited to 'src/devices/bus/interpro/keyboard/lle.cpp')
-rw-r--r-- | src/devices/bus/interpro/keyboard/lle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp index dab60a49768..595130b4c74 100644 --- a/src/devices/bus/interpro/keyboard/lle.cpp +++ b/src/devices/bus/interpro/keyboard/lle.cpp @@ -465,7 +465,7 @@ void lle_device_base::device_start() void lle_device_base::device_reset() { - m_txd = 0; + m_txd = 1; } void lle_device_base::io_map(address_map &map) @@ -489,7 +489,7 @@ void lle_device_base::ext_map(address_map &map) READ_LINE_MEMBER(lle_device_base::t0_r) { - if ((VERBOSE & LOG_RXTX) && (m_mcu->pc() == 0x8e) && m_txd == 0) + if ((VERBOSE & LOG_RXTX) && (m_mcu->pc() == 0x8e) && m_txd) { auto const suppressor(machine().disable_side_effects()); @@ -499,7 +499,7 @@ READ_LINE_MEMBER(lle_device_base::t0_r) LOGMASKED(LOG_RXTX, "received byte 0x%02x\n", input); } - return m_txd; + return !m_txd; } READ_LINE_MEMBER(lle_device_base::t1_r) @@ -561,7 +561,7 @@ WRITE8_MEMBER(lle_device_base::p2_w) m_count++; // serial transmit - output_rxd(BIT(data, 5) ? CLEAR_LINE : ASSERT_LINE); + output_rxd(!BIT(data, 5)); // BIT(data, 4)? if (!BIT(m_p2, 4) && BIT(data, 4)) |