79 0x03, 0x21, 0x0F, 0x00, 0x0E, 0x00, 0x12, 0x11, 0x00, 0x00, 0x18, 0x58,
80 0x58, 0x58, 0x58, 0x98, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x20,
81 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x2D
86 0x5F, 0x4F, 0x4F, 0x80, 0x52, 0x1E, 0x0B, 0x3E, 0x00, 0x40, 0x00, 0x00,
87 0x00, 0x00, 0x00, 0x00, 0xEA, 0x2C, 0xDF, 0x50, 0x40, 0xDF, 0x0B, 0xC3,
88 0xFF, 0x00, 0x00, 0x22, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF,
89 0x80, 0x00, 0x20, 0xB8
94 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F, 0xFF, 0x00, 0x00, 0x20,
95 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
96 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
97 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
98 0x00, 0x00, 0x00, 0x00
103 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
104 0x0C, 0x0D, 0x0E, 0x0F, 0x41, 0x00, 0x0F, 0x00, 0x00
160 0x03, 0x21, 0x0F, 0x00, 0x0E, 0x00, 0x12, 0x11, 0x00, 0x00, 0x18, 0x23,
161 0x23, 0x23, 0x23, 0x98, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x20,
162 0x00, 0x00, 0x00, 0x14, 0x14, 0x14, 0x14, 0x2D
167 0x7D, 0x63, 0x63, 0x80, 0x6B, 0x1A, 0x98, 0xF0, 0x00, 0x60, 0x00, 0x00,
168 0x00, 0x00, 0x00, 0x00, 0x7D, 0x23, 0x57, 0x64, 0x40, 0x57, 0x98, 0xC3,
169 0xFF, 0x00, 0x00, 0x22, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF,
170 0x80, 0x00, 0x20, 0xB8
175 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F, 0xFF, 0x00, 0x00, 0x20,
176 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
177 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
178 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
179 0x00, 0x00, 0x00, 0x00
184 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
185 0x0C, 0x0D, 0x0E, 0x0F, 0x41, 0x00, 0x0F, 0x00, 0x00
364 DPRINT1(
"Extended video mode %02X still UNIMPLEMENTED.\n", ModeNumber);
488 Info.Signature =
'ASEV';
489 Info.Version = 0x0102;
491 Info.Capabilities = 0;
501 if (
Modes[
i].VesaNumber != 0xFFFF)
538 DPRINT1(
"WARNING: The mode information for mode %02X (%03X) is missing!\n",
547 for (
i = 0;
i < 128;
i++)
649 DPRINT1(
"VESA INT 0x10, AL = 0x05, Unknown subfunction: 0x%02X\n",
getBH());
677 switch (
getBL() & 0x7F)
696 Value &= ~SVGA_CRTC_EXT_ADDR_BIT19;
743 setCX(StartAddress %
Mode->Info->BytesPerScanline);
744 setDX(StartAddress /
Mode->Info->BytesPerScanline);
757 DPRINT1(
"VESA BIOS Extensions function %02Xh NOT IMPLEMENTED!\n",
getAL());
char * strcpy(char *DstString, const char *SrcString)
#define SEG_OFF_TO_PTR(seg, off)
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
VOID Int32Call(IN PCALLBACK16 Context, IN BYTE IntNumber)
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
UCHAR Sequencer[SVGA_SEQ_MAX_REG]
UCHAR CRT[SVGA_CRTC_MAX_REG]
UCHAR Graphics[SVGA_GC_MAX_REG]
UCHAR Attribute[VGA_AC_MAX_REG]
PCVBE_MODE VbeGetModeByNumber(WORD Number)
VOID WINAPI VbeResetExtendedRegisters(VOID)
static SVGA_REGISTERS VbeMode_640x480x256_Registers
static VOID VbeSetExtendedRegisters(PSVGA_REGISTERS Registers)
static SVGA_REGISTERS VbeMode_800x600x256_Registers
BOOLEAN VbeInitialize(VOID)
BOOLEAN WINAPI VbeSetExtendedVideoMode(BYTE ModeNumber)
static const VBE_MODE_INFO VbeMode_640x480x256_Info
static const VBE_MODE Modes[VBE_MODE_COUNT]
static const VBE_MODE_INFO VbeMode_800x600x256_Info
VOID WINAPI VbeService(LPWORD Stack)
struct _VBE_MODE_INFO VBE_MODE_INFO
#define VBE_MODE_SUPPORTED
#define VBE_MODE_GRAPHICS
struct _VBE_INFORMATION VBE_INFORMATION
#define VBE_WINDOW_READABLE
#define VBE_WINDOW_WRITABLE
#define VBE_WINDOW_EXISTS
#define VBE_MODE_OPTIONAL_INFO
VOID IOWriteB(USHORT Port, UCHAR Buffer)
UCHAR IOReadB(USHORT Port)
VOID VgaClearMemory(VOID)
#define VGA_INSTAT1_READ_COLOR
#define SVGA_CRTC_EXT_ADDR_BIT16
#define VGA_STAT_VRETRACE
#define VGA_CRTC_INDEX_COLOR
@ SVGA_SEQ_VCLK1_DENOMINATOR_REG
@ SVGA_SEQ_VCLK0_DENOMINATOR_REG
@ SVGA_SEQ_VCLK2_NUMERATOR_REG
@ SVGA_SEQ_VCLK3_NUMERATOR_REG
@ SVGA_SEQ_VCLK3_DENOMINATOR_REG
@ SVGA_SEQ_VCLK2_DENOMINATOR_REG
@ SVGA_SEQ_VCLK0_NUMERATOR_REG
@ SVGA_SEQ_VCLK1_NUMERATOR_REG
#define SVGA_CRTC_EXT_ADDR_BIT19
#define VGA_CRTC_INDEX_MONO
#define VGA_CRTC_DATA_COLOR
@ VGA_CRTC_START_ADDR_LOW_REG
@ VGA_CRTC_END_VERT_RETRACE_REG
@ SVGA_CRTC_INTERLACE_END_REG
@ VGA_CRTC_START_ADDR_HIGH_REG
@ VGA_CRTC_END_HORZ_BLANKING_REG
@ SVGA_CRTC_EXT_DISPLAY_REG
#define VGA_AC_CONTROL_BLINK
#define SVGA_SEQ_UNLOCKED
#define SVGA_CRTC_EXT_ADDR_BITS1718
#define FIELD_OFFSET(t, f)
VOID WINAPI setBX(USHORT)
VOID WINAPI setCX(USHORT)
VOID WINAPI setDX(USHORT)
USHORT WINAPI getBX(VOID)
USHORT WINAPI getCX(VOID)
USHORT WINAPI getDX(VOID)
USHORT WINAPI getES(VOID)
USHORT WINAPI getDI(VOID)
VOID WINAPI setAX(USHORT)
#define BIOS_MAX_VIDEO_MODE
#define BIOS_VIDEO_INTERRUPT
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack