-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the dot clock's timing source? #1612
Comments
SlowROM and FastROM do not change the cpu clock itself but the ROM access speed; this still has the effect of slowing down execution but doesn’t impact other timing. Specifically the cpu inserts additional wait states when accessing slow ROM to give it chance to stabilise. See Line 30 in dac6a20
|
CPU::wait can return either 6, 8, or 12. Aren't those the number of master cycles a single CPU cycle takes? |
The first branch in wait specifically takes romspeed into account; where romspeed is set to the number of wait states configured for the memory region. |
Yes but shouldn't the comment instead read:
This quote from the emu author is why I think that:
source: https://forums.nesdev.org/viewtopic.php?p=104265#p104265 |
In ares/sfc/ppu/counter/inline.hpp:
According to fullsnes the dot clock is the master clock divided by 4, not the cpu clock divided by 4. If it were the cpu clock wouldn't switching between fastrom/slowrom change how many dots appear on a scanline?
The text was updated successfully, but these errors were encountered: