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_putimage,20 |
145 | halyavin | 5 | ;arg1 - x |
6 | ;arg2 - y |
||
7 | ;arg3 - xsize |
||
8 | ;arg4 - ysize |
||
9 | ;arg5 - image |
||
10 | push ebx |
||
11 | mov ebx,[esp+24] |
||
12 | mov ecx,[esp+16] |
||
13 | shl ecx,16 |
||
14 | mov ecx,[esp+20] |
||
15 | mov ebx,[esp+8] |
||
16 | shl ebx,16 |
||
17 | mov ebx,[esp+12] |
||
18 | mov eax,7 |
||
19 | int 0x40 |
||
20 | pop ebx |
||
21 | ret 20 |