Changes

→‎LCD Source Framebuffer Setup: Correct typo in mathematical calculation.
Line 9: Line 9:  
! Name
 
! Name
 
! Comments
 
! Comments
 +
|-
 +
| 0x1EF00000
 +
| 0x10400000
 +
| 4
 +
| Hardware ID
 +
| Bit2: new model
 
|-
 
|-
 
| 0x1EF00004
 
| 0x1EF00004
Line 32: Line 38:  
| 4
 
| 4
 
| VRAM bank control
 
| VRAM bank control
| Bits 8-11 = bank[i] disabled; other bits are unused
+
| Bits 8-11 = bank[i] disabled; other bits are unused.
 
|-
 
|-
 
| 0x1EF00034
 
| 0x1EF00034
Line 38: Line 44:  
| 4
 
| 4
 
| GPU Busy
 
| GPU Busy
| Bit31 = cmd-list busy, bit27 = PSC0 busy, bit26 = PSC1 busy.
+
| Bit26 = PSC0, bit27 = PSC1, Bit30 = PPF, Bit31 = P3D
 
|-
 
|-
 
| 0x1EF00050
 
| 0x1EF00050
Line 235: Line 241:  
VClock = PClock / (HTotal + 1) / (VTotal + 1)
 
VClock = PClock / (HTotal + 1) / (VTotal + 1)
   −
Setting this to 494 lowers framerate to about 50.040660858 Hz ((268111856 / 24) / (250 + 1) / (494 + 1)).
+
Setting this to 494 lowers framerate to about 50.040660858 Hz ((268111856 / 24) / (450 + 1) / (494 + 1)).
 
|-
 
|-
 
| 0x28
 
| 0x28
Line 372: Line 378:  
|-
 
|-
 
| 5-4
 
| 5-4
| Framebuffer scanline output mode (interlace config)
+
| Framebuffer scanline output mode (framebuffer interleave config)
    
  0 - A  (output image as normal)
 
  0 - A  (output image as normal)
  1 - AA (output a single line twice, aka framebuffer A is interlaced with itself)
+
  1 - AA (output a single line twice, so framebuffer A is interleaved with itself)
  2 - AB (interlace framebuffer A and framebuffer B)
+
  2 - AB (interleave framebuffer A and framebuffer B)
 
  3 - BA (same as above, but the line from framebuffer B is outputted first)
 
  3 - BA (same as above, but the line from framebuffer B is outputted first)
   Line 393: Line 399:  
| DMA size
 
| DMA size
   −
  0 - 64 bytes
+
  0 - 4 words (32 bytes)
  1 - 128 bytes
+
  1 - 8 words (64 bytes)
  2 - 256 bytes
+
  2 - 16 words (128 bytes)
 
  3 - ???
 
  3 - ???
   −
FCRAM doesn't support DMA size 3.
+
FCRAM doesn't support DMA size 3, as it can only burst up to 16 words (128 bytes), and will show a black screen instead.
 
|-
 
|-
 
| 31-16
 
| 31-16
23

edits