7 Mikmod driver for output to a file called MUSIC.RAW
9 !! DO NOT CALL MD_UPDATE FROM A INTERRUPT IF YOU USE THIS DRIVER !!
13 MSDOS: BC(y) Watcom(y) DJGPP(y)
18 (n) - no (not possible or not useful)
19 (?) - may be possible, but not tested
27 #define RAWBUFFERSIZE 8192
31 static char RAW_DMABUF[RAWBUFFERSIZE];
34 static BOOL RAW_IsThere(void)
40 static BOOL RAW_Init(void)
42 if(!(rawout=fopen("music.raw","wb"))){
43 myerr="Couldn't open output file 'music.raw'";
57 static void RAW_Exit(void)
64 static void RAW_Update(void)
66 VC_WriteBytes(RAW_DMABUF,RAWBUFFERSIZE);
67 fwrite(RAW_DMABUF,RAWBUFFERSIZE,1,rawout);
74 "MikMod music.raw file output driver v1.0",