CSND Services: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 19: | Line 19: | ||
|-  | |-  | ||
| 0x00050000  | | 0x00050000  | ||
|    | | This returns an unknown bitmask u32 at responseword[2], this command is used for CSND initialization after command 0x00010140 is used.  | ||
|-  | |-  | ||
| 0x00060000  | | 0x00060000  | ||
Revision as of 01:33, 27 August 2013
CSND service "csnd:SND"
| Command Header | Description | 
|---|---|
| 0x00010140 | Initialize | 
| 0x00020000 | Shutdown | 
| 0x00030040 | This triggers processing for the command(0x20-bytes) written to shared-memory, at the specified shared-mem offset(type0). | 
| 0x00040080 | This triggers processing for the command(0x3C-bytes) written to shared-memory, at the specified shared-mem entry index(type1). | 
| 0x00050000 | This returns an unknown bitmask u32 at responseword[2], this command is used for CSND initialization after command 0x00010140 is used. | 
| 0x00060000 | |
| 0x00070000 | |
| 0x00080040 | |
| 0x00090082 | FlushDCache (The address must be located in the 0x14000000 region) | 
| 0x000A0082 | StoreDCache (svcStoreProcessDataCache is used for this, the address must be located in the 0x14000000 region) | 
| 0x000B0082 | InvalidateDCache (The address must be located in the 0x14000000 region) | 
| 0x000C0000 | 
This service is normally used for playing CWAVs. The audio data must be located in the 0x14000000 virtual memory region, since CSND requires the physical address for playing the audio.