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.

Coding > vba dldi

#167898 - moonlightcheese - Thu Apr 02, 2009 7:14 pm

a forum search didn't really turn anything up on this...

where's a .dldi file i can use to patch roms to work on vba? when i try fatInitDefault() on any of my homebrew apps i get errors and i don't know which (if any) dldi patch to use for vba.

#167899 - Dwedit - Thu Apr 02, 2009 7:23 pm

Use FCSR.
But you're using libfat on the GBA?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#167900 - moonlightcheese - Thu Apr 02, 2009 7:56 pm

Dwedit wrote:
Use FCSR.
But you're using libfat on the GBA?


i understand FCSR is used for nds roms with nosgba, but i didn't know if it worked in vba with gba roms or not. is it pretty much the same deal? i can use nosgba if necessary... but i'm used to the vba debugging tools.

#167901 - Dwedit - Thu Apr 02, 2009 8:01 pm

FCSR seems to be in a little bit of a mess right now, but there need to be two separate DLDI patches, one for the GBA and one for the NDS because of the different base address for SRAM.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#167903 - moonlightcheese - Thu Apr 02, 2009 8:53 pm

Dwedit wrote:
FCSR seems to be in a little bit of a mess right now, but there need to be two separate DLDI patches, one for the GBA and one for the NDS because of the different base address for SRAM.


so basically, there's no reliable method for using filestreams without actual gba hardware? ::sigh:: i was afraid of that...

#167931 - kusma - Fri Apr 03, 2009 6:04 pm

moonlightcheese wrote:
so basically, there's no reliable method for using filestreams without actual gba hardware? ::sigh:: i was afraid of that...

Yes there is, I've made a set of GBFS stdio bindings. There's no folder-support, though.