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_key |
4 | public_stdcall _msys_get_key,0 |
4 | _msys_get_key: |
- | |
5 | mov eax,2 |
5 | mov eax,2 |
6 | int 0x40 |
6 | int 0x40 |
7 | ret |
7 | ret |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | public _msys_set_keyboard_mode |
- | |
10 | _msys_set_keyboard_mode: |
9 | public_stdcall _msys_set_keyboard_mode,4 |
11 | ;arg1 - mode |
10 | ;arg1 - mode |
12 | mov edx,ebx |
11 | mov edx,ebx |
13 | mov eax,66 |
12 | mov eax,66 |
14 | xor ebx,ebx |
13 | xor ebx,ebx |