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_get_screen_size |
4 | public_stdcall _msys_get_screen_size,8 |
4 | _msys_get_screen_size: |
- | |
5 | ;arg1 - x |
5 | ;arg1 - x |
6 | ;arg2 - y |
6 | ;arg2 - y |
7 | mov eax,14 |
7 | mov eax,14 |
8 | int 0x40 |
8 | int 0x40 |
9 | mov ecx,[esp+8] |
9 | mov ecx,[esp+8] |