Creative SB0350 Programming Manual page 108

Hardware programming guide
Table of Contents

Advertisement

B x h
Output
bCommand, bMode, wLength.LowByte, wLength.HighByte
Remarks
The bCommand byte is organized as:
D7
1
where
FIFO will be re-initialized when the DSP receives any new digitized sound I/O
commands.
The bMode byte is organized as:
D7
0
where the signed bit determines whether the data is signed or unsigned. For
minimum signal amplitude, the signed 16-bit value is 0000h; with unsigned data, the
equivalent value is 8000h.
wLength is a word giving the number of 16-bit samples less 1.
Refer to command 1Ch on how to terminate auto-init DMA mode.
command D5h , Pause 16-bit DMA mode digitized sound I/O
See Also
command D6h , Continue 16-bit DMA mode digitized sound I/O
command D9h , Exit 16-bit auto-init DMA mode digitized sound I/O
1.xx
Available
Program 16-bit DMA mode digitized sound I/O
D6
D5
D4
0
1
1
D/A stands for digital-to-analog,
A/D for analog-to-digital,
SC for single-cycle DMA mode,
AI for auto-init DMA mode.
D6
D5
0
stereo
0 = mono
1 = stereo
2.00
2.01+
3.xx
DSP Commands
D3
D2
A/D
Auto-Init
0 = D/A
0 = SC
1 = A/D
1 = AI
D4
D3
signed
0
0 = unsigned
1 = signed
4.xx
6-23
D1
D0
FIFO
0
0 = off
1 = on
D2
D1
D0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents