NS and APT Services

From 3dbrew
Revision as of 00:24, 27 January 2013 by Yellows8 (talk | contribs)
Jump to navigation Jump to search

The NS system module is the first module launched from a NAND title after the core processes sm, fs, pm, loader, and pxi are loaded. This module is launched by the pm process, with the titleID loaded from NSTID. NS first launches ErrDisp, then the menu. On retail the menu TID is loaded from MENUTID, while on dev/debug the menu TID is loaded from config. The TID of the launched menu is then written to ACTIVEMENUTID. NS uses pm:app to launch titles.

Like home menu NS is constantly running while the system is in 3DS-mode.

Alternate menu

When launching the regular menu fails, NS will then attempt to launch the alternate menu. This title could be used as a recovery process, however it normally doesn't exist on retail.

NS Service "ns:s"

Command Header Description
0x000200C0 LaunchTitle

NS Service "APT:U"

Command Header Description
0x000B0040 APTU:GetSignalType

These applet services can handle launching "applets", APT:U handles signaling for home/power button as well.

NS Service "APT:S"