gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > Why don't homebrew loaders always work?

#138429 - Sweater Fish Deluxe - Fri Aug 24, 2007 1:48 am

This is something that's been bugging me for a while now. The compatibility for the various homebrew NDS loaders out there all varies so greatly. They work on some cards and not others. Why is that?

Back when I just had a G6 Lite and a Supercard SD, I assumed that it was a DLDI problem since the G6 DLDI was reverse engineered not based on full source from the manufacturer. But now that I have a CycloDS Evolution and Team Cyclops has released the DLDI driver for it, I find that it's not compatible with any of these loaders either. Now I also find that Chishm's loader code actually does in work on the G6, too.

So if it's not a DLDI problem is it because of something else in libfat or is it something else altogether?

Also, does anyone have a database of what loaders work on which cards?


...word is bondage...

#138435 - calcprogrammer1 - Fri Aug 24, 2007 3:45 am

I guess the loaders are written for certain devices. Chishm's loader is unique because it works on any card that has DLDI, so it works on pretty much anything.
_________________
DS Firmware 1, Datel Games n' Music card / Chism's FW hacked GBA MP v2 CF

There's no place like 127.0.0.1.

#138469 - Lynx - Fri Aug 24, 2007 1:40 pm

Probably (I'm guessing) it's because of the state each device leaves the DS in prior to running the homebrew launcher. Chishm's loader probably sets everything to the proper state prior to launching, where other loaders may only set a small range of registers prior to loading, and when the homebrew trys to load, and the DS isn't in a "Clean" state, it crashes. I wounder if MightyMax's loader, if it was DLDI patchable, would work on all devices, I know he even went to the point of scrubbing the RAM on bootup.
_________________
NDS Homebrew Roms & Reviews

#138484 - DragonMinded - Fri Aug 24, 2007 4:43 pm

Mighty Max's loader IS dldi compatible, the version I have in DSOrganize is even auto-patched by DSOrganize itself, and it still doesn't work on the majority of cards.
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#138486 - Lynx - Fri Aug 24, 2007 5:29 pm

I was talking about his GBA MP Multiboot loader, which I would love to see with DLDI support and left/right jump 5-10 items.. hint, hint..
_________________
NDS Homebrew Roms & Reviews

#138494 - Sweater Fish Deluxe - Fri Aug 24, 2007 6:30 pm

Well, Chishm's loader doesn't work on the CycloDS Evolution, should it be working? Does it work on everything else?

EDIT: this goes for the version in DSOrganize as well as Chishm's stand-alone version, I don't know if the code is different between them.


...word is bondage...