Yamaha OPL3-SA3 Stereo System User Manual


 
YMF715E
May 21, 1997
-27-
9-1-2-1. DSP Command
Listed below are the supported commands of DSP defined Sound Blaster Pro compatibility.
CMD Support Function
10h o 8bit direct mode digitized sound I/O output
14h o 8bit single-cycle DMA mode digitized sound output
16h *1 8bit to 2bit ADPCM single-cycle DMA mode digitized sound output
17h *1 8bit to 2bit ADPCM single-cycle DMA mode digitized sound output with ref. byte
1Ch o 8bit auto-init DMA mode digitized sound output
1Fh *1 8bit to 2bit ADPCM auto-init DMA mode digitized sound output with ref. byte
20h *1 8bit direct mode single byte digitized sound input
24h *1 8bit single-cycle DMA mode digitized sound input
2Ch *1 8bit auto-init DMA mode digitized sound input
30h o Polling mode MIDI input
31h o Interrupt mode MIDI input
34h o UART polling mode MIDI I/O
35h o UART interrupt mode MIDI I/O
36h o(*2) UART polling mode MIDI I/O with time stamping
37h o(*2) UART interrupt mode MIDI I/O with time stamping
38h o MIDI output
40h o Set digitized sound transfer Time Constant
48h o Set DSP block transfer size
74h o 8bit to 4bit ADPCM single-cycle DMA mode digitized sound output
75h o 8bit to 4bit ADPCM single-cycle DMA mode digitized sound output with ref. byte
76h *1 8bit to 3bit ADPCM single-cycle DAM mode digitized sound output
77h *1 8bit to 3bit ADPCM single-cycle DMA mode digitized sound output with ref. byte
7Dh o 8bit to 4bit ADPCM auto-init DMA mode digitized sound output with ref. byte
7Fh *1 8bit to 3bit ADPCM auto-init DMA mode digitized sound output with ref. byte
80h o Pause DAC for a duration
90h o 8bit high-speed auto-init DMA mode digitized sound output
91h o 8bit high-speed single-cycle DMA mode digitized sound output
98h *1 8bit high-speed auto-init DMA mode digitized sound input
99h *1 8bit high-speed single-cycle DMA mode digitized sound input
A0h *1 Set input mode to mono
A8h *1 Set input mode to stereo
D0h o Pause 8bit DMA mode digitized sound I/O
D1h *1 Turn on speaker
D3h *1 Turn off speaker
D4h o Continue 8bit DMA mode digitized sound I/O
D8h *1 Get speaker status
DAh o Exit 8bit auto-init DMA mode digitized sound I/O
E1h o Get DSP version number
Note :
*1) These commands are performed in state-machine, but they are not effective.
*2) MIDI data can not be received.
Additional undocumented commands are included.