BOSSU:RegisterTask: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B00C2] |- | 1 | TaskID buffer size |- | 2 | ? |- | 3 | ? |- | 4 | (Size <<..."
 
DaniElectra (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x000B|3|2}}
!  Index Word
{{IPC/RequestEntry|u32, Task ID size, including NULL terminator}}
!  Description
{{IPC/RequestEntry|bool, TaskOption configured}}
|-
{{IPC/RequestEntry|u8, Step ID}}
| 0
{{IPC/MapPointerR|Task ID buffer}}
| Header code [0x000B00C2]
{{IPC/RequestEnd}}
|-
| 1
| TaskID buffer size
|-
| 2
| ?
|-
| 3
| ?
|-
| 4
| (Size << 4)  <nowiki>|</nowiki> 0xA
|-
| 5
| TaskID data Pointer
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x000B|1|2}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/MapPointerR|Task ID buffer}}
| 0
{{IPC/RequestEnd}}
| Header code
 
|-
=Description=
| 1
Registers a task for the program ID of the current session and updates the BOSS savedata immediately, using information previously configured with [[BOSSU:SendProperty]].
| Result code
 
|}
The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.

Latest revision as of 18:49, 1 February 2025

Request

Index Word Description
0
Header 0x000B00C2 Cmd 0x000B Param 3 Xlat 2
1 u32, Task ID size, including NULL terminator
2 bool, TaskOption configured
3 u8, Step ID
4 Descriptor for mapping a read-only buffer in the target process
5 Task ID buffer

Response

Index Word Description
0
Header 0x000B0042 Cmd 0x000B Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Task ID buffer

Description

Registers a task for the program ID of the current session and updates the BOSS savedata immediately, using information previously configured with BOSSU:SendProperty.

The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.