/kernel/trunk/hid/keyboard.inc |
---|
488,7 → 488,12 |
jae .exit.irq1 |
inc eax |
mov [KEY_COUNT], al |
mov [KEY_COUNT+eax], bl |
; store ascii or scancode |
mov [KEY_COUNT+eax], bl ; actually KEY_BUFF + EAX - 1 |
; store original scancode |
add eax, 120+2 |
mov [KEY_COUNT+eax], ch ; actually KEY_BUFF + EAX - 1 |
sub eax, 120+2 |
.exit.irq1: |
ret |
;--------------------------------------------------------------------- |