•  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_Reserve()
Dsp_Available()                                                       XBIOS

Syntax

VOID Dsp_Available( xavail, yavail )
LONG *xavail, *yavail;

Function      Dsp_Available() returns the amount of free program space in
              X and Y DSP memory.

Opcode        106 (0x6A)

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

Parameters    Upon return, the longwords pointed to by xavail and yavail
              will contain the length of memory (in bytes) available for
              DSP programs and subroutines.

Binding       pea      yavail
              pea      xavail
              move.w   #$6A,-(sp)
              trap     #14
              lea      10(sp),sp

See Also      Dsp_Reserve()