★ PROGRAMMER'S GUIDE ★ File system libraryList | Title | Function | Function Name | No |
gfs | : File handle |
gmode | : Eject mode (GFS_GMODE_ ~) |
List | Title | Function | Function Name | No |
gfs | : File handle |
tmode | : Transfer mode (GFS_TMODE_ ~) |
Even if the transfer mode is set to GFS_TMODE_SCU, software transfer by the CPU is forced if the transfer destination address is included in the following space. WORKRAM-L space 00200000H ~ 002FFFFFH A-Bus space 02000000H ~ 058FFFFFH
List | Title | Function | Function Name | No |
gfs | : File handle |
cdrsize | : Maximum amount of reading to CD buffer at one time (unit: sector) |
List | Title | Function | Function Name | No |
gfs | : File handle |
tsize | : Amount transferred to the specified area at one time (unit: sector) |
[remarks] For convenience of processing, the DOS file retrieval parameter can only transfer one sector at a time. Setting the retrieval parameter to a value other than 1 is invalid.
List | Title | Function | Function Name | No |
gfs | : File handle |
func | : Transfer function |
gfs | : File handle |
nsct | : Number of transferable sectors |
/ * Example of transfer function * /
Uint32 read_buf [BUFSIZE];
Sint32 transFunc (GfsHn gfs, Sint32 nsct)
{
Uint32 * ptr;
Sint32 dadr;
Sint32 i;
ptr = GFS_StartTrans (gfs, & dadr);
for (i = 0; i <2048 * nsct; i ++) {
read_buf [i] = * ptr;
ptr + = dadr;
}
return (nsct);
}
List | Title | Function | Function Name | No |
gfs | : File handle |
dadr | 1: The amount of change in the transfer source address for each longword transfer. |
★ PROGRAMMER'S GUIDE ★ File system library