PROGRAMMER'S GUIDEFile system library
BackForward
File system library

8. Function specifications / list


Table 8.1 File system library function list
 function
 Function name
 number
 Directory manipulation
 File system initialization
 GFS_Init
 1.1
 Read directory information
 GFS_LoadDir
 1.2
 Current directory settings
 GFS_SetDir
 1.3 1.3
 Convert file name to file identifier
 GFS_NameToId
 1.4
 Conversion from identifier to filename
 GFS_IdToName
 1.5
 Get directory information
 GFS_GetDirInfo
 1.6
 File system reset
 GFS_Reset
 1.7 1.7
 File operations
 Open file
 GFS_Open
 2.1
 File close
 GFS_Close
 2.2
 Move access pointer
 GFS_Seek
 2.3
 Get access pointer
 GFS_Tell
 2.4
 Checking the end of the file
 GFS_IsEof
 2.5
 Conversion from byte length to sector length
 GFS_ByteToSct
 2.6
 Get file size
 GFS_GetFileSize
 2.7 2.7
 Get file information
 GFS_GetFileInfo
 2.8
 Get the number of sectors in the CD buffer partition
 GFS_GetNumCdbuf
 2.9
 Completion return type reading
 Bulk reading of files
 GFS_Load
 3.1 3.1
 Read data
 GFS_Fread
 3.2
 Immediate return type read
 Start reading data
 GFS_NwFread
 4.1
 Start look-ahead to CD buffer
 GFS_NwCdRead
 4.2
 Checking the completion of access operation
 GFS_NwIsComplete
 4.3
 Stop access operation
 GFS_NwStop
 4.4
 Get current access status
 GFS_NwGetStat
 4.5
 Execution of access operation on a file-by-file basis
 GFS_NwExecOne
 4.6
 Performing multiple file access actions
 GFS_NwExecServer
 4.7
 Read parameter settings
 Eject mode setting (resident / discard)
 GFS_SetGmode
 5.1
 Transfer mode setting (software / DMA, etc.)
 GFS_SetTmode
 5.2.
 Setting the amount of reading to the CD buffer
 GFS_SetReadPara
 5.3 5.3
 Setting the transfer amount from the CD buffer
 GFS_SetTransPara
 5.4
 Transfer function registration
 GFS_SetTrFunc
 5.5 5.5
 Start transfer in transfer function
 GFS_StartTrans
 5.6
 others
 Moving the CD pickup
 GFS_CdMovePickup
 6.1
 Error handling function settings
 GFS_SetErrFunc
 6.2.
 Getting error status
 GFS_GetErrStat
 6.3
 Track number conversion
 GFS_ConvTno
 6.4


BackForward
PROGRAMMER'S GUIDEFile system library
Copyright SEGA ENTERPRISES, LTD., 1997