Rev 40 | Rev 115 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 40 | Rev 92 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | jz no_eventoccur2 |
67 | jz no_eventoccur2 |
68 | mov ecx, [0x3000] |
68 | mov ecx, [0x3000] |
69 | movzx edx,word [0xC000+ecx*2] |
69 | movzx edx,word [0xC000+ecx*2] |
70 | mov eax, [0x3004] |
70 | mov eax, [0x3004] |
71 | cmp eax,edx |
71 | cmp eax,edx |
72 | jne no_eventoccur2 |
72 | jne no_eventoccur2x |
73 | cmp [0xf400],byte 0 |
73 | cmp [0xf400],byte 0 |
74 | je no_eventoccur2 |
74 | je no_eventoccur2x |
- | 75 | eventoccur2: |
|
75 | popad |
76 | popad |
76 | mov eax,2 |
77 | mov eax,2 |
77 | ret |
78 | ret |
- | 79 | no_eventoccur2x: |
|
- | 80 | mov eax, hotkey_buffer |
|
- | 81 | @@: |
|
- | 82 | cmp [eax], ecx |
|
- | 83 | jz eventoccur2 |
|
- | 84 | add eax, 8 |
|
- | 85 | cmp eax, hotkey_buffer+120*8 |
|
- | 86 | jb @b |
|
78 | no_eventoccur2: |
87 | no_eventoccur2: |
Line 79... | Line 88... | ||
79 | 88 | ||
80 | ;mov edi,[0x3010] ; BUTTON IN BUFFER |
89 | ;mov edi,[0x3010] ; BUTTON IN BUFFER |
81 | test [edi],dword 4 |
90 | test [edi],dword 4 |