forked from KolibriOS/kolibrios
Function 2 (get the code of the pressed key) for AL = 0 in EAX bits 16-23 = contain scancode for pressed key
git-svn-id: svn://kolibrios.org@4588 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -488,7 +488,12 @@ send_scancode:
|
||||
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
|
||||
;---------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user