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 > libfat/DLDI file IO on emulator

#140016 - Peter - Wed Sep 12, 2007 8:39 pm

Hello,

I use libfat/DLDI for file IO on the DS. It works like a charm on the card, but testing on emulator, such as no$gba, is not possible anymore. That's a major problem for me, because it dramatically increases the turnaround times.

I wonder if anybody has figured out how to workaround this problem already. Maybe we should kindly ask the emulator developers to implement some sort of libfat/DLDI emulation layer in case there is no other solution.
_________________
Kind Regards,
Peter

#140020 - calcprogrammer1 - Wed Sep 12, 2007 9:03 pm

I tested DSFile on Desmume, because it emulates a GBAMP, though only one folder is accessible, but it allows you to read, delete, copy, paste (though no effect, since same folder), etc. GBAMP doesn't require patching either, but you can't test slot-1 specific things on it.
_________________
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.

#140026 - GPFerror - Wed Sep 12, 2007 9:36 pm

no$gba works with fcsr.dldi with a special fat12 image appended to the end of a .ds.gba file

desmume can use gbamp dldi for some things, better compatibility is to build a fat12 image and start desmume --cflash=fat12.img

ideas supports r4dldi and loads from same location as .nds file(now also emulates supercard 32mb extra RAM)

Troy

#140055 - Peter - Thu Sep 13, 2007 1:29 am

GPFerror wrote:
no$gba works with fcsr.dldi with a special fat12 image appended to the end of a .ds.gba file


Thanks a lot, got it working now!

Further help provided also No$GBA / libfat /DLDI and DLDI: loadable block device drivers for libfat. I found those threads, stupid as I am, after posting my question.
_________________
Kind Regards,
Peter