Changes

Jump to navigation Jump to search
607 bytes added ,  00:03, 2 March 2009
wild guesses
Line 19: Line 19:  
==GX FIFO==
 
==GX FIFO==
 
Graphics processor commands can be 8bit or 32bit, but they must be sent 32bit. The CPU has a 32-bit FIFO accessed through the WGPIPE register at 0xcc008000that will automatically pack data for you. All sorts of graphics data (vertices, primitives, etc) are sent through the FIFO.
 
Graphics processor commands can be 8bit or 32bit, but they must be sent 32bit. The CPU has a 32-bit FIFO accessed through the WGPIPE register at 0xcc008000that will automatically pack data for you. All sorts of graphics data (vertices, primitives, etc) are sent through the FIFO.
 +
===BP registers===
 +
The BP registers are accessed by writing a 8-bit value of 0x61 to the FIFO, followed by 32 bits of something.
 +
===CP registers===
 +
The (internal, there are other CP registers mapped to main memory) CP registers are accessed by writing a 8-bit 0x08 to the FIFO, followed by 8 bits of something and then 32 bits of something.
 +
===XF registers===
 +
The XF registers are accessed by first writing an 8-bit number of 0x10 to the FIFO, then a 32 bit value whose lower 16 bits are the address, and the upper 16 bits are the number of addresses to write to - 1. Following is one or more 32 bit datas.
71

edits

Navigation menu