APT:Initialize: Difference between revisions

Smea (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00020080] |- | 1 | AppID |- | 2 | Value 0x0 ? |} =Response= {| class="wikitable..."
 
Neobrain (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| AppID
| [[NS_and_APT_Services#AppIDs|AppID]]
|-
|-
| 2
| 2
| Value 0x0 ?
| [[NS_and_APT_Services#AppletAttr|AppletAttr]]
|}
|}


Line 28: Line 28:
|-
|-
| 2
| 2
| ?
| 0x04000000 ([[IPC|translation descriptor]])
|-
|-
| 3
| 3
| Notification event handle, used for detecting HOME event
| Notification Event Handle (call [[APT:InquireNotification]] when triggered)
|-
|-
| 4
| 4
| Another event handle, use unclear
| Resume Event Handle (triggered at start of execution and when returning to app from home menu)
|}
|}
=Description=
The [[NS_and_APT_Services#AppletAttr|AppletAttr]] [[NS_and_APT_Services#AppletPos|AppletPos]] must not be larger than 6, otherwise NS calls [[SVC|svcBreak]]. [[NS_and_APT_Services#AppletAttr|AppletAttr]] bitmask 0x20000000 must not be set when the [[NS_and_APT_Services#AppletAttr|AppletAttr]] [[NS_and_APT_Services#AppletPos|AppletPos]] == POS_SYS and using this command via APT:U, otherwise NS calls [[SVC|svcBreak]].