projects
/
ld45_start_nothing
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3ec4a3e
)
ok key release works now
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 13 Oct 2019 15:23:54 +0000
(18:23 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 13 Oct 2019 15:23:54 +0000
(18:23 +0300)
src/keyb.asm
patch
|
blob
|
history
diff --git
a/src/keyb.asm
b/src/keyb.asm
index
c41a2b6
..
d9fdd4e
100644
(file)
--- a/
src/keyb.asm
+++ b/
src/keyb.asm
@@
-38,6
+38,7
@@
kbintr:
; keystate[keycode] address in ebx
xor ebx, ebx
mov bl, al
; 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
add ebx, keystate
; determine if it's a press or release