Skip to main content

master_clock_hz_ratio

Function master_clock_hz_ratio 

Source
pub const fn master_clock_hz_ratio(region: Region) -> (u64, u64)
Expand description

The master-clock frequency of region as an exact fraction (numerator, denominator) in hertz.

NTSC: 236.25 MHz / 11 = 21.477272… MHz (six times the 315/88 MHz colour subcarrier). PAL and Dendy: 26.6017125 MHz (six times the 4.43361875 MHz subcarrier). The rounded figures are in ref-docs/nesdev-wiki-technical- report.md’s clock table (21.477272 / 26.601712 MHz, dividers 12 / 16 / 15).