Title | Function | Function Name [SR] | No |
format Sint32 CDC_ReadFile (Sint32 filtno, Sint32 fid, Sint32 offset) Input filtno: Aperture number : fid: File identifier : offset: Logical offset from the beginning of the file (in sectors) Output None Function value Returns an error code. End flag EFLS flag Function Loads the specified file into the CD buffer. The selector to read in depends on the aperture number. Specify .
Title | Function | Function Name [SR] | No |
format Sint32 CDC_AbortFile (void) Input None Output None Function value Returns an error code. End flag EFLS flag (only 0 cleared) …… Can be executed regardless of the EFLS value Function File access via the CD block file system (the following function) will be canceled. -Move directory (CDC_ChgDir) -File information retention (CDC_ReadDir) Read -Read file (CDC_ReadFile) When file access is stopped, the CD drive pauses and the interrupt factor register The EFLS flag is 1. If the file is not being accessed, only the EFLS flag is set to 1. Remarks Even if file access is stopped, the buffer section is not cleared and the selector is not initialized. : When the execution of the CDC_ChgDir and CDC_ReadDir functions is stopped, all the stored file information is cleared. will be . File access will also be canceled if the tray tray opens.