max_open | Number of files that can be opened simultaneously |
*gdfs_work | Work area pointer (provided from user area) |
max_dirent | Number of entries in current directory |
*dirbuf | Current directory buffer (provided from user area) |
GDD_ERR_OK | Initialization completed | |
GDD_ERR_32ALIGN | "gdfs_work" does not coincide with a 32-byte boundary | |
GDD_ERR_RESET | Drive reset failed | |
GDD_ERR_TRAYOPEND | GD tray is open | |
GDD_ERR_DISC | Disc is unusable | |
GDD_ERR_MOUNT | Mount failed | |
GDD_ERR_DIROVER | Too many entries in the root directory |
Uint32 gdfswork[gdFsGetWorkSize(8)/4]; Uint32 gdfscurdir[gdFsGetDirrecSize(64)/4]; gdFsInit(8, gdfswork, 64, gdfscurdir);
Device driver initialization
Work area initialization
Device initialization
Mount processing