Difference between revisions of "APT:AppletUtility"
Jump to navigation
Jump to search
(Added some aptutility command values) |
TimmSkiller (talk | contribs) (Add utility 16 description) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | [[APT:AppletUtility#Utility|Utility]] |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Input Size |
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | Output Size |
|- | |- | ||
| 4 | | 4 | ||
− | | ( | + | | {{IPC/TranslationDescriptor|(Input Size << 14) <nowiki>|</nowiki> 0x402}} |
|- | |- | ||
| 5 | | 5 | ||
− | | | + | | void*, Input |
|} | |} | ||
Line 31: | Line 31: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | ( | + | | (Output Size << 14) <nowiki>|</nowiki> 2 |
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | void*, Output |
|} | |} | ||
Line 50: | Line 50: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | Applet Result | + | | Applet Result |
|} | |} | ||
− | = | + | =Utility= |
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
− | ! | + | ! ID |
− | ! | + | ! Description |
+ | |- | ||
+ | | 0 | ||
+ | | void ClearPowerButtonState() | ||
+ | |- | ||
+ | | 1 | ||
+ | | ? | ||
+ | |- | ||
+ | | 2 | ||
+ | | Sets current applet slot to Home Menu? | ||
+ | |- | ||
+ | | 3 | ||
+ | | void ClearExclusiveControl() | ||
|- | |- | ||
| 4 | | 4 | ||
− | | SleepIfShellClosed | + | | void SleepIfShellClosed() |
|- | |- | ||
| 5 | | 5 | ||
− | | LockTransition | + | | void LockTransition(u32 transition) |
+ | |- | ||
+ | | 6 | ||
+ | | bool TryLockTransition(u32 transition) | ||
|- | |- | ||
| 7 | | 7 | ||
− | | UnlockTransition | + | | void UnlockTransition(u32 transition) |
+ | |- | ||
+ | | 10 | ||
+ | | void StartExitTask() | ||
+ | |- | ||
+ | | 11 | ||
+ | | void SetInitialSenderId(u32 id) | ||
+ | |- | ||
+ | | 12 | ||
+ | | void SetPowerButtonClick() | ||
+ | |- | ||
+ | | 16 | ||
+ | | void UnlockCartAndSdSlot(bool unlocked) (Prevents a "card removed" error when passing true) | ||
+ | |- | ||
+ | | 17 | ||
+ | | ? | ||
+ | |- | ||
+ | | 18 | ||
+ | | ? | ||
|} | |} |
Latest revision as of 00:45, 27 September 2024
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x004B00C2] |
1 | Utility |
2 | Input Size |
3 | Output Size |
4 | Translation descriptor: (Input Size << 14) | 0x402 |
5 | void*, Input |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | (Output Size << 14) | 2 |
1 | void*, Output |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Applet Result |
Utility[edit]
ID | Description |
---|---|
0 | void ClearPowerButtonState() |
1 | ? |
2 | Sets current applet slot to Home Menu? |
3 | void ClearExclusiveControl() |
4 | void SleepIfShellClosed() |
5 | void LockTransition(u32 transition) |
6 | bool TryLockTransition(u32 transition) |
7 | void UnlockTransition(u32 transition) |
10 | void StartExitTask() |
11 | void SetInitialSenderId(u32 id) |
12 | void SetPowerButtonClick() |
16 | void UnlockCartAndSdSlot(bool unlocked) (Prevents a "card removed" error when passing true) |
17 | ? |
18 | ? |