Kernel - Slight reworks to timer code
[tpg/acess2.git] / Kernel / bin / README
1 Acess2 Binary File Loader Specifcation
2 --------------------------------------
3
4 Binary file loaders are defined by creating a \a tBinaryType variable that
5 is registered with the kernel.
6
7 \a tBinaryType contains seven fields.
8 -#      \a Next
9         This field is used internally by the kernel and should be set to NULL
10         when the definition is initialise and not changed by the driver.
11 -#      \a Ident
12         This field tells the kernel how to recognise this file format. If the
13         first 32-bits of the file (ANDed with the \a Mask field) match this
14         value, the file will be passed to this loader.
15 -#      \a Mask
16         Determines what bits in the first 32-bits of the file matter for the
17         identifcation.
18 -#      \a Name
19         This is a C string that uniquely identifies this binary format.
20 -#      \a Load
21         This field is a pointer to a function that takes a VFS Handle of the
22         source exectuable file as an argument and returns a \a tBinary
23         pointer that defines the location and attributes of the exectable's
24         segments. (See \a tBinary for more information)

UCC git Repository :: git.ucc.asn.au