Ceci est une version archivée de
bos_header_t à 2006-01-06 20:52:46.
typedef struct {
void *next; /* Pointer to next BOS driver, you leave it to NULL, filled by MetaDOS */
unsigned long attrib; /* Some attributes for the device, for your convenience */
unsigned short phys_letter; /* The D0 value you get from MetaDOS in the initialization function */
unsigned short dma_channel; /* The D1 value you get from MetaDOS in the initialization function */
unsigned short sub_device; /* One driver can manage several sub-devices, so this field is used
to know which subdevice MetaDOS want to talk with */
bos_functions_t *functions; /* Pointer to a list of 16 functions (which correspond to the 16 Xbios
MetaDOS functions traps */
unsigned short status; /* A status field, to report more errors */
unsigned long reserved[2];
char name[32]; /* Name of the device */
} bos_header_t;
See Also