x86emu.h revision 03532efdc331b598d3dedc8cc7477641c3b0dd12
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync/****************************************************************************
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Realmode X86 Emulator Library
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Copyright (C) 1996-1999 SciTech Software, Inc.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Copyright (C) David Mosberger-Tang
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Copyright (C) 1999 Egbert Eich
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* ========================================================================
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Permission to use, copy, modify, distribute, and sell this software and
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* its documentation for any purpose is hereby granted without fee,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* provided that the above copyright notice appear in all copies and that
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* both that copyright notice and this permission notice appear in
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* supporting documentation, and that the name of the authors not be used
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* in advertising or publicity pertaining to distribution of the software
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* without specific, written prior permission. The authors makes no
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* representations about the suitability of this software for any purpose.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* It is provided "as is" without express or implied warranty.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* PERFORMANCE OF THIS SOFTWARE.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* ========================================================================
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Language: ANSI C
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Environment: Any
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Developer: Kendall Bennett
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Description: Header file for public specific functions.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* Any application linking against us should only
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync* include this header
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync****************************************************************************/
#ifdef PACK
#ifdef END_PACK
#pragma END_PACK
#ifdef __cplusplus
/* decode.c */
void X86EMU_exec(void);
void X86EMU_halt_sys(void);
#ifdef DEBUG
#define HALT_SYS() \
void X86EMU_trace_regs(void);
void X86EMU_trace_xregs(void);
int X86EMU_trace_on(void);
int X86EMU_trace_off(void);
#ifdef __cplusplus