Skip to content

Commit

Permalink
Keyboard: PCjr BIOS INT 48h does, in fact, write the translated scan …
Browse files Browse the repository at this point in the history
…code to port 60h before calling INT 9h. So anything written for normal IBM PC should work after all.
  • Loading branch information
joncampbell123 committed Dec 25, 2024
1 parent 041b638 commit cfa08c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ints/bios_keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,7 @@ static Bitu PCjr_INT48_Keyboard_Handler(void) {
#undef UPDATESHIFT
#undef CLEARSHIFT

IO_Write(0x60,reg_al); /* According to the PCjr BIOS listing, INT 48h does "OUT KB_PORT,AL" before calling INT 9h */
reg_eip++; /* skip over IRET */
skip_int9: /* if we do not skip IRET, then INT 48h returns without calling INT 9h */

Expand Down

0 comments on commit cfa08c8

Please sign in to comment.