LONG Metasetsongtime( drive, dummy, start, end )
WORD drive;
WORD dummy;
LONG start, end;
Metasetsongtime() start playing an audio CD from a start position to an end position.
Opcode
61 (0x3d)
Availability
A
MetaDOS driver must be installed.
Parameters
drive is the letter of a
MetaDOS device, i.e. the
ASCII code for any character from
'A' to
'Z'.
dummy is an unknown parameter.
start is the start position for playing an audio CD.
end is the position where to stop playing an audio CD.
For both start and end, the
LONG as the following format: 00MMSSFF, where MM are minutes, SS are seconds and FF are frames (there are 75 frames per second for a standard audio CD). For example, for 10mn50s05f, the
LONG value would be (10<<16)|(50<<8)|5, or
0x000a3205 in hexadecimal.
Binding
move.l end,-(sp)
move.l start,-(sp)
clr.w -(sp)
move.w drive,-(sp)
move.w #$3d,-(sp)
trap #14
lea 14(sp),sp
Return Value
The LONG value contains 0 if the operation was successful, or a negative error code.