Rev 7266 | Rev 7356 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7266 | Rev 7310 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | 89 | ||
90 | inline fastcall dword CheckEvent() |
90 | inline fastcall dword CheckEvent() |
91 | { |
91 | { |
92 | $mov eax,11 |
92 | $mov eax,11 |
- | 93 | $int 0x40 |
|
93 | $int 0x40 |
94 | wait_event_code = EAX; |
Line 94... | Line 95... | ||
94 | } |
95 | } |
95 | 96 | ||
96 | inline fastcall dword WaitEventTimeout(EBX) |
97 | :dword WaitEventTimeout(dword time) |
- | 98 | { |
|
97 | { |
99 | EAX = 23; |
- | 100 | EBX = time; |
|
98 | $mov eax,23 |
101 | $int 0x40 |
Line 99... | Line 102... | ||
99 | $int 0x40 |
102 | wait_event_code = EAX; |
100 | } |
103 | } |
101 | 104 |