ok key release works now
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sun, 13 Oct 2019 15:23:54 +0000 (18:23 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sun, 13 Oct 2019 15:23:54 +0000 (18:23 +0300)
src/keyb.asm

index c41a2b6..d9fdd4e 100644 (file)
@@ -38,6 +38,7 @@ kbintr:
        ; keystate[keycode] address in ebx
        xor ebx, ebx
        mov bl, al
+       and bl, 07fh
        add ebx, keystate
 
        ; determine if it's a press or release