one | Title | Data | Data Name | No |
Model name | explanation |
---|---|
Uint8 | unsigned 1-byte integer |
Sint8 | Signed 1-byte integer |
Uint16 | unsigned 2-byte integer |
Sint16 | signed 2-byte integer |
Uint32 | unsigned 4-byte integer |
Sint32 | signed 4-byte integer |
Bool | Logical 4-byte integer |
constant name | value | explanation |
---|---|---|
FALSE | 0 | boolean false |
TRUE | 1 | logical truth |
constant name | value | explanation |
---|---|---|
NULL | (void*)0 | null pointer |
one | Title | Data | Data Name | No |
bit 7 6 5 4 3 2 1 0 [ ] [ ] [ ] [ ] [ ] [-] [-] [ ] | | | | | | | | | | | | | | | | | +---- GFS_ATR_END_TBL 1:End of directory information table | | | | | | | | | +---------------- GFS_ATR_FORM1 1:Includes Form1 sectors | | | +-------------------- GFS_ATR_FORM2 1:Includes Form2 sectors | | +------------------------ GFS_ATR_INTLV 1:Includes interleaved sectors | +---------------------------- GFS_ATR_CDDA 1:CDDA file +-------------------------------- GFS_ATR_DIR 1:Directory file
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_NWSTAT_NOACT | haven't done anything |
GFS_NWSTAT_FREAD | GFS_NwFread running |
GFS_NWSTAT_CDREAD | GFS_NwCdRead in progress |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_SVR_COMPLETED | Processing Exit |
GFS_SVR_BUSY | processing |
GFS_SVR_CDPAUSE | Pause due to CD buffer full |
GFS_SVR_ERROR | An error occurred while accessing |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_SEEK_SET | beginning of file |
GFS_SEEK_CUR | Current position |
GFS_SEEK_END | end of file |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_GMODE_ERASE | Delete from buffer after transfer |
GFS_GMODE_RESIDENT | Leave in CD buffer even after transfer |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_TMODE_SCU | DMA transfer (level 0) by SCU |
GFS_TMODE_SDMA0 | DMA cycle steal transfer channel 0 |
GFS_TMODE_SDMA1 | DMA cycle steal transfer channel 1 |
GFS_TMODE_CPU | software transfer |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_ERR_OK | normal termination |
GFS_ERR_CDRD | CD read error |
GFS_ERR_CDNODISC | CD is not set |
GFS_ERR_CDROM | A disk other than CD-ROM is set. |
GFS_ERR_DIRTBL | The contents of the directory management table are invalid. |
GFS_ERR_OPENMAX | Invalid maximum open count value |
GFS_ERR_DIR | The specified file is not a directory |
GFS_ERR_CDBFS | CD block file system error |
GFS_ERR_NONAME | Cannot handle file name in current directory |
GFS_ERR_NEXIST | non-existent file name |
GFS_ERR_FID | Bad file identifier |
GFS_ERR_HNDL | invalid file handle |
GFS_ERR_SEEK | Invalid seek position |
GFS_ERR_ORG | Invalid reference position |
GFS_ERR_NUM | negative number of bytes |
GFS_ERR_OFS | Offset fraud |
GFS_ERR_FBUSY | Processing remains for the specified file handle |
GFS_ERR_PARA | Invalid parameter |
GFS_ERR_BUSY | Library function in progress |
GFS_ERR_NOHNDL | There is no free space on the file handle |
GFS_ERR_PUINUSE | Pickup in operation |
GFS_ERR_ALIGN | Data read amount area is not on 4-byte boundary |
GFS_ERR_TMOUT | A timeout occurred in internal processing. |
GFS_ERR_CDOPEN | tray is open |
GFS_ERR_BFUL | Loading stopped due to buffer full |
GFS_ERR_FATAL | CD drive〈 FATAL〉 situation |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_RPARA_DFL | Initial values of read parameters |
GFS_BUFSIZ_INF | Specify to read regardless of the size of the read area with GFS_Load |
one | Title | Data | Data Name | No |
one | Title | Data | Data Name | No |
constant name | explanation |
---|---|
GFS_DIR_ID | Does not have file name information |
GFS_DIR_NAME | Contains file name information |
access macro | mold | explanation |
---|---|---|
GFS_DIRTBL_TYPE(dirtbl) | Sint32 | Directory information table type |
GFS_DIRTBL_NDIR(dirtbl) | Sint32 | Maximum number of elements in directory information table |
GFS_DIRTBL_DIRID(dirtbl) | GfsDirId* | Filenameless directory information table |
GFS_DIR_NAME(dirtbl) | GfsDirName* | Directory information table with file name |
GfsDirTbl dirtbl; GfsDirId dir_id[MAX_DIR_ID]GFS_DIRTBL_TYPE (&dirtbl) = GFS_DIR_ID; /* Directory information specification without file name */ GFS_DIRTBL_NDIR (&dirtbl) = MAX_DIR_ID; /* Maximum number of elements */ GFS_DIRTBL_DIRID(&dirtbl) = dir_id; /* Directory information table without file name */
GfsDirTbl dirtbl; GfsDirName dir_name[MAX_DIR_NAME];GFS_DIRTBL_TYPE(&dirtbl) = GFS_DIR_NAME; /* Directory information specification with file name */ GFS_DIRTBL_NDIR(&dirtbl) = MAX_DIR_NAME; /* Maximum number of elements */ GFS_DIRTBL_DIRNAME(&dirtbl) = dir_name; /* Directory information table with file name */
one | Title | Data | Data Name | No |
access macro | mold | explanation |
---|---|---|
GFS_DIR_FAD(dir) | Sint32 | Start of file FAD |
GFS_DIR_SIZE(dir) | Sint32 | File size (unit: bytes) |
GFS_DIR_FN(dir) | Uint8 | file number |
GFS_DIR_ATR(dir) | Uint8 | file attributes |
GFS_DIR_UNIT(dir) | Uint8 | File unit size (unit: sector) |
GFS_DIR_GAP(dir) | Uint8 | File gap size (in sectors) |
one | Title | Data | Data Name | No |
access macro | mold | explanation |
---|---|---|
GFS_DIR_FAD(dir) | Sint32 | Start of file FAD |
GFS_DIR_SIZE(dir) | Sint32 | File size (unit: bytes) |
GFS_DIR_FN(dir) | Uint8 | file number |
GFS_DIR_ATR(dir) | Uint8 | file attributes |
GFS_DIR_UNIT(dir) | Uint8 | File unit size (unit: sector) |
GFS_DIR_GAP(dir) | Uint8 | File gap size (in sectors) |
GFS_DIR_FNAME(dir) | Sint8[] | File name*1 |
one | Title | Data | Data Name | No |
obj | : Object required for error handling |
ec | :Error code |
one | Title | Data | Data Name | No |
access macro | mold | explanation |
---|---|---|
GFS_ERR_FUNC(err) | GfsErrFunc | Pointer to error handling function. |
GFS_ERR_OBJ(err) | void* | The first argument of the error handling function. |
GFS_ERR_CODE(err) | Sint32 | Error code. |