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 development > Does DLDI work on the GBA?

#158924 - Dwedit - Sat Jun 21, 2008 9:40 am

Does DLDI work on the GBA for the supported slot-2 cards?
I see the drivers performing data cache cleaning, and writes to control registers to try to gain control of the cartridge bus for the ARM9. Does any of this stuff have unwanted side effects on a GBA, or is the invalid IO just ignored?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#158925 - dantheman - Sat Jun 21, 2008 9:42 am

From my understanding it should (see Chishm's cart_save program for an example of a DLDI-capable GBA program) though the use of libfat will still take up 32 KB of RAM, which obviously has more of an impact on the GBA than it does on the DS.

Edit after your edit: no clue about the other questions, sorry. Until you added those I actually felt smart for once, being able to answer your question rather than the other way around, hehe.

#158931 - Dwedit - Sat Jun 21, 2008 10:38 pm

Looks like the FCSR DLDI patch works fine, but the M3SD patch doesn't.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#158932 - tepples - Sun Jun 22, 2008 2:27 am

If there were a working DLDI tester for GBA, it'd be easier to bug SLOT-2 card makers into fixing their drivers. But unfortunately, Chishm hasn't yet released
  1. a GBA version of the DLDI tester, or
  2. the source code for the DS version of his DLDI tester so that I could port it to GBA.

_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#158964 - Dwedit - Mon Jun 23, 2008 1:45 pm

Okay... "M3SD Alt Version" fails on the GBA, but the regular "M3SD" works fine!
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."