Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileDsp_ExecProg()Dsp_LoadProg()Dsp_LodToBinary() XBIOSSyntaxLONG Dsp_LodToBinary( file, codeptr )
char *file,*codeptr;
Function Dsp_LodToBinary() reads a '.LOD' file and converts the ASCII
data to binary program code ready to be sent to the DSP via
Dsp_ExecProg() or Dsp_ExecBoot().
Opcode 111 (0x6F)
Availability Available only when bit #3 of the '_SND' cookie is set.
Parameters file is a character pointer to a null-terminated GEMDOS file
specification. codeptr should point to a large enough buffer
to hold the resulting binary program code.
Binding pea codeptr
pea file
move.w #$6F,-(sp)
trap #14
lea 10(sp),sp
Return Value Dsp_LodToBinary() returns the size of the resulting program
code in DSP words or a negative error code.
See Also Dsp_ExecProg(), Dsp_LoadProg()