•  Back 
  •  DSP programming 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.11.22  Dsp_Lock                                                  TOS

 Name:         »Dsp_Lock« - Inquire availability of the DSP

 Opcode:       104

 Syntax:       int16_t Dsp_Lock( void );

 Description:  The function Dsp_Lock inquires whether the DSP is 
               available for calling applications and has not been 
               blocked by something else.

 Return value: The function returns the value -1 if the DSP is being 
               used already by another process. A return value of 0 on 
               the other hand signifies the availability of the DSP 
               and blocks this simultaneously for others, until a call 
               of Dsp_Unlock is received.

 Availability: The function is available only on computers with the 
               DSP-56001 signal processor.

 Group:        DSP programming

 See also:     Binding   Dsp_Unlock   Dsp_Available   Dsp_Reserve 
               Dsp_LoadProg   Dsp_ExecProg   Dsp_ExecBoot