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_SetVectors()Dsp_RemoveInterrupts() XBIOSSyntaxVOID Dsp_RemoveInterrupts( mask )
WORD mask;
Function Dsp_RemoveInterrupts() turns off the generation of DSP interrupts.
Opcode 102 (0x66)
Availability Available only when bit #3 of the '_SND' cookie is set.
Parameters mask is an WORD bit mask indicating which interrupts to turn
off composed of one or both of the following values:
Name Mask Meaning
RTS_OFF 0x01 Disable DSP Ready to Send Interrupts
RTR_OFF 0x02 Disable DSP Ready to Receive Interrupts
Binding move.w mask,-(sp)
move.w #$66,-(sp)
trap #14
addq.l #4,sp
Comments This call is used to terminate interrupts when an interrupt
driven block transfer function does not terminate as expected
(this will occur when less than the expected number of blocks
is returned) and to shut off interrupts installed by
Dsp_SetVectors().
See Also Dsp_SetVectors()