Functions | |
bool | isBAK (SatAddr src) |
is the object at src a BACKUP? | |
int | BAKnibbles (SatAddr src) |
Return the size in nibbles of the BACKUP at src. | |
int | BAKnameLen (SatAddr src) |
Get the number of characters in a BACKUP's name. | |
bool | BAKdecode (SatAddr src, char *name, SatAddr *obj, SatAddr *crc) |
Decode a BACKUP object. |
I don't know how to create the CRC for a BACKUP object so there are currently no methods to create them.
Decode a BACKUP object.
src | Saturn address of a BACKUP object. | |
name | If non-null, then the BACKUP's name will be stored here as a null-terminated string. In this case "name" must point to sufficient space for the name and the null terminator. 256 bytes is always enough. BAKnameLen(src)+1 is exactly the right size. | |
obj | If non-null then the Saturn address of the object in the backup will be put here. | |
crc. | If non-null then the address of the backup's CRC will be put here. The CRC is BINT object. |
int BAKnameLen | ( | SatAddr | src | ) |
Get the number of characters in a BACKUP's name.
src | Saturn address of a BACKUP object. |
int BAKnibbles | ( | SatAddr | src | ) |
Return the size in nibbles of the BACKUP at src.
src | the Saturn address of a BACKUP object |
bool isBAK | ( | SatAddr | src | ) |
is the object at src a BACKUP?
src | Saturn address of an object |