Implementing accurate timing on Snes CPU?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Implementing accurate timing on Snes CPU?
by on (#160543)
In terms of second. I previously based time on vblanks,

Now i am unsure that method will maintain accuracy throughout development.
Re: Implementing accurate timing on Snes CPU?
by on (#160548)
Vblank should occur close enough to 60 Hz for most practical purposes. What exactly are you trying to time?
Re: Implementing accurate timing on Snes CPU?
by on (#160554)
In non-interlaced NTSC video modes, the S-PPU produces 945÷44×1000000÷(1364×262−2) = 60.0988 fields (and NMIs) per second. You can get "close enough" by assuming 3606 frames per minute. Or are you trying to include interlace or PAL VERSION in "accuracy"?