-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[WIP] SD card adapter support #12680
base: master
Are you sure you want to change the base?
Commits on Mar 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6c8126 - Browse repository at this point
Copy the full SHA c6c8126View commit details -
Configuration menu - View commit details
-
Copy full SHA for a68f4f2 - Browse repository at this point
Copy the full SHA a68f4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afc1de - Browse repository at this point
Copy the full SHA 1afc1deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 452740e - Browse repository at this point
Copy the full SHA 452740eView commit details -
This works, for getting it to detect an SD card, though it then needs to init it and that fails. But it's a start, even if it'll need to be thrown out when things get further along.
Configuration menu - View commit details
-
Copy full SHA for 32b10ac - Browse repository at this point
Copy the full SHA 32b10acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0798d1 - Browse repository at this point
Copy the full SHA f0798d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d677e6 - Browse repository at this point
Copy the full SHA 0d677e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b05085 - Browse repository at this point
Copy the full SHA 0b05085View commit details -
Configuration menu - View commit details
-
Copy full SHA for b88811d - Browse repository at this point
Copy the full SHA b88811dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e641198 - Browse repository at this point
Copy the full SHA e641198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5300bde - Browse repository at this point
Copy the full SHA 5300bdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce85b22 - Browse repository at this point
Copy the full SHA ce85b22View commit details -
Configuration menu - View commit details
-
Copy full SHA for b66b241 - Browse repository at this point
Copy the full SHA b66b241View commit details -
Implement last few commands, enough to get it detected by libogc (tho…
…ugh not enough to be useful)
Configuration menu - View commit details
-
Copy full SHA for 4a13f84 - Browse repository at this point
Copy the full SHA 4a13f84View commit details -
Implement STOP_TRANSMISSION and APP_CMD SD_SEND_OP_COND
Both of these are used by Pok�émon Channel. However, Pokémon Channel actually DOES care about CRCs, so... yay.
Configuration menu - View commit details
-
Copy full SHA for 582dd35 - Browse repository at this point
Copy the full SHA 582dd35View commit details -
Libogc has a bit of a footgun, where __io_gcsda.isInserted() will initialize the card, but not the CRC tables; __io_gcsda.startup() needs to be called first.
Configuration menu - View commit details
-
Copy full SHA for 8474bdc - Browse repository at this point
Copy the full SHA 8474bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe91623 - Browse repository at this point
Copy the full SHA fe91623View commit details -
Configuration menu - View commit details
-
Copy full SHA for f057491 - Browse repository at this point
Copy the full SHA f057491View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1faab59 - Browse repository at this point
Copy the full SHA 1faab59View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe3227d - Browse repository at this point
Copy the full SHA fe3227dView commit details -
Initial implementation of reads and writes
No idea if this actually works
Configuration menu - View commit details
-
Copy full SHA for 749da1e - Browse repository at this point
Copy the full SHA 749da1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9646fd3 - Browse repository at this point
Copy the full SHA 9646fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b89a5f - Browse repository at this point
Copy the full SHA 0b89a5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d30d3cc - Browse repository at this point
Copy the full SHA d30d3ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f77a1 - Browse repository at this point
Copy the full SHA 89f77a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c0ad48 - Browse repository at this point
Copy the full SHA 0c0ad48View commit details -
Libogc needs this now; I'm not sure what I changed from before that made it necessary.
Configuration menu - View commit details
-
Copy full SHA for f41d68f - Browse repository at this point
Copy the full SHA f41d68fView commit details -
Enough for libogc, but not enough for Channel...
Configuration menu - View commit details
-
Copy full SHA for 98c1826 - Browse repository at this point
Copy the full SHA 98c1826View commit details -
Actually functional block read
This is enough for Pokémon Channel to save. Loading should also work, but I'm unable to test since memory cards are still broken...
Configuration menu - View commit details
-
Copy full SHA for 302b64d - Browse repository at this point
Copy the full SHA 302b64dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d32c6b - Browse repository at this point
Copy the full SHA 3d32c6bView commit details -
Note that the default was AD16 before, and I've now changed it to None.
Configuration menu - View commit details
-
Copy full SHA for e372ebf - Browse repository at this point
Copy the full SHA e372ebfView commit details -
Partially implement configuring the SD card path
This doesn't work (changes aren't saved to disk), and I don't fully understand why...
Configuration menu - View commit details
-
Copy full SHA for fb0b86d - Browse repository at this point
Copy the full SHA fb0b86dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dae01cc - Browse repository at this point
Copy the full SHA dae01ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0766f1c - Browse repository at this point
Copy the full SHA 0766f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7444c - Browse repository at this point
Copy the full SHA 6b7444cView commit details -
Re-add ConfigManager.h include
Dropped in b0f9bb9 - I should look at that for how to fix my own changes
Configuration menu - View commit details
-
Copy full SHA for 0a08247 - Browse repository at this point
Copy the full SHA 0a08247View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbe5811 - Browse repository at this point
Copy the full SHA cbe5811View commit details
Commits on Apr 1, 2024
-
The xor technique doesn't work well when 0 is a legal device, since CS not changing will return device 0, and then reset CS for that device. This broke memcards; they now work.
Configuration menu - View commit details
-
Copy full SHA for b5a6fc1 - Browse repository at this point
Copy the full SHA b5a6fc1View commit details -
Only return SD device when CS is 0
This is NOT needed to fix anything, but still seems like a good idea to me. Though getting a device based on CS still seems less than perfect (e.g. what does the hardware do if multiple chips are selected at the same time? Probably it doesn't handle it well, but it might still be worth emulating...)
Configuration menu - View commit details
-
Copy full SHA for d22f42a - Browse repository at this point
Copy the full SHA d22f42aView commit details -
There still probably needs to be another state for CMD0 or such, but that can be handled separately.
Configuration menu - View commit details
-
Copy full SHA for d1bf525 - Browse repository at this point
Copy the full SHA d1bf525View commit details