Commit Graph

29 Commits

Author SHA1 Message Date
RocketRobz
0ba733cdb7 Update main.c 2024-04-26 17:10:49 -06:00
RocketRobz
e5d85dd5cd Read ConsoleID register, if available 2024-04-25 12:44:03 -06:00
RocketRobz
854b16d8a1 Enable NAND access for DS flashcards with SCFG access 2022-12-31 23:21:50 -07:00
RocketRobz
6434a00ee1 Compile ARM7 binary in ARM instead of THUMB 2022-11-21 01:31:36 -07:00
RocketRobz
dfcbab2c81 Load bios9i file if DS BIOS is set in SCFG when running from flashcard 2022-11-14 23:40:40 -07:00
RocketRobz
1bbd77f73d Remove non-working code 2022-07-06 18:11:15 -06:00
Pk11
bec149de03
Add dumping DS saves using GBA cart save data (#138)
* Simplify GBA EEPROM FIFO wait

* Add dumping DS saves using a GBA cart's save data

* Don't try dump very large DS saves to GBA carts

* Don't show DS cart info on regular DS

you need to take the cart out to reinit it so info isn't loaded

* Change to 'writing save' for DS to GBA dumps

* Fix a couple bugs and typos
2022-01-04 20:54:45 -07:00
Pk11
a9a29204ab
Improve unmounting and various other bug fixes (#137)
* Various improvements to drive unmounting drives

* Add mounting DSiWare saves

They're FAT12 images, but libfat doens't like them without a little tweak since they don't have the 'FAT' identifier text

* Don't try to send DSi SD card status on regular DS

Fixes X and Y buttons being unresponsive
2022-01-03 20:08:43 -07:00
RocketRobz
8edf33099b Run 3DS detection code and show Reboot option in DS mode 2022-01-02 22:36:38 -07:00
Pk11
ec9d7d8987 Remove accidenally commited if override 2022-01-02 14:51:19 -06:00
Pk11
2b8808ae6d
Autodetect SD removal and more bug fixes (#133)
* Autodetect SD removal, see desc

Also:
- Mark read-only drives as `[R]`
- Detect and respect write protect on SD card
- Don't attempt to remount SD card if not inserted
- Fix repo link on startup screen

* There are enough characters for `https`

I didn't notice there was actually 1 more column usable

Co-authored-by: RocketRobz <bobesh8@gmail.com>
2022-01-02 12:38:55 -07:00
Pk11
aa2cfcab81
Fix remounting SD card (#130)
* Fix remounting SD card

* Fix SD label whitespace trimming

It was cutting at the first space, not the last one
Also clean up the function calls, `&sdLabel[0]` is the same thing as `sdLabel`
2022-01-01 20:52:21 -07:00
Pk11
b579cedd29
Fix GBA EEPROM saves (#114)
* Fix GBA EEPROM saves

* Clean up dumping error messages
2021-11-04 19:28:30 -06:00
Pk11
8de40f23ac
Fix freezing on boot on flashcard & getting GBA cart info (#110)
* Only check if 3DS in DSi mode

* Fix reading GBA cart info

* Don't do & on the arrays for the GBA info

I don't think it was breaking anything to do that? but it's not needed and I think it might be wrong somehow or other
2021-10-11 13:35:47 -06:00
RocketRobz
7750ab47c0 Detect 3DS console without reading NAND 2021-10-09 19:39:39 -06:00
RocketRobz
e6a6a208cb Clear SD IRQ stat and mask registers
Should fix NAND init being stuck
2021-06-22 22:36:19 -06:00
RocketRobz
581e0545a0 sdmmc: Try to fix Data16 code 2020-10-04 01:55:27 -06:00
RocketRobz
c77e0ace97 Update main.c 2020-10-04 00:34:38 -06:00
RocketRobz
55474c1d84 Use improved SDMMC code from bootloader 2020-07-14 20:58:52 -06:00
RocketRobz
9ac93598db Do not show cart disable message in DSiWarehax 2020-07-14 19:07:15 -06:00
RocketRobz
dd94cd5e77
Ntr sd access (#61)
* Port SD code from nds-bootstrap

Currently freezes on `mounting drive(s)...`

* Disable NAND mounting for now

* Derp fix, and add verbose output

* NAND and SD access now work
2020-07-14 17:26:05 -06:00
RocketRobz
65394c34f1 Get ConsoleID without reading from 0x4004D00
Closes #46
2020-03-19 14:28:10 -06:00
RocketRobz
50b41435f4 DSi/3DS: Now runs without an SD card 2020-02-17 01:02:12 -07:00
RocketRobz
5aed42246c Boost DS(i) cart dumping
ALSO: Use correct size when dumping trimmed ROM
2020-02-16 23:19:19 -07:00
RocketRobz
bf53a3c037 Implement NAND browsing
Code from twlnf.
The NAND write code is stripped for safety reasons.
2020-02-11 18:42:04 -07:00
RocketRobz
585501515e Add GBA SRAM dumping 2019-03-08 15:47:07 -07:00
Epicpkmn11
d6ca3e7dfd Add touch keyboard based file renaming (#16) 2018-10-22 13:37:34 -06:00
RocketRobz
f708863915 Mark TWL-related code with "TWL_CODE" 2018-10-06 22:26:35 -06:00
Robz8
81fc6b9754 Add source code files 2018-10-02 11:06:03 -06:00