mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
- Add BOP 0x12 "BiosGetMemorySize" (same number as the corresponding INTerrupt). Needed by ntio.sys when initializing (see next commit). - Use ASCII names for bios image and dos kernel files names. - Use the file helper functions committed before for implementing ROM image file loading. svn path=/branches/ntvdm/; revision=62342
41 lines
977 B
C
41 lines
977 B
C
/*
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
|
* FILE: rom.h
|
|
* PURPOSE: ROM Support Functions
|
|
* PROGRAMMERS: Hermes Belusca-Maito ([email protected])
|
|
*/
|
|
|
|
#ifndef _ROM_H_
|
|
#define _ROM_H_
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include "ntvdm.h"
|
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
#define ROM_AREA_START 0xE0000
|
|
#define ROM_AREA_END 0xFFFFF
|
|
|
|
#define OPTION_ROM_SIGNATURE 0xAA55
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
BOOLEAN
|
|
LoadBios(IN PCSTR BiosFileName,
|
|
OUT PVOID* BiosLocation OPTIONAL,
|
|
OUT PULONG BiosSize OPTIONAL);
|
|
|
|
BOOLEAN
|
|
LoadRom(IN PCSTR RomFileName,
|
|
IN PVOID RomLocation,
|
|
OUT PULONG RomSize OPTIONAL);
|
|
|
|
VOID
|
|
SearchAndInitRoms(IN PCALLBACK16 Context);
|
|
|
|
#endif // _ROM_H_
|
|
|
|
/* EOF */
|