Repository navigation
Add support for DSTwo game listing - #2712
Merged
Merged
Conversation
The DSTWO's SD card is only reachable through its MIPS CPU, which boots when the DS replays the boot protocol of the DSTWO's own stub. Add dstwoUnlock() to universal/ and use it for the ALXX (DSTWO) case of twl_flashcardInit() in the title and Settings apps, so the DSTWO DLDI is only loaded once its handshake works (its startup() would otherwise loop forever). The unlock is bounded by a single frame budget, only trusts real replies from the card, retries once with the same ARM7-first init as twl_flashcardInit(), and is not repeated after a failure. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's changed?
Added support for DSTwo SDCard game listing. (running game needs a small patch in nds-bootstrap: DS-Homebrew/nds-bootstrap#1970)
Was AI used?
What was AI used for?
I used Claude to reverse engineer the handshake that the card was waiting for. I also used it to generate more adequate code than my rusty C.
Where have you tested it?
I tested it on my own DSi, using an up-to-date DSTwo (with latest firmware and DSTwo system package)
Pull Request status