[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load average patch for MiNT 1.09.



Stephen Usher <Stephen.Usher@earth.ox.ac.uk> writes:

|> BUGS

|> 	The uptime and load average code uses the Vertical Blank Interrupt
|> 	to update its values and assumes that the interrupt will happen
|> 	60 times per second. This is a false assumption on PAL STs running
|> 	in either ST Low or ST Medium resolutions in which case the uptime
|> 	clock will run slow.

It's worse than that, in ST High the frame clock is 72 Hz (on
ST/STe's), and the uptime clock will run too fast. You should never
make any assumptions about the frequency of the VBI. If you want a
reliable clock, use etv_timer.