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
section '.text' executable
3
public _ksys_write_text
4
 
5
_ksys_write_text:
6
;arg1 - x
7
;arg2 - y
8
;arg3 - color
9
;arg4 - text
10
;arg5 - len
11
 
12
  mov   eax,4
13
  mov   ebx,[esp+4]
14
  shl   ebx,16
15
  mov   bx,[esp+8]
16
  mov   ecx,[esp+12]
17
  mov   edx,[esp+16]
18
  mov   esi,[esp+20]
19
  int   0x40
20
 
21
  ret   20