Legacy FIRM PXI: Difference between revisions
Vgturtle127 (talk | contribs) m Fix stuff AGAIN |
No edit summary |
||
Line 55: | Line 55: | ||
| This writes the input 0x80-byte ASCII data to [[Flash_Filesystem|nand:/rw/sys/lgy.log]]. | | This writes the input 0x80-byte ASCII data to [[Flash_Filesystem|nand:/rw/sys/lgy.log]]. | ||
|} | |} | ||
=Command 0x2= | |||
This does the following: | |||
* Waits for an u8 state field to become non-zero. | |||
* Clears DSi memory, etc. | |||
* Loads the DS(i) application specified by the command request titleID. If this fails, it immediately returns the error for this. | |||
* Initializes the DSi memory at 0x02fe7000 and 0x02fffc00. | |||
* Loads the TWL launcher located at physical address [[Memory_layout|0x27C00000]], which was written there by the TwlBg ARM11 process. | |||
* Loads the TWL bootloader, see [[FIRM|here]]. | |||
* Initializes DSi memory/keys, [[IO_Registers|0x10018000]] registers, etc. | |||
* Writes value 0x3 to [[CONFIG_Registers|REG_BOOTENV]], and value 0x1 to an u8 state field. | |||
* Uses [[SVC|svcSignalEvent]], then returns. |