Subversion Repositories Kolibri OS

Rev

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

  1. format ELF
  2. include "public_stdcall.inc"
  3. section '.text' executable
  4. public_stdcall _msys_get_screen_size,8
  5. ;arg1 - x
  6. ;arg2 - y
  7.   mov   eax,14
  8.   int   0x40
  9.   mov   ecx,[esp+8]
  10.   mov   [ecx],ax
  11.   mov   word [ecx+2],0
  12.   shr   eax,16
  13.   mov   ecx,[esp+4]
  14.   mov   [ecx],eax
  15.   ret   8