forked from KolibriOS/kolibrios
51d395d0cc
git-svn-id: svn://kolibrios.org@145 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
343 B
NASM
22 lines
343 B
NASM
format ELF
|
|
section '.text' executable
|
|
public _msys_midi_reset
|
|
_msys_midi_reset:
|
|
mov edx,ebx
|
|
mov eax,20
|
|
xor ebx,ebx
|
|
inc ebx
|
|
int 0x40
|
|
mov ebx,edx
|
|
ret
|
|
|
|
public _msys_midi_send
|
|
_msys_midi_send:
|
|
;arg1 - data
|
|
mov edx,ebx
|
|
mov eax,20
|
|
mov ebx,2
|
|
xor ecx,ecx
|
|
mov cl,[esp+4]
|
|
mov ebx,edx
|
|
ret 4 |