•  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_LoadSubroutine()
Dsp_RunSubroutine()                                                   XBIOS

Syntax

WORD Dsp_RunSubroutine( handle )
WORD handle;

Function      Dsp_RunSubroutine() begins execution of the specified
              subroutine.

Opcode        118 (0x76)

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

Parameters    handle is the WORD identifier of the DSP subroutine to
              engage.

Binding       move.w   handle,-(sp)
              move.w   #$76,-(sp)
              trap     #14
              addq.l   #4,sp

Return Value  Dsp_RunSubroutine() returns a 0 if successful or a negative
              code indicating failure.

See Also      Dsp_LoadSubroutine()