Skip to content

Instantly share code, notes, and snippets.

@Ringdingcoder
Created November 12, 2020 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ringdingcoder/ea1b80002c9a3b17518161bd08891389 to your computer and use it in GitHub Desktop.
Save Ringdingcoder/ea1b80002c9a3b17518161bd08891389 to your computer and use it in GitHub Desktop.
TVision keyboard patch
--- SYSINT.ASM.orig 2018-01-22 20:32:13.107652434 +0100
+++ SYSINT.ASM 2018-01-22 20:32:25.772508000 +0100
@@ -510,6 +510,11 @@
MOV DS,AX
ENDIF
MOV DI,DS:KeyBufTail
+@@10: IN AL,64h
+ TEST AL,2
+ JNE @@10
+ MOV AL,0ADH
+ OUT 64h,AL
IN AL,60H
MOV AH,DS:KeyFlags
PUSHF
@Ringdingcoder
Copy link
Author

Referenced here: Ringdingcoder/qemu@4160700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment