[stella] Relationship of # of scanlines to framerate

Thomas Jentzsch tjentzsch at web.de
Mon May 19 13:15:19 CDT 2008


Stephen Anthony wrote:
> Can anyone point me to documentation on how the above is determined?
> Specifically, I know NTSC/262 is 60Hz and PAL/312 is 50Hz.  However,
> what 'formula' is used to determine this?  Put another way, if the 
> scanline count was say, 280, what formula would I use to determine the
> framerate?

60*262 (15720) ~= 50*312 (15600)

So bases on the NTSC framerate, the result would be 15720/280 = ~56.1
Hz.

The slightly different values for NTSC and PAL result from the
slightly different CPUs speeds (1.193182 MHz NTSC, 1.182298 MHz PAL).

Have fun!
Thomas                            
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |




More information about the Stella mailing list