#129792 - kusma - Sun May 27, 2007 11:34 am
Here's the results of last night's coding effort:
http://pimpmobile.kjip.no/kusma/gbfs_stdio_r1.tar.gz
I integrated GBFS (http://www.pineight.com/gba/#gbfs) by Damian Yerrick (also known on these forums as Tepples) into devkitPro, in the same way that libfat has been integrated - through the devoptab-interface. As GBFS is a bit limited, so is the integration:
- The file system is read-only; no creation or writing of files.
- The file system does not support sub-directories; all files must reside in the root of the file system.
As of now, there's one known bug; stat() and fstat() returns st_ino as 0 consequently - I simply didn't find any easy way of getting the file-index (as in n in gbfs_get_nth_obj()), but perhaps the data-pointer itself could do as inode.
http://pimpmobile.kjip.no/kusma/gbfs_stdio_r1.tar.gz
I integrated GBFS (http://www.pineight.com/gba/#gbfs) by Damian Yerrick (also known on these forums as Tepples) into devkitPro, in the same way that libfat has been integrated - through the devoptab-interface. As GBFS is a bit limited, so is the integration:
- The file system is read-only; no creation or writing of files.
- The file system does not support sub-directories; all files must reside in the root of the file system.
As of now, there's one known bug; stat() and fstat() returns st_ino as 0 consequently - I simply didn't find any easy way of getting the file-index (as in n in gbfs_get_nth_obj()), but perhaps the data-pointer itself could do as inode.