Difference between revisions of "DSP:LoadComponent"

From 3dbrew
Jump to navigation Jump to search
(Updated with the two translated response params.)
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x001100c2]
+
| Header code [0x001100C2]
 
|-
 
|-
 
| 1
 
| 1
| size
+
| Size
 
|-
 
|-
 
| 2
 
| 2
| (halfword) (observed 0x00FF) (Program ram blocks the component should be loaded into)
+
| Program Mask (observed 0x00FF) (Program ram blocks the component should be loaded into)
 
|-
 
|-
 
| 3
 
| 3
| (halfword) (observed 0x00FF) (Data ram blocks the component should be loaded into)
+
| Data Mask (observed 0x00FF) (Data ram blocks the component should be loaded into)
 
|-
 
|-
 
| 4
 
| 4
| (size<<4)  <nowiki>|</nowiki> 0xA
+
| (Size << 4)  <nowiki>|</nowiki> 0xA
 
|-
 
|-
 
| 5
 
| 5
| buffer
+
| Component Buffer
 
|}
 
|}
 +
 
=Response=
 
=Response=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 30: Line 31:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x00110082]
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|-
 
|-
 
| 2
 
| 2
| (Byte)ComponentLoaded (0 is not loaded 1 is loaded)
+
| u8, Component Loaded (0 = not loaded, 1 = loaded)
 +
|-
 +
| 3
 +
| (Size << 4)  <nowiki>|</nowiki> 0xA
 +
|-
 +
| 4
 +
| Component Buffer
 
|}
 
|}
 +
 +
=Description=
 +
This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000). This has been observed to call a subroutine which calls a string named "synthe".

Latest revision as of 02:19, 6 March 2016

Request[edit]

Index Word Description
0 Header code [0x001100C2]
1 Size
2 Program Mask (observed 0x00FF) (Program ram blocks the component should be loaded into)
3 Data Mask (observed 0x00FF) (Data ram blocks the component should be loaded into)
4 (Size << 4) | 0xA
5 Component Buffer

Response[edit]

Index Word Description
0 Header code [0x00110082]
1 Result code
2 u8, Component Loaded (0 = not loaded, 1 = loaded)
3 (Size << 4) | 0xA
4 Component Buffer

Description[edit]

This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000). This has been observed to call a subroutine which calls a string named "synthe".