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 on NDS7?

#133091 - Dwedit - Tue Jul 03, 2007 5:38 am

Does Libfat work on correctly with all devices on NDS7?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#133100 - simonjhall - Tue Jul 03, 2007 7:45 am

I tried it and I couldn't get it to work. If I remember correctly, I managed to fit the library and the dldi section in binary (remember, you don't get a lot of space) but newlib wouldn't forward my calls through to libfat...
I tried to recompile sources and plumbing in this functionality, but couldn't do it - not 1337 enough :-(

Have a look, I've got a thread on it somewhere.
_________________
Big thanks to everyone who donated for Quake2

#133119 - wintermute - Tue Jul 03, 2007 4:43 pm

No, it doesn't.

Making it work is not for the faint of heart and will probably destroy your sanity.

No I don't plan on ever allowing for this scenario.</pre-emptive> :P
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#133180 - Dood77 - Tue Jul 03, 2007 11:19 pm

Erm... What does NDS7 refer to? The newest firmware version...?
I guess I'm not 1337 enough either o.o
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#133190 - Lick - Tue Jul 03, 2007 11:55 pm

He means ARM7 which is one of the two CPUs. Some people refer to it as NDS7 because the GBA has an ARM7 CPU as well!
_________________
http://licklick.wordpress.com

#133225 - simonjhall - Wed Jul 04, 2007 8:07 am

I did it in the end by doing 9<->7 IPC, by wrapping fopen/fread/etc and passing the command through to the ARM9's IPC handler. It does slow down the main processor a bit (something I found out when streaming mp3) but it does mean you don't lose huge amounts of ARM7 storage by including all the file stuff in there.
_________________
Big thanks to everyone who donated for Quake2