GPU/External Registers: Difference between revisions

MarcusD (talk | contribs)
Start cleaning up rotated screen clutter from PDC reg descriptions and add some mroe info
MarcusD (talk | contribs)
m Fix a missing brace in calculation and make register more clear
Line 156: Line 156:
| The total width of a timing scanline. In other words, this is the horizontal refresh clock divider value.
| The total width of a timing scanline. In other words, this is the horizontal refresh clock divider value.


HClock = PClock / (this value + 1)
HClock = PClock / (HTotal + 1)
|-
|-
| 0x04
| 0x04
Line 218: Line 218:
| Total height of the timing window. Can be interpreted as the vertical clock divider.
| Total height of the timing window. Can be interpreted as the vertical clock divider.


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) / (250 + 1) / (494 + 1)).
|-
|-
| 0x28
| 0x28