Changes

79 bytes added ,  10:50, 30 June 2014
no edit summary
Line 12: Line 12:  
| RecvDataIsReady
 
| RecvDataIsReady
 
|-
 
|-
| 0x0003....
+
| 0x00030080
 
| SendData
 
| SendData
 
|-
 
|-
| 0x0004....
+
| 0x00040040
| SendDataIsReady
+
| SendDataIsEmpty
 
|-
 
|-
 
| 0x0005...
 
| 0x0005...
Line 25: Line 25:  
|-
 
|-
 
| 0x0007....
 
| 0x0007....
| [[DSP:WriteReg0x10|WriteReg0x10]] (SetSemaphore?)
+
| [[DSP:WriteReg0x10|WriteReg0x10]] SetSemaphore
 
|-
 
|-
| 0x0008....
+
| 0x00080000
| ReadReg0x1C
+
| GetSemaphore
 
|-
 
|-
| 0x0009....
+
| 0x00090040
| WriteReg0x18
+
| ClearSemaphore
 
|-
 
|-
 
| 0x000A....
 
| 0x000A....
 
| WriteReg0x18
 
| WriteReg0x18
 
|-
 
|-
| 0x000B....
+
| 0x000B0000
| GetBit9InReg0x0C
+
| CheckSemaphoreRequest
 
|-
 
|-
 
| 0x000C0040
 
| 0x000C0040
Line 71: Line 71:  
|-
 
|-
 
| 0x00180040
 
| 0x00180040
| TranslateVAtoPA (0x14000000+ -> 0x20000000+, 0x1FF00000+ -> 0x1FF00000+, 0x08000000-0x0E000000 -> 0x00000000+, 0 otherwise)
+
| GetPhysicalAddress (0x14000000+ -> 0x20000000+, 0x1FF00000+ -> 0x1FF00000+, 0x08000000-0x0E000000 -> 0x00000000+, 0 otherwise)
 
|-
 
|-
 
| 0x00190040
 
| 0x00190040
| TranslatePAtoVA (0x20000000+ -> 0x14000000+, 0x1FF00000+ -> 0x1FF00000+, 0 otherwise)
+
| GetVirtualAddress (0x20000000+ -> 0x14000000+, 0x1FF00000+ -> 0x1FF00000+, 0 otherwise)
 
|-
 
|-
| 0x001A....
+
| 0x001A0042
| Wrapper for cdc:DSP cmd 1
+
| SetIirFilterI2S1. Wrapper for cdc:DSP cmd 1
 
|-
 
|-
| 0x001B....
+
| 0x001B0042
| Wrapper for cdc:DSP cmd 2
+
| SetIirFilterI2S1. Wrapper for cdc:DSP cmd 2
 
|-
 
|-
| 0x001C....
+
| 0x001C0082
| Wrapper for cdc:DSP cmd 3
+
| SetIirFilterEQ. Wrapper for cdc:DSP cmd 3
 
|-
 
|-
 
| 0x001D....
 
| 0x001D....
Line 91: Line 91:  
| Wrapper for cdc:DSP cmd 5
 
| Wrapper for cdc:DSP cmd 5
 
|-
 
|-
| 0x001F....
+
| 0x001F0000
| Wrapper for cdc:DSP cmd 6
+
| GetHeadphoneStatus. Wrapper for cdc:DSP cmd 6
 
|-
 
|-
 
| 0x0020....
 
| 0x0020....
 
| Wrapper for cdc:DSP cmd 8
 
| Wrapper for cdc:DSP cmd 8
 
|-
 
|-
| 0x0021....
+
| 0x00210000
| ?isComponentloaded? returns a byte (can be 1 or 0) can be set to 1 in LoadComponent
+
| GetIsDspOccupied returns a byte (can be 1 or 0) can be set to 1 in LoadComponent
 
|}
 
|}
    
This is the main service for playing audio. The [[CSND_Services|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.
 
This is the main service for playing audio. The [[CSND_Services|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.
34

edits