GPU/External Registers: Difference between revisions
No edit summary |
|||
| Line 54: | Line 54: | ||
|} | |} | ||
These 3 registers are used by [[GX_Commands|GX command]] 1. | These 3 registers are used by [[GX_Commands|GX command]] 1. This is used for OpenGL commands. | ||
== 0x1EF00010 == | == 0x1EF00010 == | ||
| Line 113: | Line 113: | ||
These registers are used by [[GX_Commands|GX command]] 3 and 4. For cmd4, *0x1EF00C18 |= 1 is used instead of just writing value 1. | These registers are used by [[GX_Commands|GX command]] 3 and 4. For cmd4, *0x1EF00C18 |= 1 is used instead of just writing value 1. | ||
== OpenGL Commands == | |||
The buffer for [[GX_Commands|GX command]] 1 with the registers at 0x1EF018E0 is used for OpenGL commands, every 8-bytes in the buffer is a GL command. Cmd+0 is the command parameter, and cmd+4 is the cmdID. | |||
=== Commands === | |||
{| class="wikitable" border="1" | |||
! CommandID | |||
! Description | |||
|- | |||
| 0x000F0010 | |||
| Parameter value is 0x12345678, this command is always the last command in the buffer. | |||
|} | |||