Skip to content
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

NES SNAC unable to detect controller, SNES core SNAC is able to detect controller #320

Closed
40wattrange opened this issue Jun 17, 2022 · 2 comments

Comments

@40wattrange
Copy link

Not sure if this is a "bug" or a feature request, but through testing I have seen that the SNAC function in the NES differs in ability to detect and use controllers from the SNES core. Obviously they are different systems, so maybe that is why, but I find that things function 100% in the SNES core, where-as they do not on the NES core. Link to a video showing the results at the bottom.

Using the NES core I tested the following, with the following results:
Working:
SNES controller on SNES SNAC dongle
SNES controller w/ SNES to NES adapter on NES dongle

Not working:
OEM NES controller on NES dongle

Using the SNES core I tested the following, with the following results:
Working:
SNES controller on SNES SNAC dongle
SNES controller w/ SNES to NES adapter on NES SNAC dongle
OEM NES controller on NES SNAC dongle

If possible, could changes be made in the NES SNAC implementation that would be more in line with how the SNES implementation is handled since it seems to detect OEM NES controllers without issue?

https://www.youtube.com/watch?v=rn4lW6CuFno

@40wattrange 40wattrange changed the title core unable to detect controller, snes core is able to detect controller SNAC unable to detect controller, SNES core SNAC is able to detect controller Jun 17, 2022
@40wattrange 40wattrange changed the title SNAC unable to detect controller, SNES core SNAC is able to detect controller NES SNAC unable to detect controller, SNES core SNAC is able to detect controller Jun 17, 2022
@Kitrinx
Copy link
Member

Kitrinx commented Jun 17, 2022

the implementation of SNAC in NES and SNES cores are effectively identical. The cores themselves and how they read controllers are radically different of course (following the extreme difference of the hardware itself), and there's no chance the logic of reading controllers will ever be changed in the NES core.

If you have an OEM NES peripheral that is not working correctly, then the implementation of the voltage level converter is likely to blame. The protocol (Latch, clk, data) is ultra-simple for nes/snes and I see nothing that really could be changed to change t he outcome regardless.

@40wattrange
Copy link
Author

40wattrange commented Jun 17, 2022

Figured that was the case. I have an old SNAC adapter that works fine - just was confused when I saw the NES controller light up in the SNES core - figured I'd raise it up just in case.

Whats odd is that it /did/ work at one point so wasnt sure if something changed - couldnt tell you how long ago that was though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants