Commit Graph

21 Commits

Author SHA1 Message Date
ApacheThunder
6fa7430f62 1.8 Release Commit ...
* Final D2 init command now uses the value from the cart's header (found
at offset 0x8) instead of the hardcoded value found with most 16g and 8g
carts.
2024-04-11 23:02:40 -05:00
ApacheThunder
ebfa1b81ab 1.7 Release Commit...
* Top screen console now used for warnings regarding unexpected
flashcart or N-Card responses and will now require user input to get
past.
* Option added to autoboot into XuluMenu bootstrap if holding B on boot.
* Most SCFG registed writes now done from ITCM.
* nrio read card code moved to ITCM for slight performance uplift.
2024-04-01 00:36:37 -05:00
ApacheThunder
5c234b1523 1.6 Release Commit...
* Revert out of season Christmas UI
* Added new menu for building "update file". This can be used to create
an SRL that can be inserted into a udisk updator NDS. (must be a version
of the udisk updator that uses the marker system. The udisk updator
provided with xulumenu can be used for this. ;) )
* XuluMenu bootstrap can now be started via start button via main menu
if you don't wish to go through the DLDI menu to get to it.
2024-02-08 21:25:54 -06:00
SylverReZ
de1851123e
Update main.cpp
Fixed typo at line 547.
2023-11-29 23:18:26 +00:00
ApacheThunder
58ca96290f New Icon
* New icon design courtasy of SylverReZ
2023-11-15 13:33:11 -06:00
ApacheThunder
a7f6bc5d3e 1.4 Release Commit...
* Update top screen logo.
* Restore test dump option. (intended to only remove the alternate but
mistakenly removed both)
2023-11-13 14:04:46 -06:00
ApacheThunder
ebdcc88924 1.3 Release Commit...
* Revamped card read code to use D2 command documented from old source
code to DLDI driver. This appears to result in proper dump of hidden
nand sections. As a result the "alt test dump" mode has been removed as
the data it would have returned shows up in the main test dump file now.

* Some more tweaks to UI text.

* NitroFS implemented. Basic fat images and bootstrap srl now available
via NitroFS is nrioFolder on SD card doesn't contain the needed files.

* Fat image restore feature now enforces strict capacity requirements.
The included images are intended for carts with a specific nand
capacity. If they don't match it will not use them.
* Option to dump full fat filesystem image added to DLDI menu.
* Option to write nrio_customimage.img added as override to fat image
restore feature. Use this if you wish to restore a dump or want to
override the capacity requirement (though doing so is not recommended.
You can build your own via a dump if you have a functional fat
filesystem on the cart already)
* optional auto boot setting added to xBootstrap (XuluMenu) code. If
compiled with autoboot set on, XuluMenu can act as a xmenu replacement
that will autoboot xmenu.srl unless B or Y buttons are held on boot.
Holding B on boot would bring up file browser while Y will auto boot
udisk.nds on root of nand if present.
2023-11-12 13:24:01 -06:00
ApacheThunder
cd3ce214c1 Fix bug in UI...
* DLDI recover menu now correctly exits to Main Menu if player hits B on
warning message.
2023-11-09 17:22:28 -06:00
ApacheThunder
e9f860c161 Optimize Bootstrap, add check on init command...
* Optimized Bootstrap. Should transition quicker when boot into it as
well as into what ever the bootstrap boots.
* New check added for initial data return by the first special cart init
command. If the data returned in the buffer used for the init command
doesn't match the known value, a warning message is shown and the init
data is logged to bin file. User can choose to ignore the warning by
pressing A.
2023-11-09 01:28:44 -06:00
ApacheThunder
0df94f509a The big release overhaul...
* Option to write a default fat image to card is now possible through
new covery menu! An image for 16g capacity cards is included. Note that
other capacities are not currently supported until fat image jumps of
them become available.
* Recovery menu has option to dump/write sector 0 of FAT section of
nand. This allows restoring bricked cards if access to a DS/DS Lite and
the reguired slot2 device is not available.
* Ability to boot into bootstrap program to launch files on cart added
to recovery menu. Allows booting udisk updator as a result so can
recover a bricked cart!
* Changes to UI. New top screen graphic. Graphics for bottom screen now
added for better console! :D
2023-11-06 13:22:37 -06:00
ApacheThunder
a88b30293b Add new card commands....
* Added new dump option after finding a couple new card commands the
stage2 SRL uses during startup. This allows dumping the section of nand
that stores the internal rom shown to the console! It proves it may be
possible to customize things like the banner once the write commands are
found!
2023-11-02 10:49:36 -05:00
ApacheThunder
b62726e17e Initial fork to nrio cart support...
* This is a fork of dsxTool geared towrds N-Card and it's clones. Known
clones of N-Card are F-Card, Fire Card, DS Linker, and NeoFlash MK5.
2023-10-20 17:30:13 -05:00
ApacheThunder
21dea696ba 1.3 Release Commit...
* Add option to dump entire hidden region.
2023-10-01 14:11:07 -05:00
ApacheThunder
ae4c8fc3c3 1.2 Release commit...
* Added limit to how often console is refreshed during certain
read/write operations. This should improve performance.
2023-09-24 02:03:55 -05:00
ApacheThunder
3278779433 1.1 Release Commit...
* Optimized dsx_rom.bin dumping code.
* Thanks to lifehackerhansol, the DLDI driver for DSX is finally fixed
so that apps from DSi/3DS SD can access DSX without booting from cart.
dsxTool can now be used with HiyaCRW on DSi and installed to TWLN on
3DS.
* CIA file previded for 3DS users.
2023-09-23 02:56:48 -05:00
ApacheThunder
7959101bee Pre-Release
* Credit to lifehackerhansol for improvements to arm binary writing code
added to Readme.md.
2023-09-20 20:03:31 -05:00
lifehackerhansol
f1422eafd7
Implement reading ARM9/ARM7 from built NDS file
This change will flash the ARM binaries from `/dsx_firmware.nds`.

Some sanity checks are added to make sure the ARM binaries do not
exceed the limit we have placed. Previously, there was no check at all.

Since this change uses the full NDS file, we are also able to sanity
check the entrypoint/load addresses of the binaries in question; as of
DS-Xtreme firmware 1.1.3, this is ARM9=0x02000000 and ARM7=0x03800000.

Banner writing is untouched.
2023-09-20 17:24:26 -07:00
ApacheThunder
a40d99dc35 fread stuff finally sorted out...
* Banner, and arm binaries can now be read from fat device and written
to hidden sector effectively transforming cart into a custom firmware
device so long as the original load addresses and entry points the
header (which can't yet be changed) are respected.

* Console color scheme reversed to match top screen.
2023-09-20 18:45:26 -05:00
ApacheThunder
673a28fe9b Got DSi SD working.
Must boot DSX cart from NTR Launcher with SCFG unlocked.
It helps to keep cart ejected during NTR Launcher bootup. Current
version of NTR Launcher may fail to boot the cart otherwise.
2023-09-17 20:42:47 -05:00
ApacheThunder
74c8a259d6 More changes.
Banner fread stuffs till doesn't work. :(
(also tried to make this work in TWL mode form System Menu, but DSX Cart
still seems to bug out for some reason)
2023-09-17 18:23:02 -05:00
ApacheThunder
50dd06c7df Initial Commit and optimization.
Optimized code. Ready for public posting.

Banner fread code currently does not work.
2023-09-17 14:08:46 -05:00