summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i8251.cpp
diff options
context:
space:
mode:
author fulivi <fulivi@users.noreply.github.com>2016-07-18 16:23:21 +0200
committer fulivi <fulivi@users.noreply.github.com>2016-07-18 16:23:21 +0200
commitd6338f3bf46d502e73adb2a86355f64fa0eff1a4 (patch)
tree5d0589b8b6dd041abfc44ef828a8e5e32bf114c4 /src/devices/machine/i8251.cpp
parente166e118ce261735494a16455eb34754982eacc7 (diff)
i8251: RTS and DTR outputs now use negative logic (0 = active)
Diffstat (limited to 'src/devices/machine/i8251.cpp')
-rw-r--r--src/devices/machine/i8251.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp
index 3cb0f59a02c..7b0d272970d 100644
--- a/src/devices/machine/i8251.cpp
+++ b/src/devices/machine/i8251.cpp
@@ -416,8 +416,8 @@ WRITE8_MEMBER(i8251_device::command_w)
1 = transmit enable
*/
- m_rts_handler(BIT(data, 5));
- m_dtr_handler(BIT(data, 1));
+ m_rts_handler(!BIT(data, 5));
+ m_dtr_handler(!BIT(data, 1));
if (data & (1<<4))
{