Controller not working for some games ?

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
BadFoolPrototype
Posts: 5
Joined: Thu Jan 10, 2008 5:07 am
Location: Rome, Italy, World, Universe

Controller not working for some games ?

Post by BadFoolPrototype » Thu Apr 18, 2019 9:47 pm

Hello everyone!
After years of waiting I have my NES emulator almost working!
I encountered an interesting problem though.

For roms like Zelda 2 and Castlevania 1 everything works fine.
For Zelda 1 and Megaman 2, the buttons seems warped (if I press right it read as start) ?!?!?

Also the allpads test rom shows that it reads all the button pressed.

I doubt it is the logic itself of the controller, I am more sure about some collateral effects from APU and such.

Has anyone ever saw something like that ?

Thank you a lot!

BadFoolPrototype
Posts: 5
Joined: Thu Jan 10, 2008 5:07 am
Location: Rome, Italy, World, Universe

Re: Controller not working for some games ?

Post by BadFoolPrototype » Fri Apr 19, 2019 5:42 am

And of course it is me, but somewhere else.
The absolute Y addressing mode was always adding a dummy read, thus interleaving the reads (was reading 16 times instead of 8)!

LukasP
Posts: 15
Joined: Mon Mar 11, 2019 10:56 pm

Re: Controller not working for some games ?

Post by LukasP » Mon May 06, 2019 11:10 pm

Did you run nestest CPU test? I have problems with controller as well but nestest run's 100% flawlessly for me

Post Reply