diff options
| author | 2016-07-18 16:23:21 +0200 | |
|---|---|---|
| committer | 2016-07-18 16:23:21 +0200 | |
| commit | d6338f3bf46d502e73adb2a86355f64fa0eff1a4 (patch) | |
| tree | 5d0589b8b6dd041abfc44ef828a8e5e32bf114c4 /src/devices/bus/rs232/null_modem.cpp | |
| parent | e166e118ce261735494a16455eb34754982eacc7 (diff) | |
i8251: RTS and DTR outputs now use negative logic (0 = active)
Diffstat (limited to 'src/devices/bus/rs232/null_modem.cpp')
| -rw-r--r-- | src/devices/bus/rs232/null_modem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/rs232/null_modem.cpp b/src/devices/bus/rs232/null_modem.cpp index 63df2f925b7..525da0af415 100644 --- a/src/devices/bus/rs232/null_modem.cpp +++ b/src/devices/bus/rs232/null_modem.cpp @@ -16,7 +16,7 @@ null_modem_device::null_modem_device(const machine_config &mconfig, const char * m_input_count(0), m_input_index(0), m_timer_poll(nullptr), - m_rts(ASSERT_LINE) + m_rts(0) { } @@ -70,7 +70,7 @@ WRITE_LINE_MEMBER(null_modem_device::update_serial) output_dsr(0); output_cts(0); - m_rts = ASSERT_LINE; + m_rts = 0; } void null_modem_device::device_reset() @@ -102,7 +102,7 @@ void null_modem_device::queue() m_input_count = m_stream->input(m_input_buffer, sizeof(m_input_buffer)); } - if (m_input_count != 0 && m_rts == ASSERT_LINE) + if (m_input_count != 0 && m_rts == 0) { transmit_register_setup(m_input_buffer[m_input_index++]); |
