GPU/Commands: Difference between revisions

Line 443: Line 443:
|-
|-
| 0x1
| 0x1
| Physical address, relative to the base address.
| Physical address, relative to the base address. When writing each entry: <nowiki>value |= entval << (index * 4)</nowiki>.
|-
|-
| 0x2
| 0x2
| Unknown, value is: 0xF0000000 + (val<<28).
| Unknown, value is: 0xF0000000 + (val<<28).
|-
|-
| 0x3
| 0x3-0x17
| Physical address for the vertex array, relative to the base address.
| 7 entries, each entry is 3 words.
|-
|-
| 0x4-0x26
| 0x18-0x26
| ?
| ?
|}
|}
==== Entry structure ====
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| Physical address, relative to the base address.
|-
| 1
| Entry index
|-
| 2
| Unknown, value is: <nowiki>0x10000000 | (val<<16).</nowiki>
|}
When the entry is unused, the entry data is all-zero. Entry index0 is normally used for the vertex array.


=== Entries for CmdID 0xXXXF02C1 ===
=== Entries for CmdID 0xXXXF02C1 ===