#ifndef __MXMPLAY_H #define __MXMPLAY_H #ifdef __cplusplus extern "C" { #endif int xmpInit(void *mxmmem, unsigned long maxtimerrate); #pragma aux xmpInit parm [esi] [ecx] value [eax] modify [eax ebx ecx edx esi edi] void xmpPlay(); #pragma aux xmpPlay modify [eax ebx ecx edx esi edi] void xmpStop(); #pragma aux xmpStop modify [eax ebx ecx edx esi edi] void xmpSetVolume(unsigned char vol); #pragma aux xmpSetVolume parm [eax] unsigned char xmpGetSync(); #pragma aux xmpGetSync value [al] unsigned short xmpGetPos(); #pragma aux xmpGetPos value [ax] long xmpGetTimer(); #pragma aux xmpGetTimer value [eax] #ifdef __cplusplus }; #endif #endif