Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Read data
Function Name
BUP_Read
No
6

 Format  Sint32 BUP_Read (Uint32 device, Uint8 * fname, Uint8 * data)
 Input  device: Device number
  0: Internal memory
  1: Memory cartridge or parallel interface
  2: Serial interface
:  fname: Specify file name (requires 11 characters in ASCII)
 Output  data: Pointer to the destination buffer
 Function value  0: Success
  BUP_NON: Not connected
 B  BUP_UNFORMAT: Unformatted
:  BUP_NOT_FOUND: File not found
 B  BUP_BROKEN: File is broken
 Other : Failure
 Function  Reads data from the backup storage device. 

  Title  
Function specifications
  Function  
Delete data
Function Name
BUP_Delete
No
7

 Format  Sint32 BUP_Delete (Uint32 device, Uint8 * fname)
 Input  device: Device number
  0: Internal memory
  1: Memory cartridge or parallel interface
  2: Serial interface
:  fname: File name (requires 11 characters in ASCII)
 Output  None
 Function value  0: Success
  BUP_NON: Not connected
 B  BUP_UNFORMAT: Unformatted
:  BUP_NOT_FOUND: File not found
 B  BUP_WRITE_PROTECT: With write protection
 Other : Failure
 Function  Deletes data on the backup storage device. 


Return to previous page Return to menu Go to next page