Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. format ELF
  2. section '.text' executable
  3. public _msys_wait_for_event_infinite
  4. _msys_wait_for_event_infinite:
  5.   mov  eax,10
  6.   int  0x40
  7.   ret
  8.  
  9. public _msys_check_for_event
  10. _msys_check_for_event:
  11.   mov  eax,11
  12.   int  0x40
  13.   ret
  14.  
  15. public _msys_wait_for_event
  16. _msys_wait_for_event:
  17. ;arg1 - time
  18.   mov  edx,ebx
  19.   mov  eax,23
  20.   mov  ebx,[esp+4]
  21.   int  0x40
  22.   mov  ebx,edx
  23.   ret  4
  24.  
  25. public _msys_set_wanted_events
  26. _msys_set_wanted_events:
  27. ;arg1 - flags
  28.   mov  edx,ebx
  29.   mov  eax,40
  30.   mov  ebx,[esp+4]
  31.   int  0x40
  32.   mov  ebx,edx
  33.   ret  4