An alternate FAT FS for SD Cards
----------------------------------
Recently, I've been getting into SD cards. The libOGC sdcard layer currently has
a few issues - mostly brought on by the introduction of long filenames.
For me, as an application developer, I needed something which was bullet proof.
Reliability means much more than pretty filenames! - I want the correct data now!
Enter the excellent elm-chan TinyFAT FS module.
I've ported it here to work with the libOGC sdcardio layer. So far it works well.
There is of course a downside. You can't have long filenames.
In TinyFAT FS there is only provision for unsigned short data lengths, so I've
included a wrapper to get round that, it's in src/fileio.
I've also included the original documentation for TinyFAT FS, as the site is
currently undergoing maintenance.
The demo is not perfect, but shows using a pseudo virtual memory system to play
GameBoy Advance ROMs of any size.
Setup your card as follows, remember upper case and 8.3 only!
/VBA172/ROMS - Put here GB/GBC/GBA roms. Extension determines machine.
/VBA172/BIOS - Put here BIOS.GBA, if you have one.
Notice the unix syntax - aren't you loving it already!
The demo is minimal, but shows that there are no problems seeking, reading etc.
Writing works, but isn't complete in the demo.
To get the full elm-chan fs, go to
http://www.elm-chan.org
To get the VBA source code, go to
http://vba.ngemu.com
For non-developers - sorry this time there is no binary - but in the future - who knows!
Enjoy!
PS: This will take some time to compile. If you have less than 2GB RAM, expect GBA.cpp to take ~45 minutes. Otherwise, it takes about ten minutes.