mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
46 lines
920 B
C
46 lines
920 B
C
#include "ntddk.h"
|
|
#include "arc/arc.h"
|
|
#include "halfuncs.h"
|
|
#include "drivers/bootvid/bootvid.h"
|
|
|
|
//
|
|
// Command Stream Definitions
|
|
//
|
|
#define CMD_STREAM_WRITE 0x0
|
|
#define CMD_STREAM_WRITE_ARRAY 0x2
|
|
#define CMD_STREAM_USHORT 0x4
|
|
#define CMD_STREAM_READ 0x8
|
|
|
|
//
|
|
// Bitmap Header
|
|
//
|
|
typedef struct tagBITMAPINFOHEADER
|
|
{
|
|
ULONG biSize;
|
|
LONG biWidth;
|
|
LONG biHeight;
|
|
USHORT biPlanes;
|
|
USHORT biBitCount;
|
|
ULONG biCompression;
|
|
ULONG biSizeImage;
|
|
LONG biXPelsPerMeter;
|
|
LONG biYPelsPerMeter;
|
|
ULONG biClrUsed;
|
|
ULONG biClrImportant;
|
|
} BITMAPINFOHEADER, *PBITMAPINFOHEADER;
|
|
|
|
VOID
|
|
NTAPI
|
|
InitializePalette(
|
|
VOID
|
|
);
|
|
|
|
//
|
|
// Globals
|
|
//
|
|
extern USHORT AT_Initialization[];
|
|
extern ULONG curr_x;
|
|
extern ULONG curr_y;
|
|
extern ULONG_PTR VgaRegisterBase;
|
|
extern ULONG_PTR VgaBase;
|
|
extern UCHAR FontData[256 * 13];
|