5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 extern UCHAR XboxFont8x16
[256 * 16];
28 VOID
XboxMachInit(const char *CmdLine
);
30 VOID
XboxConsPutChar(int Ch
);
31 BOOLEAN
XboxConsKbHit(VOID
);
32 int XboxConsGetCh(VOID
);
34 VOID
XboxVideoInit(VOID
);
35 VOID
XboxVideoClearScreen(UCHAR Attr
);
36 VIDEODISPLAYMODE
XboxVideoSetDisplayMode(char *DisplayModem
, BOOLEAN Init
);
37 VOID
XboxVideoGetDisplaySize(PULONG Width
, PULONG Height
, PULONG Depth
);
38 ULONG
XboxVideoGetBufferSize(VOID
);
39 VOID
XboxVideoSetTextCursorPosition(UCHAR X
, UCHAR Y
);
40 VOID
XboxVideoHideShowTextCursor(BOOLEAN Show
);
41 VOID
XboxVideoPutChar(int Ch
, UCHAR Attr
, unsigned X
, unsigned Y
);
42 VOID
XboxVideoCopyOffScreenBufferToVRAM(PVOID Buffer
);
43 BOOLEAN
XboxVideoIsPaletteFixed(VOID
);
44 VOID
XboxVideoSetPaletteColor(UCHAR Color
, UCHAR Red
, UCHAR Green
, UCHAR Blue
);
45 VOID
XboxVideoGetPaletteColor(UCHAR Color
, UCHAR
* Red
, UCHAR
* Green
, UCHAR
* Blue
);
46 VOID
XboxVideoSync(VOID
);
47 VOID
XboxVideoPrepareForReactOS(IN BOOLEAN Setup
);
48 VOID
XboxPrepareForReactOS(IN BOOLEAN Setup
);
50 VOID
XboxMemInit(VOID
);
51 PVOID
XboxMemReserveMemory(ULONG MbToReserve
);
52 ULONG
XboxMemGetMemoryMap(PBIOS_MEMORY_MAP BiosMemoryMap
, ULONG MaxMemoryMapSize
);
54 BOOLEAN
XboxDiskReadLogicalSectors(UCHAR DriveNumber
, ULONGLONG SectorNumber
, ULONG SectorCount
, PVOID Buffer
);
55 BOOLEAN
XboxDiskGetPartitionEntry(UCHAR DriveNumber
, ULONG PartitionNumber
, PPARTITION_TABLE_ENTRY PartitionTableEntry
);
56 BOOLEAN
XboxDiskGetDriveGeometry(UCHAR DriveNumber
, PGEOMETRY DriveGeometry
);
57 ULONG
XboxDiskGetCacheableBlockCount(UCHAR DriveNumber
);
59 TIMEINFO
* XboxGetTime(VOID
);
61 PCONFIGURATION_COMPONENT_DATA
XboxHwDetect(VOID
);
63 VOID
XboxSetLED(PCSTR Pattern
);