51 ERR(
"Failed to get drive 0x%x\n", DriveNumber);
55 if (((DiskDrive->
DaUa & 0xF0) == 0x30) ||
56 ((DiskDrive->
DaUa & 0xF0) == 0xB0))
81 ERR(
"Failed to get drive 0x%x\n", DriveNumber);
89 Regs.
w.
si = LoadAddress;
90 Regs.
w.
es = LoadAddress;
105 REGS RegsIn, RegsOut;
110 RegsIn.
w.
ax = 0x1000;
111 Int386(0x1A, &RegsIn, &RegsOut);
113 return RegsOut.
w.
ax != 0x1000;
121 ERR(
"This is not a supported PC98!\n");
#define ExtendedBIOSDataArea
#define ExtendedBIOSDataSize
#define DebugDisableScreenPort()
#define DBG_DEFAULT_CHANNEL(ch)
#define ATTR(cFore, cBack)
static const WCHAR CmdLine[]
void __cdecl _disable(void)
__INTRIN_INLINE void __halt(void)
VOID Pc98GetExtendedBIOSData(PULONG ExtendedBIOSDataArea, PULONG ExtendedBIOSDataSize)
VOID MachInit(const char *CmdLine)
VOID __cdecl ChainLoadBiosBootSectorCode(IN UCHAR BootDrive OPTIONAL, IN ULONG BootPartition OPTIONAL)
static BOOLEAN Pc98ArchTest(VOID)
ULONG Pc98GetBootSectorLoadAddress(IN UCHAR DriveNumber)
VOID Pc98PrepareForReactOS(VOID)
#define MEM_EXTENDED_HIGH_RESO
#define HIGH_RESOLUTION_FLAG
#define MEM_EXTENDED_NORMAL
BOOLEAN Pc98ConsKbHit(VOID)
VOID Pc98ConsPutChar(int Ch)
ULONG Pc98DiskGetCacheableBlockCount(UCHAR DriveNumber)
PPC98_DISK_DRIVE Pc98DiskDriveNumberToDrive(IN UCHAR DriveNumber)
VOID Pc98DiskPrepareForReactOS(VOID)
BOOLEAN Pc98InitializeBootDevices(VOID)
BOOLEAN Pc98DiskReadLogicalSectors(IN UCHAR DriveNumber, IN ULONGLONG SectorNumber, IN ULONG SectorCount, OUT PVOID Buffer)
BOOLEAN Pc98DiskGetDriveGeometry(UCHAR DriveNumber, PGEOMETRY Geometry)
VOID __cdecl DiskStopFloppyMotor(VOID)
PCONFIGURATION_COMPONENT_DATA Pc98HwDetect(_In_opt_ PCSTR Options)
UCHAR Pc98GetFloppyCount(VOID)
PFREELDR_MEMORY_DESCRIPTOR Pc98MemGetMemoryMap(ULONG *MemoryMapSize)
TIMEINFO * Pc98GetTime(VOID)
VOID Pc98VideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth)
BOOLEAN Pc98VideoIsPaletteFixed(VOID)
VOID Pc98VideoClearScreen(UCHAR Attr)
ULONG Pc98VideoGetBufferSize(VOID)
VOID Pc98VideoGetFontsFromFirmware(PULONG RomFontPointers)
VOID Pc98VideoSetTextCursorPosition(UCHAR X, UCHAR Y)
VOID Pc98VideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y)
VIDEODISPLAYMODE Pc98VideoSetDisplayMode(char *DisplayModeName, BOOLEAN Init)
VOID Pc98VideoHideShowTextCursor(BOOLEAN Show)
VOID Pc98VideoPrepareForReactOS(VOID)
VOID Pc98VideoGetPaletteColor(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
VOID Pc98VideoCopyOffScreenBufferToVRAM(PVOID Buffer)
VOID Pc98VideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
int __cdecl Int386(int ivec, REGS *in, REGS *out)
VOID __cdecl Relocator16Boot(IN REGS *In, IN USHORT StackSegment, IN USHORT StackPointer, IN USHORT CodeSegment, IN USHORT CodePointer)
VOID HalpCalibrateStallExecution(VOID)
PULONG MinorVersion OPTIONAL
VOID(* VideoGetPaletteColor)(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
VOID(* GetExtendedBIOSData)(PULONG ExtendedBIOSDataArea, PULONG ExtendedBIOSDataSize)
VOID(* PrepareForReactOS)(VOID)
VOID(* VideoSetPaletteColor)(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
BOOLEAN(* InitializeBootDevices)(VOID)
VOID(* VideoCopyOffScreenBufferToVRAM)(PVOID Buffer)
BOOLEAN(* ConsKbHit)(VOID)
VOID(* VideoHideShowTextCursor)(BOOLEAN Show)
TIMEINFO *(* GetTime)(VOID)
UCHAR(* GetFloppyCount)(VOID)
BOOLEAN(* DiskGetDriveGeometry)(UCHAR DriveNumber, PGEOMETRY DriveGeometry)
BOOLEAN(* DiskReadLogicalSectors)(UCHAR DriveNumber, ULONGLONG SectorNumber, ULONG SectorCount, PVOID Buffer)
PFREELDR_MEMORY_DESCRIPTOR(* GetMemoryMap)(PULONG MaxMemoryMapSize)
VOID(* VideoGetFontsFromFirmware)(PULONG RomFontPointers)
VOID(* VideoSetTextCursorPosition)(UCHAR X, UCHAR Y)
ULONG(* VideoGetBufferSize)(VOID)
VOID(* VideoPutChar)(int Ch, UCHAR Attr, unsigned X, unsigned Y)
ULONG(* DiskGetCacheableBlockCount)(UCHAR DriveNumber)
VOID(* VideoGetDisplaySize)(PULONG Width, PULONG Height, PULONG Depth)
VOID(* VideoClearScreen)(UCHAR Attr)
VIDEODISPLAYMODE(* VideoSetDisplayMode)(char *DisplayMode, BOOLEAN Init)
BOOLEAN(* VideoIsPaletteFixed)(VOID)
PCONFIGURATION_COMPONENT_DATA(* HwDetect)(_In_opt_ PCSTR Options)
VOID(* ConsPutChar)(int Ch)
#define RtlZeroMemory(Destination, Length)