★ PROGRAMMER'S GUIDE ★ File system library Figure 4.1 Access function model
Figure 4.2 Moving the access pointer
file category | Sector length (byte) |
|---|---|
CD-ROM Mode1 | 2048 |
CD-ROM Mode2 Form 1 only | 2048 |
CD-ROM Mode2 Form2 only | 2324 |
CD-ROM Mode 2 mixed | Indefinite |
DOS file | 2048 |
Memory file | 2048 |
Parameters | explanation | Function to change | initial value |
|---|---|---|---|
Access pointer | Offset on the file to start reading (unit is sector) | GFS_Seek | 0 |
Eject mode | After removing the CD | GFS_SetGmode | GFS_GMODE_ERASE |
Transfer mode | Specify the device to perform the retrieval process | GFS_SetTmode | GFS_TMODE_CPU |
Read parameters | Maximum number of sectors to be transferred in one read process | GFS_SetReadPara | GFS_RPARA_DFL |
Extraction parameters | Number of sectors to be transferred in one retrieval process | GFS_SetTransPara | 1 |
★ PROGRAMMER'S GUIDE ★ File system library