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

[16-bit Multiplayer]: SIOCNT[7] should remain set until the master responds #3110

Closed
afska opened this issue Jan 11, 2024 · 1 comment
Closed

Comments

@afska
Copy link

afska commented Jan 11, 2024

LinkRawCable_demo.zip

When using this ROM, the slave sets the data, sets bit 7 of SIOCNT, and then it waits until the bit is unset to get the response.

  • On hardware, the bit is only unset after the master also sends.
    hardware

  • On mGBA 0.10.2, the bit is immediately set to zero, resulting in the return of old data
    mgba

Source code of the ROM:
https://github.com/afska/gba-link-connection/blob/e04a7356ee28ba6a336f9ce1b791dc1611c92942/lib/LinkRawCable.hpp
https://github.com/afska/gba-link-connection/blob/e04a7356ee28ba6a336f9ce1b791dc1611c92942/examples/LinkRawCable_demo/src/main.cpp

@Testsr
Copy link

Testsr commented Jan 11, 2024

Confirmed on 0.10.3.

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

No branches or pull requests

2 participants