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_Hf1()Dsp_Hf0() XBIOSSyntaxWORD Dsp_Hf0( flag )
WORD flag;
Function Dsp_Hf0() reads/writes to bit #3 of the HSR.
Opcode 119 (0x77)
Availability Available only when bit #3 of the '_SND' cookie is set.
Parameters flag has three legal values as follows:
Name flag Meaning
HF_CLEAR 0 Clear bit #3 of the DSP's HSR.
HF_SET 1 Set bit #3 of the DSP's HSR.
HF_INQUIRE -1 Return the current value of bit #3 of the
DSP's HSR.
Binding move.w flag,-(sp)
move.w #$77,-(sp)
trap #14
addq.l #4,sp
Return Value If flag is HF_INQUIRE (1), Dsp_Hf0() returns the current
state of bit #3 of the HSR register.
See Also Dsp_Hf1()