Title |
Function |
Function Name |
No |
format Sint32 BUP_Stat (Uint32 device, Uint32 datasize, BupStat * stat) Input device: Device number 0: Internal memory 1: Memory cartridge or parallel interface 2: Serial interface : datasize: Specify the size of the data you want to write in units Output stat: Status information Function value Returns device status 0 0: Success BUP_NON: Not connected B BUP_UNFORMAT: Unformatted Function Get status information.
Title |
Function |
Format Sint32 BUP_Write (Uint32 device, BupDir * dir, Uint8 * data, Uint8 owsw) Input device: Device number 0: Internal memory 1: Memory cartridge or parallel interface 2: Serial interface dir: File management information (input other than dir.blocksize) : data: Pointer of write data owsw: Overwrite check mode ON ON: Not written if a file with the same name exists. : OFF: Overwrites if a file with the same name exists. Output None Function value 0: Success BUP_NON: Not connected B BUP_UNFORMAT: Unformatted B BUP_WRITE_PROTECT: With write protection BUP_FOUND: A file with the same name exists. Other : Failure Function Write data to backup storage device