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_Hf0()Dsp_Hf1() XBIOSSyntaxWORD Dsp_Hf1( flag )
WORD flag;
Function Dsp_Hf1() reads/writes to bit #4 of the HSR.
Opcode 120 (0x78)
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 #4 of the DSP's HSR.
HF_SET 1 Set bit #4 of the DSP's HSR.
HF_INQUIRE -1 Return the current value of bit #4 of the
DSP's HSR.
Binding move.w flag,-(sp)
move.w #$78,-(sp)
trap #14
addq.l #4,sp
Return Value If flag is HF_INQUIRE (1), Dsp_Hf1() returns the current
state of bit #4 of the HSR register.
See Also Dsp_Hf0()