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-FileUnlocksnd()Locksnd() XBIOSSyntaxLONG Locksnd( VOID )
Function Locksnd() prevents other applications from simultaneously
attempting to use the sound system.
Opcode 128 (0x80)
Availability Available only when bit #2 of the '_SND' cookie is set.
Binding move.w #$80,-(sp)
trap #14
addq.l #2,sp
Return Value Locksnd() returns 1 if the sound system was successfully
locked or SNDLOCKED (-129) if the sound system was already
locked.
Comments This call should be used prior to any usage of the 16-bit
DMA sound system.
See Also Unlocksnd()