GSP Shared Memory: Difference between revisions
Remove GX_ function names, since this is not an API documentation for <wherever the names come from> |
|||
Line 105: | Line 105: | ||
=Commands= | =Commands= | ||
== | == Trigger DMA Request == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 132: | Line 132: | ||
This command is normally used to DMA data from the application GSP [[Memory_layout|heap]] to VRAM. | This command is normally used to DMA data from the application GSP [[Memory_layout|heap]] to VRAM. | ||
== | == Trigger Command List Processing == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 159: | Line 159: | ||
This command converts the specified address to a physical address, then writes the physical address and size to the [[GPU]] registers at 0x1EF018E0. This buffer contains [[GPU_Commands|GPU commands]]. | This command converts the specified address to a physical address, then writes the physical address and size to the [[GPU]] registers at 0x1EF018E0. This buffer contains [[GPU_Commands|GPU commands]]. | ||
== | == Trigger Memory Fill == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 193: | Line 193: | ||
The associated buffer address must not be <= to the main buffer address, thus the associated buffer address must not be zero as well. When the bufX address is zero, processing for the bufX parameters is skipped. | The associated buffer address must not be <= to the main buffer address, thus the associated buffer address must not be zero as well. When the bufX address is zero, processing for the bufX parameters is skipped. | ||
== | == Trigger Display Transfer == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 229: | Line 229: | ||
Some color formats seem to require specific input / output sizes when performing a display transfer, doing an RGB5A1->RGBA4 display transfer would never fire the PPF interrupt with a 32x32 buffer, increasing the buffer to 128x128 made it fire correctly. | Some color formats seem to require specific input / output sizes when performing a display transfer, doing an RGB5A1->RGBA4 display transfer would never fire the PPF interrupt with a 32x32 buffer, increasing the buffer to 128x128 made it fire correctly. | ||
== | == Trigger Texture Copy == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 260: | Line 260: | ||
|} | |} | ||
This command is similar to cmd3 | This command is similar to cmd3. It also writes to the [[GPU]] registers at 0x1EF00C00. It's unknown where the difference is. | ||
== | == Prepare Command List Processing == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- |