DSP:LoadComponent: Difference between revisions

Ichfly (talk | contribs)
ups
Merry (talk | contribs)
Updated with the two translated response params.
 
(11 intermediate revisions by 4 users not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x001100c2]
| Header code [0x001100C2]
|-
|-
| 1
| 1
| size
| Size
|-
|-
| 2
| 2
| ?(halfword)
| Program Mask (observed 0x00FF) (Program ram blocks the component should be loaded into)
|-
|-
| 3
| 3
| ?(halfword)
| 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)
| 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".