Difference between revisions of "DSP Services"

From 3dbrew
Jump to navigation Jump to search
Line 5: Line 5:
 
!  Command Header
 
!  Command Header
 
!  Description
 
!  Description
 +
|-
 +
| 0x00010040
 +
| RecvData
 +
|-
 +
| 0x00020040
 +
| RecvDataIsReady
 +
|-
 +
| 0x00070040
 +
| SetSemaphore
 +
|-
 +
| 0x000C0040
 +
| ConvertProcessAddressFromDspDram
 +
|-
 +
| 0x000D0082
 +
| WriteProcessPipe
 +
|-
 +
| 0x001000C0
 +
| ReadPipeIfPossible
 
|-
 
|-
 
| 0x001100C2
 
| 0x001100C2
| Initialize. This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000).
+
| LoadComponent. This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000).
 
|-
 
|-
 
| 0x00120000
 
| 0x00120000
| Shutdown
+
| UnloadComponent
 
|-
 
|-
 
| 0x00130082
 
| 0x00130082
| FlushDCache (The buffer must be located in the 0x14000000 region)
+
| FlushDataCache (The buffer must be located in the 0x14000000 region)
 
|  
 
|  
 
|-
 
|-
Line 20: Line 38:
 
|-
 
|-
 
| 0x00150082
 
| 0x00150082
| (param0, param1, 0, eventhandle)
+
| RegisterInterruptEvents(param0, param1, 0, eventhandle)
 
|-
 
|-
 
| 0x00160000
 
| 0x00160000
| This obtains an event handle.
+
| GetSemaphoreEventHandle
 
|-
 
|-
 
| 0x00170040
 
| 0x00170040
|  
+
| SetSemaphoreMask
 
|-
 
|-
 
| 0x00180040
 
| 0x00180040

Revision as of 15:35, 14 April 2014

DSP service "dsp::DSP"

Command Header Description
0x00010040 RecvData
0x00020040 RecvDataIsReady
0x00070040 SetSemaphore
0x000C0040 ConvertProcessAddressFromDspDram
0x000D0082 WriteProcessPipe
0x001000C0 ReadPipeIfPossible
0x001100C2 LoadComponent. This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000).
0x00120000 UnloadComponent
0x00130082 FlushDataCache (The buffer must be located in the 0x14000000 region)
0x00140082 InvalidateDCache (The buffer must be located in either the 0x14000000 region, or the DSP memory region)
0x00150082 RegisterInterruptEvents(param0, param1, 0, eventhandle)
0x00160000 GetSemaphoreEventHandle
0x00170040 SetSemaphoreMask
0x00180040
0x00190040

This is the main service for playing audio. The CSND service can be used for playing audio as well, however most processes use this DSP service for playing audio. The DSP and CSND hardware can play audio simultaneously.