Subversion Repositories Kolibri OS

Rev

Rev 145 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 145 Rev 159
Line 1... Line 1...
1
format ELF
1
format ELF
-
 
2
include "public_stdcall.inc"
2
section '.text' executable
3
section '.text' executable
3
public _msys_make_button
4
public_stdcall _msys_make_button,24
4
_msys_make_button:
-
 
5
;arg1 - x
5
;arg1 - x
6
;arg2 - y
6
;arg2 - y
7
;arg3 - xsize
7
;arg3 - xsize
8
;arg4 - ysize
8
;arg4 - ysize
9
;arg5 - id
9
;arg5 - id
Line 20... Line 20...
20
  mov   eax,8
20
  mov   eax,8
21
  int   0x40
21
  int   0x40
22
  pop   esi ebx
22
  pop   esi ebx
23
  ret   24
23
  ret   24
Line 24... Line 24...
24
  
24
  
25
public _msys_get_button_id  
-
 
26
_msys_get_button_id:
25
public_stdcall _msys_get_button_id,0
27
  mov   eax,17
26
  mov   eax,17
28
  int   0x40
27
  int   0x40
29
  test  al,al
28
  test  al,al
30
  jnz   .no_button
29
  jnz   .no_button