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_line,20
145 halyavin 5
;arg1 - x1
6
;arg2 - y1
7
;arg3 - x2
8
;arg4 - y2
9
;arg5 - color
10
  push  ebx
11
  mov   ebx,[esp+8]
12
  shl   ebx,16
13
  mov   bx,[esp+16]
14
  mov   ecx,[esp+12]
15
  shl   ecx,16
16
  mov   cx,[esp+20]
17
  mov   edx,[esp+24]
18
  mov   eax,38
19
  int   0x40
20
  pop   ebx
21
  ret   20