Rev 145 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 159 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | format ELF |
1 | format ELF |
- | 2 | include "public_stdcall.inc" |
|
2 | section '.text' executable |
3 | section '.text' executable |
3 | public _msys_wait_for_event_infinite |
4 | public_stdcall _msys_wait_for_event_infinite,0 |
4 | _msys_wait_for_event_infinite: |
- | |
5 | mov eax,10 |
5 | mov eax,10 |
6 | int 0x40 |
6 | int 0x40 |
7 | ret |
7 | ret |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | public _msys_check_for_event |
- | |
10 | _msys_check_for_event: |
9 | public_stdcall _msys_check_for_event,0 |
11 | mov eax,11 |
10 | mov eax,11 |
12 | int 0x40 |
11 | int 0x40 |
Line 13... | Line 12... | ||
13 | ret |
12 | ret |
14 | - | ||
15 | public _msys_wait_for_event |
13 | |
16 | _msys_wait_for_event: |
14 | public_stdcall _msys_wait_for_event,4 |
17 | ;arg1 - time |
15 | ;arg1 - time |
18 | mov edx,ebx |
16 | mov edx,ebx |
19 | mov eax,23 |
17 | mov eax,23 |
20 | mov ebx,[esp+4] |
18 | mov ebx,[esp+4] |
21 | int 0x40 |
19 | int 0x40 |
Line 22... | Line 20... | ||
22 | mov ebx,edx |
20 | mov ebx,edx |
23 | ret 4 |
- | |
24 | 21 | ret 4 |
|
25 | public _msys_set_wanted_events |
22 | |
26 | _msys_set_wanted_events: |
23 | public_stdcall _msys_set_wanted_events,4 |
27 | ;arg1 - flags |
24 | ;arg1 - flags |
28 | mov edx,ebx |
25 | mov edx,ebx |