Files
Adrian "asie" Siekierka 87e1145c0d Allow booting in DSi direct mode without BIOS/firmware/NAND dumps. (#2523)
* Allow booting in DSi direct mode without BIOS/firmware/NAND dumps.

This is an initial patch which enables booting programs in DSi direct mode
without requiring BIOS/firmware/NAND dumps from increasingly expensive
consoles:

- The open DSi BIOS is derived from a modified build of FreeBIOS; minor patches
  have been done (such as moving SWI 0x12 to 0x02), but no new SWI functions
  have been implemented.
- The DSi firmware stub is generated in the same way as the NDS firmware stub;
  this appears to be good enough for BlocksDS's dswifi to pick up the new AP
  definitions.
- The DSi NAND is currently not stubbed at all; rather, the code has been
  edited to allow bringup without a NAND image. This is sufficient for DSi
  mode homebrew; programs running from the cartridge slot are likewise not
  expected to require NAND access.

More work has to be done before it's useful for non-homebrew scenarios.

* Implement a less stub DSi::NeedsDirectBoot()

* Do not block direct boots if DSi NAND is missing but BIOS/firmware is present

* Correctly initialize extended header for DSi generated firmware

* Fix overriding firmware language in DSi mode, add experimental support for Chinese language option
2026-02-11 18:23:25 +01:00

28 lines
251 B
Plaintext

build*/
bin
obj
*.depend
*.layout
*.o
melon_grc.c
melon_grc.h
melon.rc
cmake-build*
cmake-build-debug
compile_commands.json
.idea
.cache
*.exe
.DS_Store
.vs
.vscode
CMakeFiles
CMakeCache.txt
freebios/FreeBIOS_Data.h
freebios/bios*
freebios/build/