Subversion Repositories Kolibri OS

Rev

Rev 145 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
145 halyavin 1
format ELF
159 halyavin 2
include "public_stdcall.inc"
145 halyavin 3
section '.text' executable
159 halyavin 4
public_stdcall _msys_set_background_size,8
145 halyavin 5
;arg1 - xsize
6
;arg2 - ysize
7
  push  ebx
8
  mov   ecx,[esp+8]
9
  mov   edx,[esp+12]
10
  mov   eax,15
11
  mov   ebx,1
12
  int   0x40
13
  pop   ebx
14
  ret   8
159 halyavin 15
public_stdcall _msys_write_background_mem,8
145 halyavin 16
;arg1 - pos
17
;arg2 - color
18
  push  ebx
19
  mov   eax,15
20
  mov   ebx,2
21
  mov   ecx,[esp+8]
22
  mov   edx,[esp+12]
23
  int   0x40
24
  pop   ebx
25
  ret   8
159 halyavin 26
public_stdcall _msys_draw_background,0
145 halyavin 27
  mov   edx,ebx
28
  mov   eax,15
29
  mov   ebx,3
30
  int   0x40
31
  mov   ebx,edx
32
  ret
159 halyavin 33
public_stdcall _msys_set_background_draw_type,4
145 halyavin 34
;arg1 - type
35
  mov   edx,ebx
36
  mov   eax,15
37
  mov   ebx,4
38
  mov   ecx,[esp+4]
39
  int   0x40
40
  mov   ebx,edx
41
  ret   4
159 halyavin 42
public_stdcall _msys_background_blockmove,12
145 halyavin 43
;arg1 - source
44
;arg2 - position in dest
45
;arg3 - size
46
  push  ebx esi
47
  mov   eax,15
48
  mov   ebx,5
49
  mov   ecx,[esp+12]
50
  mov   edx,[esp+16]
51
  mov   esi,[esp+20]
52
  int   0x40
53
  pop   esi ebx
54
  ret   12