TOP VESA
- Overall
- Functions(AX)
- 0x4F00 - VBE Controller Info
- 0x4F01 - VBE Mode Info
- 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
- Video Mode
- Standards
- References
AX=0x4F01,CX=mode number(0x100~0x11B),ES:DI=Pointer to 256 bytes ModeInfoBlock
offset | Name | Version | misc | |
0x00 | ModeAttributes | 1.0 | short | |
0x02 | WinA Attributes | 1.0 | byte | |
0x03 | WinB Attributes | 1.0 | byte | |
0x04 | WinGranularity | 1.0 | short | |
0x06 | WinSize | short | 1.0 | short |
0x08 | WinASegment | 1.0 | short | |
0x0A | WinASegment | 1.0 | short | |
0x0C | WinFuncPtr | 1.0 | int | |
0x10 | BytesPerScanLine | 1.0 | short | |
0x12 | X Resolution | 1.2 | short | |
0x14 | Y Resolution | 1.2 | short | |
0x16 | X Char Size | 1.2 | char | |
0x17 | Y Char Size | 1.2 | char | |
0x18 | Number Of Planes | 1.2 | char | |
0x19 | Bits Per Pixel | 1.2 | char | |
0x1A | Number of Banks | 1.2 | char | |
0x1B | MemoryModel | 1.2 | char | |
0x1C | Bank Size | 1.2 | char | |
0x1D | Number Of Image Pages | 1.2 | char | |
0x1E | reserved | 1.2 | char | |
0x1F | Red Mask Size | 1.2 | char | |
0x20 | Red Field Position | 1.2 | char | |
0x21 | Green Mask Size | 1.2 | char | |
0x22 | Green Field Position | 1.2 | char | |
0x23 | Blue Mask Size | 1.2 | char | |
0x24 | Blue Field Position | 1.2 | char | |
0x25 | Rsvd Mask Size | 1.2 | char | |
0x26 | Rsvd Field Position | 1.2 | char | |
0x27 | Direct Color Mode Info | 1.2 | char | |
0x28 | PhysBasePtr | 2.0 | int | |
0x2C | Reserved | 2.0 | int | |
0x30 | Reserved | 2.0 | short | |
0x32 | LineBytesPerScanLine | 3.0 | short | |
0x34 | Bank Number Of Image Pages | 3.0 | char | |
0x35 | Line Number Of Image Pages | 3.0 | char | |
0x36 | Line Red Mask Size | 3.0 | char | |
0x37 | Line Red Field Position | 3.0 | char | |
0x38 | Line Green Mask Size | 3.0 | char | |
0x39 | Line Green Field Position | 3.0 | char | |
0x3A | Line Blue Mask Size | 3.0 | char | |
0x3B | Line Blue Field Position | 3.0 | char | |
0x3C | Line Rsvd Mask Size | 3.0 | char | |
0x3D | Line Rsvd Field Position | 3.0 | char | |
0x3E | MaxPixelClock | int | ||
0x42 | Reserved | 189 bytes |
Real Mode only. Protected mode func(0x4F0A) won't return status.
Reg Val condition | Status |
AL==0x4F | function is supported |
AL!=0x4F | function is supported |
AH==0x00 | function call successful. |
AH==0x01 | function call failed |
AH==0x02 | function is not supported on the HW |
AH==0x03 | function is invalid in this Video mode. |
(AH&0xFC)!=0 | general failure |
Bit(s) | Val | Mode |
15 | 1 | Preserve Display Memory |
0 | Clear Display Memory | |
14 | 1 | Linear Flat Memory |
0 | Banked Memory | |
13,12 | 0 | reserved |
11 | 1 | User set refresh rate |
0 | BIOS refresh rate | |
10,9 | 0 | reserved |
8 | 1 | VESA defined Video Mode |
0 | non VESA Video Mode | |
7 | 1 | Preserve Display Memory |
0 | Clear Display Memory | |
6-0 | 0x14-0x7F | OEM Video Mode |
0x00-0x13 | Standard VGA Mode |
Mode | W | H | Color | G/T | |
0x100 | 640 | 400 | 256 | G | |
0x101 | 640 | 480 | 256 | G | |
0x102 | 800 | 600 | 16 | G | (7bit mode:0x6A) |
0x103 | 800 | 600 | 256 | G | |
0x104 | 1024 | 768 | 16 | G | |
0x105 | 1024 | 768 | 256 | G | |
0x106 | 1280 | 1024 | 16 | G | |
0x107 | 1280 | 1024 | 256 | G | |
0x108 | 80 | 60 | T | ||
0x109 | 132 | 25 | T | ||
0x10A | 132 | 43 | T | ||
0x10B | 132 | 50 | T | ||
0x10C | 132 | 60 | T | ||
0x10D | 320 | 200 | 32K(1:5:5:5) | G | |
0x10E | 320 | 200 | 64K(5:6:6) | G | |
0x10F | 320 | 200 | 16.8M(8:8:8) | G | |
0x110 | 640 | 480 | 32K(1:5:5:5) | G | |
0x111 | 640 | 480 | 64K(5:6:5) | G | |
0x112 | 640 | 480 | 16.8M(8:8:8) | G | |
0x113 | 800 | 600 | 32K(1:5:5:5) | G | |
0x114 | 800 | 600 | 64K(5:6:5) | G | |
0x115 | 800 | 600 | 16.8M(8:8:8) | G | |
0x116 | 1024 | 768 | 32K(1:5:5:5) | G | |
0x117 | 1024 | 768 | 64K(5:6:5) | G | |
0x118 | 1024 | 768 | 16.8M(8:8:8) | G | |
0x119 | 1280 | 1024 | 32K(1:5:5:5) | G | |
0x11A | 1280 | 1024 | 64K(5:6:5) | G | |
0x11B | 1280 | 1024 | 16.8M(8:8:8) | G | |
0x81FF | - | - | - | - | Special Mode |
最新コメント