summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2019-06-04 19:06:39 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2019-06-04 19:06:39 +0700
commitec071abd9515744da77acb1cd0bbf3696ca7c5be (patch)
treee5885aaaf05d266d0a7797e6b8f67b8d5acee02d
parent5a79f3f1fbc0a5b94b890bd7542ffece9e4032a2 (diff)
at_keybc: logging fix (nw)
-rw-r--r--src/devices/machine/at_keybc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/at_keybc.cpp b/src/devices/machine/at_keybc.cpp
index 1092f04390f..1265c0bf54e 100644
--- a/src/devices/machine/at_keybc.cpp
+++ b/src/devices/machine/at_keybc.cpp
@@ -150,7 +150,7 @@ uint8_t at_kbc_device_base::status_r()
u8 const data = m_mcu->upi41_master_r(machine().dummy_space(), 1U);
LOGMASKED(LOG_STATUS, "status_r 0x%02x%s%s%s%s%s%s%s%s (%s)\n", data,
BIT(data, 7) ? " PER" : "", BIT(data, 6) ? " RTO" : "",
- BIT(data, 5) ? " TTO" : "", BIT(data, 4) ? " INH" : "",
+ BIT(data, 5) ? " TTO" : "", BIT(data, 4) ? "" : " INH",
BIT(data, 3) ? " CMD" : "", BIT(data, 2) ? " SYS" : "",
BIT(data, 1) ? " IBF" : "", BIT(data, 0) ? " OBF" : "",
machine().describe_context());
@@ -428,7 +428,7 @@ uint8_t ps2_keyboard_controller_device::status_r()
u8 const data = m_mcu->upi41_master_r(machine().dummy_space(), 1U);
LOGMASKED(LOG_STATUS, "status_r 0x%02x%s%s%s%s%s%s%s%s (%s)\n", data,
BIT(data, 7) ? " PER" : "", BIT(data, 6) ? " GTO" : "",
- BIT(data, 5) ? " AUX_OBF" : "", BIT(data, 4) ? " INH" : "",
+ BIT(data, 5) ? " AUX_OBF" : "", BIT(data, 4) ? "" : " INH",
BIT(data, 3) ? " CMD" : "", BIT(data, 2) ? " SYS" : "",
BIT(data, 1) ? " IBF" : "", BIT(data, 0) ? " OBF" : "",
machine().describe_context());