forked from KolibriOS/kolibrios
51d395d0cc
git-svn-id: svn://kolibrios.org@145 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
346 B
NASM
20 lines
346 B
NASM
format ELF
|
|
section '.text' executable
|
|
public _msys_write_text
|
|
_msys_write_text:
|
|
;arg1 - x
|
|
;arg2 - y
|
|
;arg3 - color
|
|
;arg4 - text
|
|
;arg5 - len
|
|
push ebx esi
|
|
mov eax,4
|
|
mov ebx,[esp+12]
|
|
shl ebx,16
|
|
mov bx,[esp+16]
|
|
mov ecx,[esp+20]
|
|
mov edx,[esp+24]
|
|
mov esi,[esp+28]
|
|
int 0x40
|
|
pop esi ebx
|
|
ret 20 |