CONFIG11 Registers: Difference between revisions
No edit summary |
|||
Line 266: | Line 266: | ||
==PDN_TWLMODE== | ==PDN_TWLMODE== | ||
Set to 0x8001 when running under TWL_FIRM, 0 NATIVE_FIRM. | |||
The very last 3DS-mode register poke the [[FIRM|TWL_FIRM]] Process9 does before it gets switched into TWL-mode, is writing 0x8000 to this register. Before writing this register, TWL Process9 waits for the value of this register to become non-zero. The Process9 code for this runs from ITCM, since switching into TWL-mode includes remapping all ARM9 physical memory. | The very last 3DS-mode register poke the [[FIRM|TWL_FIRM]] Process9 does before it gets switched into TWL-mode, is writing 0x8000 to this register. Before writing this register, TWL Process9 waits for the value of this register to become non-zero. The Process9 code for this runs from ITCM, since switching into TWL-mode includes remapping all ARM9 physical memory. | ||