Difference between revisions of "DSP:LoadComponent"

From 3dbrew
Jump to navigation Jump to search
(Clean up.)
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 33: Line 34:
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|-
 
|-
 
| 2
 
| 2
| (Byte)ComponentLoaded (0 is not loaded 1 is loaded)
+
| u8, Component Loaded (0 = not loaded, 1 = loaded)
 
|}
 
|}
 
  
 
=Description=
 
=Description=
This has been observed to call a subroutine which calls a string named "synthe"
+
This has been observed to call a subroutine which calls a string named "synthe".

Revision as of 06:47, 9 October 2015

Request

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

Index Word Description
0 Header code [0x00110082]
1 Result code
2 u8, Component Loaded (0 = not loaded, 1 = loaded)

Description

This has been observed to call a subroutine which calls a string named "synthe".