GPU/External Registers: Difference between revisions

Line 114: Line 114:
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 ==
== GPU Commands ==
The buffer for [[GX_Commands|GX command]] 1 with the registers at 0x1EF018E0 is used for OpenGL commands, each 8-byte entry in the buffer is a GL command. Cmd+0 is the command parameter, and cmd+4 is the cmdID.
The buffer for [[GX_Commands|GX command]] 1 with the registers at 0x1EF018E0 is used for GPU commands including OpenGL commands, each 8-byte entry in the buffer is a command. Cmd+0 is the command parameter, and cmd+4 is the cmdID.


=== Commands ===
=== Commands ===