NS and APT Services: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
The NS system module is the first module launched from a NAND title after the core processes sm, fs, [[Process Manager Ports|pm]], loader, and pxi are loaded. This module is launched by the pm process, with the titleID loaded from [[Shared_Registers|REG_NSTID]]. NS first launches [[ErrDisp]], then the menu. On retail the menu TID is loaded from [[Shared_Registers#REG_MENUTID|REG_MENUTID]], while on dev/debug the menu TID is loaded from [[Config Info Blocks|config]]. The TID of the launched menu is then written to [[Shared_Registers#REG_ACTIVEMENUTID|REG_ACTIVEMENUTID]]. NS uses [[PMApp:LaunchTitle|pm:app]] to launch titles.
The NS system module is the first module launched from a NAND title after the core processes sm, fs, [[Process Manager Ports|pm]], loader, and pxi are loaded. This module is launched by the pm process, with the titleID loaded from [[Configuration Memory|NSTID]]. NS first launches [[ErrDisp]], then the menu. On retail the menu TID is loaded from [[Shared_Registers|MENUTID]], while on dev/debug the menu TID is loaded from [[Config Info Blocks|config]]. The TID of the launched menu is then written to [[Configuration Memory|ACTIVEMENUTID]]. NS uses [[PMApp:LaunchTitle|pm:app]] to launch titles.


Like home menu NS is constantly running while the system is in 3DS-mode.
Like home menu NS is constantly running while the system is in 3DS-mode.
Line 6: Line 6:
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.
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" =
= NS Service "ns:s" =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 15: Line 15:
| [[NSS:LaunchTitle|LaunchTitle]]
| [[NSS:LaunchTitle|LaunchTitle]]
|}
|}
= NS Service "APT:U" =
= NS Service "APT:S" =