Permalink
Browse files

Keyboard: Initialize port 60h to 0xAA on hardware reset. Some demos h…

…ave startup code that assumes the last returned byte has bit 7 set and will act strange otherwise
  • Loading branch information...
joncampbell123 committed Aug 11, 2018
1 parent acb50ad commit 442f5107ee749f2bb2a2e219e08fcc186ea59c50
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/hardware/keyboard.cpp
@@ -2379,6 +2379,7 @@ void KEYBOARD_OnReset(Section *sec) {
write_p61(0,0,0);
KEYBOARD_Reset();
AUX_Reset();
keyb.p60data = 0xAA;
}
void KEYBOARD_Init() {

0 comments on commit 442f510

Please sign in to comment.