2006-09-07 16:14:53 +02:00
|
|
|
format ELF
|
2006-09-23 16:00:36 +02:00
|
|
|
include "public_stdcall.inc"
|
2006-09-07 16:14:53 +02:00
|
|
|
section '.text' executable
|
2006-09-23 16:00:36 +02:00
|
|
|
public_stdcall _msys_wait_for_event_infinite,0
|
2006-09-07 16:14:53 +02:00
|
|
|
mov eax,10
|
|
|
|
int 0x40
|
|
|
|
ret
|
|
|
|
|
2006-09-23 16:00:36 +02:00
|
|
|
public_stdcall _msys_check_for_event,0
|
2006-09-07 16:14:53 +02:00
|
|
|
mov eax,11
|
|
|
|
int 0x40
|
|
|
|
ret
|
|
|
|
|
2006-09-23 16:00:36 +02:00
|
|
|
public_stdcall _msys_wait_for_event,4
|
2006-09-07 16:14:53 +02:00
|
|
|
;arg1 - time
|
|
|
|
mov edx,ebx
|
|
|
|
mov eax,23
|
|
|
|
mov ebx,[esp+4]
|
|
|
|
int 0x40
|
|
|
|
mov ebx,edx
|
|
|
|
ret 4
|
|
|
|
|
2006-09-23 16:00:36 +02:00
|
|
|
public_stdcall _msys_set_wanted_events,4
|
2006-09-07 16:14:53 +02:00
|
|
|
;arg1 - flags
|
|
|
|
mov edx,ebx
|
|
|
|
mov eax,40
|
|
|
|
mov ebx,[esp+4]
|
|
|
|
int 0x40
|
|
|
|
mov ebx,edx
|
|
|
|
ret 4
|