2013-11-01 00:01:07 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
2015-09-18 17:01:49 +00:00
|
|
|
* FILE: subsystems/mvdm/ntvdm/cpu/bop.h
|
2013-11-01 00:01:07 +00:00
|
|
|
* PURPOSE: BIOS Operation Handlers
|
|
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
|
|
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
|
|
*/
|
|
|
|
|
2013-11-09 22:15:40 +00:00
|
|
|
#ifndef _BOP_H_
|
|
|
|
#define _BOP_H_
|
|
|
|
|
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
|
|
|
|
/* BOP Identifiers */
|
|
|
|
#define EMULATOR_BOP 0xC4C4
|
|
|
|
#define EMULATOR_MAX_BOP_NUM 0xFF + 1
|
2013-11-01 02:28:47 +00:00
|
|
|
|
2013-11-09 22:15:40 +00:00
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
|
|
|
|
typedef VOID (WINAPI *EMULATOR_BOP_PROC)(LPWORD Stack);
|
2013-11-01 02:28:47 +00:00
|
|
|
|
2013-12-23 18:04:32 +00:00
|
|
|
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler);
|
2015-06-12 03:30:40 +00:00
|
|
|
VOID FASTCALL EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode);
|
2013-11-09 22:15:40 +00:00
|
|
|
|
2015-10-03 21:47:46 +00:00
|
|
|
#endif /* _BOP_H_ */
|