Skip to Content
The Alchemy Project

src/system/bupdata.c

The save signature and sector header template, and link test data nothing reads.

Variables

NameDescription
const Uint8BupSignature []The signature that marks a save part: syBupInitState counts a sector as a save only when its first seven bytes match it.
const Uint8BupHeaderTemplate [8]The sector header's first eight bytes: the signature, then a part id byte each writer replaces.
const Uint32LinkTestWordUnused: a word and two strings for a link test, which nothing reads.
const Uint8LinkTestDataA []
const Uint8LinkTestDataB []

Description

The save signature and sector header template, and link test data nothing reads.

Variables in detail

BupSignature

const Uint8 BupSignature[]

The signature that marks a save part: syBupInitState counts a sector as a save only when its first seven bytes match it.

Referenced by syBupInitState().

Definition at line 8 of file bupdata.c.

BupHeaderTemplate

const Uint8 BupHeaderTemplate[8]

The sector header's first eight bytes: the signature, then a part id byte each writer replaces.

Referenced by syBupInvalidateSector() and syBupWritePart().

Definition at line 11 of file bupdata.c.

LinkTestWord

const Uint32 LinkTestWord

Unused: a word and two strings for a link test, which nothing reads.

Definition at line 14 of file bupdata.c.

LinkTestDataA

const Uint8 LinkTestDataA[]

Definition at line 15 of file bupdata.c.

LinkTestDataB

const Uint8 LinkTestDataB[]

Definition at line 16 of file bupdata.c.