-
Notifications
You must be signed in to change notification settings - Fork 4
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
Real hardware US NTSC 60hz NES detected as PAL 50hz #3
Comments
I updated the system detection logic so it will retry detection a few times if it fails. If all detection attempts fail then it will default to NTSC@60hz since that's more likely than PAL@50hz. |
Tried the latest version, it still says PAL 50hz. |
The Famicom (and FDS by extension) is always NTSC@60Hz. There's no need for region detection in this case, not to mention the fact that the FDS BIOS has its own reset handler containing the vblank wait loops. |
@TakuikaNinja True but I was trying to support the unlikely situation where someone had jerry-rigged an FDS to a 50Hz console, assuming that such a thing can be done, as well as any random Famiclones that might run this. I implemented the detection method that was outlined in this forum post which works perfectly on emulators and my NTSC NES. lng-fds/kernel/nintendo/reset.s Lines 17 to 61 in d31693a
I may need to use this technique on a new project I'm working on so it's worthwhile to me to figure out why this fails on a Famicom (or possibly just fails on a Famicom with Disk System? idk.) |
The first part of the BIOS reset handler (vblank wait loops, register init) always runs before the disk game's reset vector. I believe that's throwing off the timing here. |
On real hardware the startup message states the machine is detected as PAL 50hz, when it is actually an NTSC 60hz NES.
The text was updated successfully, but these errors were encountered: