summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-02-24 22:22:10 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-02-24 22:22:20 -0500
commit5d1ebeb648a4fca524e497417d66a4c3d4b8009e (patch)
treea868a4cec16e73fd32da3b1f0d23f619edb1c7e0 /src/mame/drivers
parent516651c2981cf6dd488c940a2e419b804d2f7309 (diff)
i8279: Correct keyboard scan rate and logging thereof
pp: Fix shift/control key polarity (nw)
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/pp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pp.cpp b/src/mame/drivers/pp.cpp
index a16b62a719b..30ae4f265fd 100644
--- a/src/mame/drivers/pp.cpp
+++ b/src/mame/drivers/pp.cpp
@@ -210,13 +210,13 @@ u8 pp_state::kbd_cols_r()
READ_LINE_MEMBER(pp_state::cntl_r)
{
// pin 1 of J13 connector
- return (m_modifiers->read() & 0x5) != 0x5;
+ return (m_modifiers->read() & 0x5) == 0x5;
}
READ_LINE_MEMBER(pp_state::shift_r)
{
// pin 3 of J13 connector
- return (m_modifiers->read() & 0x6) != 0x6;
+ return (m_modifiers->read() & 0x6) == 0x6;
}
WRITE_LINE_MEMBER(pp_state::printer_busy_w)