Hotkeys are now supported

git-svn-id: svn://kolibrios.org@92 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond)
2006-06-30 12:23:15 +00:00
parent c1783c769f
commit 56d23ae060
5 changed files with 445 additions and 201 deletions

View File

@@ -69,12 +69,21 @@ get_event_for_app:
movzx edx,word [0xC000+ecx*2]
mov eax, [0x3004]
cmp eax,edx
jne no_eventoccur2
jne no_eventoccur2x
cmp [0xf400],byte 0
je no_eventoccur2
je no_eventoccur2x
eventoccur2:
popad
mov eax,2
ret
no_eventoccur2x:
mov eax, hotkey_buffer
@@:
cmp [eax], ecx
jz eventoccur2
add eax, 8
cmp eax, hotkey_buffer+120*8
jb @b
no_eventoccur2:
;mov edi,[0x3010] ; BUTTON IN BUFFER