Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. format ELF
  2. include "public_stdcall.inc"
  3. section '.text' executable
  4. public_stdcall _ksys_midi_reset,0
  5.   mov  edx,ebx
  6.   mov  eax,20
  7.   xor  ebx,ebx
  8.   inc  ebx
  9.   int  0x40
  10.   mov  ebx,edx
  11.   ret
  12.  
  13. public_stdcall _ksys_midi_send,4
  14. ;arg1 - data
  15.   mov  edx,ebx
  16.   mov  eax,20
  17.   mov  ebx,2
  18.   xor  ecx,ecx
  19.   mov  cl,[esp+4]
  20.   mov  ebx,edx
  21.   ret  4