ReactOS  0.4.12-dev-396-g37af787
precomp.h File Reference
#include <ntddk.h>
#include <drivers/bootvid/bootvid.h>
Include dependency graph for precomp.h:

Go to the source code of this file.

Classes

struct  tagBITMAPINFOHEADER
 

Macros

#define BOOTCHAR_HEIGHT   13
 
#define CMD_STREAM_WRITE   0x0
 
#define CMD_STREAM_WRITE_ARRAY   0x2
 
#define CMD_STREAM_USHORT   0x4
 
#define CMD_STREAM_READ   0x8
 
#define BI_RGB   0
 
#define BI_RLE4   2
 

Typedefs

typedef struct tagBITMAPINFOHEADER BITMAPINFOHEADER
 
typedef struct tagBITMAPINFOHEADERPBITMAPINFOHEADER
 

Functions

VOID NTAPI InitializePalette (VOID)
 

Variables

USHORT AT_Initialization []
 
ULONG curr_x
 
ULONG curr_y
 
ULONG_PTR VgaRegisterBase
 
ULONG_PTR VgaBase
 
UCHAR FontData [256 *BOOTCHAR_HEIGHT]
 

Macro Definition Documentation

◆ BI_RGB

#define BI_RGB   0

◆ BI_RLE4

#define BI_RLE4   2

◆ BOOTCHAR_HEIGHT

#define BOOTCHAR_HEIGHT   13

Definition at line 10 of file precomp.h.

◆ CMD_STREAM_READ

#define CMD_STREAM_READ   0x8

Definition at line 16 of file precomp.h.

◆ CMD_STREAM_USHORT

#define CMD_STREAM_USHORT   0x4

Definition at line 15 of file precomp.h.

◆ CMD_STREAM_WRITE

#define CMD_STREAM_WRITE   0x0

Definition at line 13 of file precomp.h.

◆ CMD_STREAM_WRITE_ARRAY

#define CMD_STREAM_WRITE_ARRAY   0x2

Definition at line 14 of file precomp.h.

Typedef Documentation

◆ BITMAPINFOHEADER

◆ PBITMAPINFOHEADER

Function Documentation

◆ InitializePalette()

VOID NTAPI InitializePalette ( VOID  )

Definition at line 301 of file vga.c.

302 {
303  ULONG PaletteEntry[16] = {0x000000,
304  0x000020,
305  0x002000,
306  0x002020,
307  0x200000,
308  0x200020,
309  0x202000,
310  0x202020,
311  0x303030,
312  0x00003F,
313  0x003F00,
314  0x003F3F,
315  0x3F0000,
316  0x3F003F,
317  0x3F3F00,
318  0x3F3F3F};
319  ULONG i;
320 
321  /* Loop all the entries and set their palettes */
322  for (i = 0; i < 16; i++) SetPaletteEntry(i, PaletteEntry[i]);
323 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static VOID NTAPI SetPaletteEntry(IN ULONG Id, IN ULONG PaletteEntry)
Definition: vga.c:287
unsigned int ULONG
Definition: retypes.h:1

Referenced by VidResetDisplay().

Variable Documentation

◆ AT_Initialization

USHORT AT_Initialization[]

Definition at line 3 of file bootdata.c.

Referenced by VidInitialize(), and VidResetDisplay().

◆ curr_x

ULONG curr_x

Definition at line 68 of file vga.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

◆ curr_y

ULONG curr_y

Definition at line 69 of file vga.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

◆ FontData

UCHAR FontData[256 *BOOTCHAR_HEIGHT]

Definition at line 57 of file bootdata.c.

Referenced by DisplayCharacter(), and VgaWriteTextModeFont().

◆ VgaBase

◆ VgaRegisterBase

ULONG_PTR VgaRegisterBase

Definition at line 66 of file vga.c.

Referenced by ReadWriteMode(), VgaInterpretCmdStream(), VgaIsPresent(), VidCleanUp(), and VidInitialize().