Structure/Constant Definitions
K
A
DAK
371
AMX Register Array Structurestruct amxregs {
unsigned short int amxrf; /* Flags (LS byte only) */
unsigned short int amxrax; /* Register AX */
unsigned short int amxrbx; /* Register BX */
unsigned short int amxrcx; /* Register CX */
unsigned short int amxrdx; /* Register DX */
unsigned short int amxrsi; /* Register SI */
unsigned short int amxrdi; /* Register DI */
unsigned short int amxrbp; /* Register BP */
unsigned short int amxrds; /* Register DS */
unsigned short int amxres; /* Register ES */
};
AMX Segment Register Array Structurestruct amxsregs {
unsigned short int amxsrds; /* Register DS */
unsigned short int amxsres; /* Register ES */
unsigned short int amxsrss; /* Register SS */
unsigned short int amxsrcs; /* Register CS */
};
AMX Interrupt Descriptor Structurestruct amxidts {
void (*amxiptr)(); /* Interrupt procedure pointer*/
unsigned short int amxigate; /* IDT gate type */
short int amxirsv /* Intel reserved */
};
Interrupt gate types (field amxigate)See Intel 80286 Programmer's Reference Manual#define AMIDTINT 0x8600 /* 80286 interrupt gate */
#define AMIDTTRP 0x8700 /* 80286 trap gate */
AMX C Root ISP Structurestruct amxisps {
long amxispfn[8]; /* Root ISP */
};