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_write_text,20
145 halyavin 5
;arg1 - x
6
;arg2 - y
7
;arg3 - color
8
;arg4 - text
9
;arg5 - len
10
  push  ebx esi
11
  mov   eax,4
12
  mov   ebx,[esp+12]
13
  shl   ebx,16
14
  mov   bx,[esp+16]
15
  mov   ecx,[esp+20]
16
  mov   edx,[esp+24]
17
  mov   esi,[esp+28]
18
  int   0x40
19
  pop   esi ebx
20
  ret   20