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_RunSubroutine()Dsp_InqSubrAbility() XBIOSSyntaxWORD Dsp_InqSubrAbility( ability )
WORD ability;
Function Dsp_InqSubrAbility() determines if a subroutine with the
specified ability code exists in the DSP.
Opcode 117 (0x75)
Availability Available only when bit #3 of the '_SND' cookie is set.
Parameters ability is the ability code you wish to check.
Binding move.w ability,-(sp)
move.w #$75,-(sp)
trap #14
addq.l #4,sp
Return Value Dsp_InqSubrAbility() returns a handle to the subroutine if
found or 0 if not.
See Also Dsp_RunSubroutine()