1 /****************************************************************************
3 * BIOS emulator and interface
4 * to Realmode X86 Emulator Library
6 * Copyright (C) 1996-1999 SciTech Software, Inc.
8 * ========================================================================
10 * Permission to use, copy, modify, distribute, and sell this software and
11 * its documentation for any purpose is hereby granted without fee,
12 * provided that the above copyright notice appear in all copies and that
13 * both that copyright notice and this permission notice appear in
14 * supporting documentation, and that the name of the authors not be used
15 * in advertising or publicity pertaining to distribution of the software
16 * without specific, written prior permission. The authors makes no
17 * representations about the suitability of this software for any purpose.
18 * It is provided "as is" without express or implied warranty.
20 * THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
21 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
22 * EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
23 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
24 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26 * PERFORMANCE OF THIS SOFTWARE.
28 * ========================================================================
32 * Developer: Kendall Bennett
34 * Description: Internal header file for the BIOS emulator library.
36 ****************************************************************************/
43 /*---------------------- Macros and type definitions ----------------------*/
51 #define BIOS_SEG 0xfff0
55 /*-------------------------- Function Prototypes --------------------------*/
59 void _BE_bios_init(u32 *intrTab);
60 void _BE_setup_funcs(void);
64 u8 X86API BE_rdb(u32 addr);
65 u16 X86API BE_rdw(u32 addr);
66 u32 X86API BE_rdl(u32 addr);
67 void X86API BE_wrb(u32 addr,u8 val);
68 void X86API BE_wrw(u32 addr,u16 val);
69 void X86API BE_wrl(u32 addr,u32 val);
71 u8 X86API BE_inb(int port);
72 u16 X86API BE_inw(int port);
73 u32 X86API BE_inl(int port);
74 void X86API BE_outb(int port, u8 val);
75 void X86API BE_outw(int port, u16 val);
76 void X86API BE_outl(int port, u32 val);
79 #endif /* __BIOSEMUI_H */