TOP VESA

Overall

VBE works through Interrupt 10h BIOS routines (subfunction AH=4Fh).

Functions(AX)

0x4F00 - VBE Controller Info

0x4F01 - VBE Mode Info

AX=0x4F01,CX=mode number(0x100~0x11B),ES:DI=Pointer to 256 bytes ModeInfoBlock
ModeInfoBlock
offsetNameVersionmisc
0x00ModeAttributes1.0short
0x02WinA Attributes1.0byte
0x03WinB Attributes1.0byte
0x04WinGranularity1.0short
0x06WinSizeshort1.0short
0x08WinASegment1.0short
0x0AWinASegment1.0short
0x0CWinFuncPtr1.0int
0x10BytesPerScanLine1.0short
0x12X Resolution1.2short
0x14Y Resolution1.2short
0x16X Char Size1.2char
0x17Y Char Size1.2char
0x18Number Of Planes1.2char
0x19Bits Per Pixel1.2char
0x1ANumber of Banks1.2char
0x1BMemoryModel1.2char
0x1CBank Size1.2char
0x1DNumber Of Image Pages1.2char
0x1Ereserved1.2char
0x1FRed Mask Size1.2char
0x20Red Field Position1.2char
0x21Green Mask Size1.2char
0x22Green Field Position1.2char
0x23Blue Mask Size1.2char
0x24Blue Field Position1.2char
0x25Rsvd Mask Size1.2char
0x26Rsvd Field Position1.2char
0x27Direct Color Mode Info1.2char
0x28PhysBasePtr2.0int
0x2CReserved2.0int
0x30Reserved2.0short
0x32LineBytesPerScanLine3.0short
0x34Bank Number Of Image Pages3.0char
0x35Line Number Of Image Pages3.0char
0x36Line Red Mask Size3.0char
0x37Line Red Field Position3.0char
0x38Line Green Mask Size3.0char
0x39Line Green Field Position3.0char
0x3ALine Blue Mask Size3.0char
0x3BLine Blue Field Position3.0char
0x3CLine Rsvd Mask Size3.0char
0x3DLine Rsvd Field Position3.0char
0x3EMaxPixelClockint
0x42Reserved189 bytes



0x4F02 - Set VBE Mode

0x4F03 - Get VBE Mode

0x4F04 - Save/Restore State

0x4F05 - Display Window Control

0x4F06 - Set/Get LogicalScan Line Length

0x4F07 - Set/Get Display Start

0x4F08 - Set/Get DAC Palette Format

0x4F09 - Set/Get Palette Data

0x4F0A - VBE Protected Mode Interface

0x4F0B - Get/Set Pixel Clock

Supplemental Functions

VBE Return Status

Real Mode only. Protected mode func(0x4F0A) won't return status.
Reg Val conditionStatus
AL==0x4Ffunction is supported
AL!=0x4Ffunction is supported
AH==0x00function call successful.
AH==0x01function call failed
AH==0x02function is not supported on the HW
AH==0x03function is invalid in this Video mode.
(AH&0xFC)!=0general failure

Video Mode

Bit

Bit(s)ValMode
151Preserve Display Memory
0Clear Display Memory
141Linear Flat Memory
0Banked Memory
13,120reserved
111User set refresh rate
0BIOS refresh rate
10,90reserved
81VESA defined Video Mode
0non VESA Video Mode
71Preserve Display Memory
0Clear Display Memory
6-00x14-0x7FOEM Video Mode
0x00-0x13Standard VGA Mode

Mode

ModeWHColorG/T
0x100640400256G
0x101640480256G
0x10280060016G(7bit mode:0x6A)
0x103800600256G
0x104102476816G
0x1051024768256G
0x1061280102416G
0x10712801024256G
0x1088060T
0x10913225T
0x10A13243T
0x10B13250T
0x10C13260T
0x10D32020032K(1:5:5:5)G
0x10E32020064K(5:6:6)G
0x10F32020016.8M(8:8:8)G
0x11064048032K(1:5:5:5)G
0x11164048064K(5:6:5)G
0x11264048016.8M(8:8:8)G
0x11380060032K(1:5:5:5)G
0x11480060064K(5:6:5)G
0x11580060016.8M(8:8:8)G
0x116102476832K(1:5:5:5)G
0x117102476864K(5:6:5)G
0x118102476816.8M(8:8:8)G
0x1191280102432K(1:5:5:5)G
0x11A1280102464K(5:6:5)G
0x11B1280102416.8M(8:8:8)G
0x81FF----Special Mode

管理人/副管理人のみ編集できます