2006-09-07 16:14:53 +02:00
|
|
|
format ELF
|
2006-09-23 16:00:36 +02:00
|
|
|
include "public_stdcall.inc"
|
2006-09-07 16:14:53 +02:00
|
|
|
section '.text' executable
|
2007-10-15 11:42:17 +02:00
|
|
|
public_stdcall _ksys_midi_reset,0
|
2006-09-07 16:14:53 +02:00
|
|
|
mov edx,ebx
|
|
|
|
mov eax,20
|
|
|
|
xor ebx,ebx
|
|
|
|
inc ebx
|
|
|
|
int 0x40
|
|
|
|
mov ebx,edx
|
|
|
|
ret
|
|
|
|
|
2007-10-15 11:42:17 +02:00
|
|
|
public_stdcall _ksys_midi_send,4
|
2006-09-07 16:14:53 +02:00
|
|
|
;arg1 - data
|
|
|
|
mov edx,ebx
|
|
|
|
mov eax,20
|
|
|
|
mov ebx,2
|
|
|
|
xor ecx,ecx
|
|
|
|
mov cl,[esp+4]
|
|
|
|
mov ebx,edx
|
|
|
|
ret 4
|