This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade. View original topic
Controller stopped working.... in most games?
by yxkalle on 2014-11-04 (#136053)
Anyone have any clue what's going on here? I have already swapped out the two 40H368's. Super Mario USA is one of the only games that seems to be working still funny enough. Wish I had a 'scope.
Re: Controller stopped working.... in most games?
by lidnariq on 2014-11-04 (#136059)
I'm having a lot of difficulty thinking of a reason that it would work in some games and not others... subtle timing flaws? Stray capacitance?
Re: Controller stopped working.... in most games?
by yxkalle on 2014-11-04 (#136061)
Utterly bizzare... I was poking around with a high-ohm resistor tied to +5V and touched pin 39 on the CPU. It made it snap out of it. Now all games work again..? (without said resistor) What?
Re: Controller stopped working.... in most games?
by Pokun on 2014-11-06 (#136111)
Super Mario USA is known to use a different controller reading routine than most other games, since external controllers doesn't work for it. Maybe that has something to do with it working.
Re: Controller stopped working.... in most games?
by tepples on 2014-11-06 (#136114)
39 is the strobe.
If a game that doesn't read controllers connected to the DA15 expansion port (bit 1 of $4016 and $4017 read) works, but a game that does read those controllers doesn't work, one possibility is that games are seeing all buttons on the external controller always pressed. See if something is pulling pin 13 of the expansion port (connected to bit 1 of $4016 read) low. Do you have a rewritable cartridge in which you can run a test ROM that I can make for you?
Re: Controller stopped working.... in most games?
by koitsu on 2014-11-06 (#136120)
tepples wrote:
39 is the strobe.
If a game that doesn't read controllers connected to the DA15 expansion port (bit 1 of $4016 and $4017 read) works, but a game that does read those controllers doesn't work, one possibility is that games are seeing all buttons on the external controller always pressed. See if something is pulling pin 13 of the expansion port (connected to bit 1 of $4016 read) low. Do you have a rewritable cartridge in which you can run a test ROM that I can make for you?
Re: Controller stopped working.... in most games?
by yxkalle on 2014-11-08 (#136201)
Thanks to all of you but especially Tepples for helping me out. It was a short between pin 12 and 13 on the expansion connector (tin whiskers?) that caused the erratic behavour.