forked from KolibriOS/kolibrios
keys handling in bcdclk
git-svn-id: svn://kolibrios.org@2025 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3693107e89
commit
257b5d233a
@ -35,6 +35,9 @@ still:
|
|||||||
cmp eax,1 ; redraw ?
|
cmp eax,1 ; redraw ?
|
||||||
je red
|
je red
|
||||||
|
|
||||||
|
cmp eax, 2 ; key
|
||||||
|
je key
|
||||||
|
|
||||||
cmp eax,3 ; button in buffer ?
|
cmp eax,3 ; button in buffer ?
|
||||||
je button
|
je button
|
||||||
|
|
||||||
@ -42,6 +45,11 @@ still:
|
|||||||
|
|
||||||
jmp still
|
jmp still
|
||||||
|
|
||||||
|
key:
|
||||||
|
mov eax, 2
|
||||||
|
int 0x40
|
||||||
|
jmp still
|
||||||
|
|
||||||
button:
|
button:
|
||||||
mov al,17 ; get id
|
mov al,17 ; get id
|
||||||
mcall
|
mcall
|
||||||
|
Loading…
Reference in New Issue
Block a user