•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
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_InqSubrAbility()
Dsp_GetProgAbility()                                                  XBIOS

Syntax

WORD Dsp_GetProgAbility( VOID )

Function      Dsp_GetProgAbility() returns the current ability code for
              the program currently residing in DSP memory.

Opcode        114 (0x72)

Availability  Available only when bit #3 of the '_SND' cookie is set.

Binding       move.w   #$72,-(sp)
              trap     #14
              addq.l   #2,sp

Return Value  Dsp_GetProgAbility() returns the WORD ability code for the
              current program loaded in the DSP.

Comments      If you know the defined ability code of the program you wish
              to use, you can use this call to see if the program already
              exists on the DSP and avoid reloading it.

See Also      Dsp_InqSubrAbility()