Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
647 andrew_pro 1
format ELF
2
include "public_stdcall.inc"
3
section '.text' executable
4
public_stdcall _ksys_putimage,20
5
;arg1 - x
6
;arg2 - y
7
;arg3 - xsize
8
;arg4 - ysize
9
;arg5 - image
10
  push ebx
11
  mov  ebx,[esp+24]
12
  mov  ecx,[esp+16]
13
  shl  ecx,16
14
  mov  ecx,[esp+20]
15
  mov  ebx,[esp+8]
16
  shl  ebx,16
17
  mov  ebx,[esp+12]
18
  mov  eax,7
19
  int  0x40
20
  pop  ebx
21
  ret  20