AM:ExportTwlBackup: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001B0144] |- | 1 | TWL TitleID lower word |- | 2 | TWL TitleID upper word |- | 3..."
 
Steveice10 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
| Header code [0x001B0144]
| Header code [0x001B0144]
|-
|-
| 1
| 1-2
| TWL TitleID lower word
| u64, TWL Title ID
|-
| 2
| TWL TitleID upper word
|-
|-
| 3
| 3
| Input path buffer size
| Path Size
|-
|-
| 4
| 4
| Size of working buffer, normally this is 0x20000.
| Working Buffer Size (normally 0x20000)
|-
|-
| 5
| 5
| u8 [[DSiWare_Exports|DSiWare]] export type.
| u8, Export Type
|-
|-
| 6
| 6
| (PathSize<<8) <nowiki>|</nowiki> 10
| (Path Size << 4) <nowiki>|</nowiki> 0xA
|-
|-
| 7
| 7
| Input path buffer ptr
| Path Pointer
|-
|-
| 6
| 8
| (WorkBufSize<<8) <nowiki>|</nowiki> 12
| (Working Buffer Size << 4) <nowiki>|</nowiki> 0xC
|-
|-
| 7
| 9
| Ptr for the working buffer
| Working Buffer Pointer
|}
|}



Latest revision as of 10:14, 17 April 2016

Request

Index Word Description
0 Header code [0x001B0144]
1-2 u64, TWL Title ID
3 Path Size
4 Working Buffer Size (normally 0x20000)
5 u8, Export Type
6 (Path Size << 4) | 0xA
7 Path Pointer
8 (Working Buffer Size << 4) | 0xC
9 Working Buffer Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This is a wrapper for AMPXI:ExportDSiWare.