Changes

81 bytes removed ,  21:57, 26 February 2014
m
Line 170: Line 170:  
== Registers ==
 
== Registers ==
 
It is not yet fully understood how registers are organized. It does however seem that registers are separated into various banks, some RO, some WO and some RW. Because of this separation, a given register ID may not refer to the same register value when it is used as SRC or as DST. Since the PICA200 does not support fragment shaders, WO registers are fixed function.
 
It is not yet fully understood how registers are organized. It does however seem that registers are separated into various banks, some RO, some WO and some RW. Because of this separation, a given register ID may not refer to the same register value when it is used as SRC or as DST. Since the PICA200 does not support fragment shaders, WO registers are fixed function.
  −
RO registers :
  −
{| class="wikitable" border="1"
  −
|-
  −
!  Register ID
  −
!  Description
  −
|-
  −
|  0x0
  −
|  vertex.position
  −
|-
  −
|  0x1
  −
|  vertex.texcoord ?
  −
|-
  −
|  0x4
  −
|  vertex.color ?
  −
|-
  −
|  0x6
  −
|  vertex.color ?
  −
|}
      
WO registers :
 
WO registers :
Line 210: Line 191:  
(these are mostly guesses aside from vertex.position and result.position)
 
(these are mostly guesses aside from vertex.position and result.position)
    +
Attribute (input, RO) registers are located within the 0x0-0x10 range. What data they are fed is specified by the CPU.
 
Registers within the 0x20-0x40 ranges seem to be RW. They are often used to access matrix data.
 
Registers within the 0x20-0x40 ranges seem to be RW. They are often used to access matrix data.
373

edits