Difference between revisions of "AM:ReadTwlBackupInfoEx"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00280108] |- | 1 | Buffer 1 Size |- | 2 | Buffer 2 Size |- | 3 | Buffer 3 Siz...")
 
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Buffer 1 Size
+
| Output Info Size (usually 0x20)
 
|-
 
|-
 
| 2
 
| 2
| Buffer 2 Size
+
| Banner Size (usually 0x4000)
 
|-
 
|-
 
| 3
 
| 3
| Buffer 3 Size
+
| Working Buffer Size (must be at least 0x4500)
 
|-
 
|-
 
| 4
 
| 4
|?
+
| Unknown, not used
 
|-
 
|-
 
| 5
 
| 5
Line 24: Line 24:
 
|-
 
|-
 
| 6
 
| 6
| Handle
+
| Export File Handle
 
|-
 
|-
 
| 7
 
| 7
| (Buffer 1 Size << 4) <nowiki>|</nowiki> 0xC
+
| (Output Info Size << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 8
 
| 8
| Buffer 1 Pointer
+
| [[Application_Manager_Services#TwlBackupInfo|TwlBackupInfo]] Pointer. No processing is done when this is left NULL.
 
|-
 
|-
 
| 9
 
| 9
| (Buffer 2 Size << 4) <nowiki>|</nowiki> 0xC
+
| (Banner Size << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 10
 
| 10
| Buffer 2 Pointer
+
| [[DSiWare_Exports|DSiWare]] Banner Output Pointer. No processing is done when this is left NULL.
 
|-
 
|-
 
| 11
 
| 11
| (Buffer 3 Size << 4) <nowiki>|</nowiki> 0xC
+
| (Working Buffer Size << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 12
 
| 12
| Buffer 3 Pointer
+
| Working Buffer Pointer
 
|}
 
|}
  
Line 57: Line 57:
 
| Result code
 
| Result code
 
|}
 
|}
 +
 +
=Description=
 +
This is the same as [[AM:ReadTwlBackupInfo|AM:ReadTwlBackupInfo]], except this command is meant for use with Exports that use 12 content sections.

Latest revision as of 22:07, 1 August 2022

Request[edit]

Index Word Description
0 Header code [0x00280108]
1 Output Info Size (usually 0x20)
2 Banner Size (usually 0x4000)
3 Working Buffer Size (must be at least 0x4500)
4 Unknown, not used
5 0x10
6 Export File Handle
7 (Output Info Size << 4) | 0xC
8 TwlBackupInfo Pointer. No processing is done when this is left NULL.
9 (Banner Size << 4) | 0xC
10 DSiWare Banner Output Pointer. No processing is done when this is left NULL.
11 (Working Buffer Size << 4) | 0xC
12 Working Buffer Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is the same as AM:ReadTwlBackupInfo, except this command is meant for use with Exports that use 12 content sections.