Commit Graph

9 Commits

Author SHA1 Message Date
Kei
e5f8629319 More fixes
- Fixed no sound issues on flashcarts running on TWL_FIRM (Not sure why this code was here, it also exists in WoodRPG)
- Fixed theme/language soft reset for DSi & 3DS version
- Removed old build files, these are now integrated into the makefile
2024-12-28 21:41:30 +00:00
ApacheThunder
7f66ae6613 Fix DSi build
* Fix DSI build. Now works correctly on DSi.
* Fixed soft reset into boot.nds. Now works on both DSi and flashcarts.
Also fixed for theme reset.
* Fixed soft reset into GBA mode. Was using libnds's broken swi call.
Replaced with modified version that isn't broken.
* Fixed warnings generated during compile.
* Removed old LD/Specs from arm7 folder. This is needed to allow proper
arm7 entry point for TWL_FIRM compatiblity on 3DS. Didn't seem to break
DS mode copy so a DSi specific build of arm7 make file is not needed at
the moment.
* custom banner added via banner.bin and -t ndstool command.
* Flashcart build now uses -h 0x200 command for better compatiblity with
older homebrew launchers/flashcarts.
2024-12-22 16:28:38 -06:00
lifehackerhansol
350dc13e90
Add TTMenu support
This needs TTMenu/YSMenu to already be installed, or at least
extinfo/infolib/ttpatch.
2024-10-31 23:32:21 -07:00
lifehackerhansol
8cada4d83d
arm7: load directly to IWRAM and only IWRAM
Small modification to the linkerscript to stay in 0x03800000. This may
break a few loaders but that's okay, nobody should be booting this
directly.
2024-10-30 20:30:10 -07:00
lifehackerhansol
21b6b529f3
Work around broken FIFO setup
Not entirely sure why, but FIFOs were being sent and received AFTER the
interrupts were cleared, causing them to not send.

It's unknown how this ever worked on older libnds/devkitARM, but FIFOs
need interrupts to work.

This workaround, instead, hijacks an area of the ROM header as a
temporary variable to wait for ARM7.
2024-10-14 17:12:39 -07:00
lifehackerhansol
8476d61c49
treewide: switch to SPDX-License-Identifier 2024-10-13 02:11:14 -07:00
lifehackerhansol
220e82fcbd
treewide: clang-format 2024-10-13 02:11:12 -07:00
lifehackerhansol
a7dd6151a4
Make it build on latest devkitARM
- UTF8-ify where possible
- Remove custom linkerscript
- Update Makefiles
  - devkitPro/nds-examples@6afa09b205
- Comment out akloader binaries
  - This will be reworked soon™️
- Eradicate sdidentify
  - AKRPG specific
- Eradicate libelm
- Eradicate save64m
- Eradicate file operations
- Eradicate libio*
- Eradicate crtsmall
- Fix paths for new root drive naming in latest libfat
- dsrom: fix type cast issue in homebrew check
- MAX_FILENAME_LENGTH -> PATH_MAX
- adapt directory listing operations to new dkP way
- timer: unstaticify _factor
- Remove all flashcart-specific bits
- fix type of cPopMenu::itemBelowPoint
- gbaloader: use updated vramSetPrimaryBanks function
- Move arm9-specific headers to arm9
2024-10-05 20:49:07 -07:00
lifehackerhansol
6fe395b92f
Extract akmenu4 from woodrpg v1.25 2024-10-04 22:35:39 -07:00