18#if defined(_M_IX86) || defined(_M_AMD64)
19#if defined(SARCH_PC98)
21#elif defined(SARCH_XBOX)
30#error Unknown architecture
34#undef CHAR_GEN_UPSIDE_DOWN
36#define BOOTCHAR_HEIGHT 13
37#define BOOTCHAR_WIDTH 8
71#define RGB(r, g, b) ((RGBQUAD)(((UCHAR)(b) | ((USHORT)((UCHAR)(g))<<8)) | (((ULONG)(UCHAR)(r))<<16)))
73#define GetRValue(quad) ((UCHAR)(((quad)>>16) & 0xFF))
74#define GetGValue(quad) ((UCHAR)(((quad)>>8) & 0xFF))
75#define GetBValue(quad) ((UCHAR)((quad) & 0xFF))
77#define InitializePalette() InitPaletteWithTable((PULONG)VidpDefaultPalette, BV_MAX_COLORS)
79#ifdef CHAR_GEN_UPSIDE_DOWN
80# define GetFontPtr(_Char) (&VidpFontData[(_Char) * BOOTCHAR_HEIGHT] + BOOTCHAR_HEIGHT - 1)
81# define FONT_PTR_DELTA (-1)
83# define GetFontPtr(_Char) (&VidpFontData[(_Char) * BOOTCHAR_HEIGHT])
84# define FONT_PTR_DELTA (1)
struct tagBITMAPINFOHEADER * PBITMAPINFOHEADER
UCHAR VidpFontData[256 *BOOTCHAR_HEIGHT]
struct tagBITMAPINFOHEADER BITMAPINFOHEADER
const RGBQUAD VidpDefaultPalette[BV_MAX_COLORS]
ULONG VidpScrollRegion[4]