aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-03-11 20:45:56 -0400
committerKevin O'Connor <kevin@koconnor.net>2012-03-11 20:45:56 -0400
commit90ce89f8953da0e89c311aa34116b59aac1c6c5e (patch)
treee01f77849ab8b7ef4ac6a07d5b8f7201db2ed828 /src
parentbf079e16f8b0d016eb09787c2aebda359c41391a (diff)
downloadseabios-hppa-90ce89f8953da0e89c311aa34116b59aac1c6c5e.zip
seabios-hppa-90ce89f8953da0e89c311aa34116b59aac1c6c5e.tar.gz
seabios-hppa-90ce89f8953da0e89c311aa34116b59aac1c6c5e.tar.bz2
ps2: Enable keyboard at end of PS2 port irq.
Looks like some old programs expect the keyboard irq to enable the keyboard port at the end of the irq. This behavior was seen on an image of "Concurrent DOS". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/ps2port.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ps2port.c b/src/ps2port.c
index 1f04299..4b27b7a 100644
--- a/src/ps2port.c
+++ b/src/ps2port.c
@@ -404,6 +404,9 @@ handle_09(void)
process_key(v);
+ // Some old programs expect ISR to turn keyboard back on.
+ i8042_command(I8042_CMD_KBD_ENABLE, NULL);
+
done:
eoi_pic1();
}