Difference between revisions of "Configuration Memory"

From 3dbrew
Jump to navigation Jump to search
m
Line 60: Line 60:
  
 
=== REG_ACTIVEMENUTID ===
 
=== REG_ACTIVEMENUTID ===
This contains the titleID of the currently running menu launched by [[NS]]. Normally this is the home menu TID, but if launching that fails this titleID is the [[Title_list#00040030|alternate]] menu.(On dev units this is the dev menu TID)
+
This contains the titleID of the currently running menu launched by [[NS]]. Normally this is the home menu TID, but if launching that fails this titleID is the [[Title_list#00040030|alternate]] menu.(On dev units this is the [[3DS Development Unit Software#Dev Menu|Dev Menu]] TID)

Revision as of 05:48, 23 July 2012

Registers

NAME PHYSICAL ADDRESS PROCESS VIRTUAL ADDRESS KERNEL VIRTUAL ADDRESS WIDTH
REG_NSTID ? 0x1FF80008 ? 8
REG_SYSCOREVER ? 0x1FF80010 ? 4
REG_UNITINFO ? 0x1FF80014 ? 1
REG_MENUTID ? 0x1FF810A0 ? 8
REG_ACTIVEMENUTID ? 0x1FF810A8 ? 8

REG_NSTID

This register contains the titleID of the first title to launch after various system processes loaded.(This is normally the NS module titleID) If this register titleID is all-zero, the system will not attempt to launch the title.

REG_SYSCOREVER

When launching CXIs, this register value must match the core version field stored in the CXI exheader. If they do not match, the system will refuse to launch the process.

REG_UNITINFO

Bit Description
0 Set for retail, clear for dev/debug?
1-7 NS loads the menu TID from REG_MENUTID when this is clear

REG_MENUTID

This contains the titleID of the retail menu which will be launched by NS.

REG_ACTIVEMENUTID

This contains the titleID of the currently running menu launched by NS. Normally this is the home menu TID, but if launching that fails this titleID is the alternate menu.(On dev units this is the Dev Menu TID)