GSP Shared Memory: Difference between revisions

Smea (talk | contribs)
Line 132: Line 132:
|-
|-
| 1
| 1
| Buf0 address
| Buf0 start address
|-
|-
| 2
| 2
| Buf0 size
| Buf0 value
|-
|-
| 3
| 3
| Buf0 data
| Buf0 end address
|-
|-
| 4
| 4
| Buf1 address
| Buf1 start address
|-
|-
| 5
| 5
| Buf1 size
| Buf1 value
|-
|-
| 6
| 6
| Buf1 data
| Buf1 end address
|-
|-
| 7
| 7
| The low u16 is width0, while the high u16 is width1
| The low u16 is width0, while the high u16 is width1 (?)
|}
|}


This commands converts the specified addresses to physical addresses, then writes these addresses and the specified parameters to the [[GPU]] registers at 0x1EF00010 and 0x1EF00020. 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.
This commands converts the specified addresses to physical addresses, then writes these addresses and the specified parameters to the [[GPU]] registers at 0x1EF00010 and 0x1EF00020. Doing so fills the specified buffers with the associated 4-byte value. This is used to clear GPU framebuffers.
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.


==GX SetDisplayTransfer==
==GX SetDisplayTransfer==