Rev 145 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 159 | ||
---|---|---|---|
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 |
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 |
13 | ret |
12 | ret |
14 | 13 | ||
15 | public _msys_wait_for_event |
- | |
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 |
22 | mov ebx,edx |
20 | mov ebx,edx |
23 | ret 4 |
21 | ret 4 |
24 | 22 | ||
25 | public _msys_set_wanted_events |
- | |
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 |
29 | mov eax,40 |
26 | mov eax,40 |
30 | mov ebx,[esp+4] |
27 | mov ebx,[esp+4] |
31 | int 0x40 |
28 | int 0x40 |
32 | mov ebx,edx |
29 | mov ebx,edx |
33 | ret 4 |
30 | ret 4 |