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_draw_bar,20
  5. ;arg1 - x
  6. ;arg2 - y
  7. ;arg3 - xsize
  8. ;arg4 - ysize
  9. ;arg5 - color
  10.   push  ebx
  11.   mov   eax,13
  12.   mov   ebx,[esp+8]
  13.   shl   ebx,16
  14.   mov   bx,[esp+16]
  15.   mov   ecx,[esp+12]
  16.   shl   ecx,16
  17.   mov   cx,[esp+20]
  18.   mov   edx,[esp+24]
  19.   int   0x40
  20.   pop   ebx
  21.   ret   20