Line 147:
Line 147:
|-
|-
| 0x00
| 0x00
−
| Pixel clock
+
| H-total (V-total on not physically rotated screens).
−
| Higher values are slower, 12bits.
+
| 12bits.
Setting this value too low will make the screen not be able to sync any pixels other than a single one from the wrong location. The lowest the screen can handle is 0x1C2, at 0x1C1 the display loses a few scanlines worth of pixel clock (though not noticable).
Setting this value too low will make the screen not be able to sync any pixels other than a single one from the wrong location. The lowest the screen can handle is 0x1C2, at 0x1C1 the display loses a few scanlines worth of pixel clock (though not noticable).
Line 198:
Line 198:
|-
|-
| 0x24
| 0x24
−
| Low: ???
+
| V-total (H-total on not physically rotated screens).
−
High: ???
| The low 12bit halfword seems to affect:
| The low 12bit halfword seems to affect:
−
- the total amount of scanlines displayed
+
Total scanlines including porches/sync timing. Setting this to 494 lowers framerate to about 50.040660858 Hz.
−
−
- vertical pixel data offset if the GPU can't VSync properly
−
−
- VSync length
|-
|-
| 0x28
| 0x28