MakeChannel0JumpCommand

nn::gr::CTR::MakeChannel0JumpCommand Function

Syntax

bit32 * MakeChannel0JumpCommand(
     bit32 * command,
     const uptr commandBufferPtr,
     const size_t commandBufferSize
);

Parameters

Name Description
in command The start address for storing the rendering command.
in commandBufferPtr Address of the jump destination command buffer.
in commandBufferSize Byte size of the jump destination command buffer.

Return Values

Returns the address that follows the end of the stored rendering command.

Description

Adds a command set for jumping to another command buffer (executed on Channel 0).

commandBufferPtr specifies the address of the jump destination command buffer, while commandBufferSize specifies the byte size of the jump destination command buffer.

Store commands generated by this function at the end of the command buffer. Because the byte size of the command buffer must be a multiple of sixteen, you must create dummy write commands ahead of time to adjust the byte size.

The byte size of commands added by this function is 24 bytes.

See Also

nn::gr::CTR::MakeChannel1JumpCommand

Revision History

2011/07/29
Initial version.

CONFIDENTIAL