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_get_screen_size,8 |
145 | halyavin | 5 | ;arg1 - x |
6 | ;arg2 - y |
||
7 | mov eax,14 |
||
8 | int 0x40 |
||
9 | mov ecx,[esp+8] |
||
10 | mov [ecx],ax |
||
11 | mov word [ecx+2],0 |
||
12 | shr eax,16 |
||
13 | mov ecx,[esp+4] |
||
14 | mov [ecx],eax |
||
15 | ret 8 |