Misc Changes
[tpg/acess2.git] / Kernel / arch / x86 / include / vm8086.h
1 /*
2  * Acess2 VM8086 BIOS Interface
3  * - By John Hodge (thePowersGang)
4  *
5  * vm8086.h
6  * - Core Header
7  */
8 #ifndef _VM80806_H_
9 #define _VM80806_H_
10
11 // === TYPES ===
12 typedef struct sVM8086
13 {
14         Uint16  AX, CX, DX, BX;
15         Uint16  BP, SP, SI, DI;
16         
17         Uint16  CS, SS, DS, ES;
18         
19         Uint16  IP;
20 }       tVM8086;
21
22 // === FUNCTIONS ===
23 extern tVM8086  *VM8086_Init(void);
24 extern void     VM8086_Free(tVM8086 *State);
25 extern void     *VM8086_Allocate(tVM8086 *State, int Size, Uint16 *Segment, Uint16 *Ofs);
26 extern void *VM8086_GetPointer(tVM8086 *State, Uint16 Segment, Uint16 Ofs);
27 extern void     VM8086_Int(tVM8086 *State, Uint8 Interrupt);
28
29 #endif

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