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_midi_reset |
4 | public_stdcall _msys_midi_reset,0 |
4 | _msys_midi_reset: |
- | |
5 | mov edx,ebx |
5 | mov edx,ebx |
6 | mov eax,20 |
6 | mov eax,20 |
7 | xor ebx,ebx |
7 | xor ebx,ebx |
8 | inc ebx |
8 | inc ebx |
9 | int 0x40 |
9 | int 0x40 |
10 | mov ebx,edx |
10 | mov ebx,edx |
11 | ret |
11 | ret |
Line 12... | Line 12... | ||
12 | 12 | ||
13 | public _msys_midi_send |
- | |
14 | _msys_midi_send: |
13 | public_stdcall _msys_midi_send,4 |
15 | ;arg1 - data |
14 | ;arg1 - data |
16 | mov edx,ebx |
15 | mov edx,ebx |
17 | mov eax,20 |
16 | mov eax,20 |
18 | mov ebx,2 |
17 | mov ebx,2 |