Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Get directory information
Function Name
BUP_Dir
No
8

 Format  Sint32 BUP_Dir (Uint32 device, Uint8 * fname, Uint16 dirsize, BupDir * dir)
 Input  device: Device number
  0: Internal memory
  1: Memory cartridge or parallel interface
  2: Serial interface
  fname: File name specification (up to 11 characters in ASCII)
  dirsize: Specify the number of secured directory information
 Output  dir: Directory information is stored
 Function value  Number of directory information hits.
 Function  Searches the file name with a prefix and stores the directory information in the table.
  The number of directory information hit by the search is returned as a function value.
If  is negative, it means that the table size is insufficient, and the number of cases can be confirmed by inverting the sign.
  (If the search result is 11 with tbsize set to 10, -11 is returned.) 

  Title  
Function specifications
  Function  
Data matching
Function Name
BUP_Verify
No
9

 Format  Sint32 BUP_Verify (Uint32 device, Uint8 * filename, Uint8 * data)
 Input  device: Device number
  0: Internal memory
  1: Memory cartridge or parallel interface
  2: Serial interface
  filename: File name (requires 11 characters in ASCII)
 data  data: Pointer of collation data
 Output  None
 Function value  0: Success
  BUP_NON: Not connected
 B  BUP_UNFORMAT: Unformatted
:  BUP_NO_MATCH: Data does not match
:  BUP_NOT_FOUND: File not found
 B  BUP_BROKEN: File is broken
 Function  Verify the data written in the backup file. 


Return to previous page Return to menu Go to next page