Comments (5)
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.
I'm not sure if that will solve the issue but it's worth a try.
from lng-fds.
Tried the latest version, it still says PAL 50hz.
from lng-fds.
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.
from lng-fds.
@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.)
from lng-fds.
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.
from lng-fds.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lng-fds.