Open jd5000 opened 3 years ago
The NES timing of the emulator is controller here:
It looks like the emulator is hardwired to run games at 60hz. If you try a PAL version of a game made for 50hz systems then it might run 20% faster than it should. Can you confirm if your are using an NTSC or a PAL game file?
-Brendan
I tried a few games, they all running very quickly. I believe they should be NTSC version, because when I run them on MittisBootloop's pre-compiled firmware, speed is normal.
Hi @jd5000 I managed to overcome this issue by defining PAL in nes.h above the ifdef but this I had to do as the ROM was PAL If the ROM is a European ROM its most likely be the PAL version however American ones are NTSC. Try the define in the nes.h file and see if it works.
/ NTSC = 60Hz, PAL = 50Hz /
for reference this is one of the games I tried and it works at normal speed if you add the define
I compiled it on latest Platformio v2.3.3 under Ubuntu 20.04, and flashed on DOIT ESP32 DEVKIT V1 (with ESP-WROOM-32 chip), it worked but the game and music played too quickly, for example the 400 seconds timer in Super Mario will finish in about 1 minute. Maybe the original timing is not fully compatible with latest compiler.