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_HStat() XBIOSSyntaxBYTE Dsp_Hstat( VOID )
Function Dsp_HStat() returns the value of the DSP's ICR register.
Opcode 125 (0x7D)
Availability Available only when bit #3 of the '_SND' cookie is set.
Binding move.w #$7D,-(sp)
trap #14
addq.l #2,sp
Return Value Dsp_Hstat() returns an 8-bit value representing the current
state of the DSP's ICR register as follows:
Name Bit Meaning
ICR_RXDF 0 ISR Receive data register full (RXDF)
ICR_TXDE 1 ISR Transmit data register empty (TXDE)
ICR_TRDY 2 ISR Transmitter ready (TRDY)
ICR_HF2 3 ISR Host flag 2 (HF2)
ICR_HF3 4 ISR Host flag 3 (HF3)
- 5 Reserved
ICR_DMA 6 ISR DMA Status (DMA)
ICR_HREQ 7 ISR Host Request (HREQ)