File: VBE_INFO.txt
Name: 获取VBE信息
Author: zyl910
Blog: http://blog.csdn.net/zyl910/
Version: V1.0
Updata: 2006-11-5
下载(注意修改下载后的扩展名)
这个程序用于获取VBE(VESA BIOS EXTENSION)信息,对编写SVGA程序很有帮助,还可用来检测显卡性能。
测试结果节选
~~~~~~~~~~~~
机器: VMware Workstation 5.5.2 build-29772
显卡: VMware SVGA II
[VBE]
VbeSignature : VESA
VbeVersion : 0x0200
OemStringPtr : V M ware, Inc. VBE support 2.0
Capabilities : 0x00000003
D0=1 DAC width is switchable to 8 bits per primary color
D1=1 Controller is not VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : C000:5FA7
TotalMemory : 0x0100 (16384KB)
OemSoftwareRev : 0x0200
OemVendorNamePtr : VMware, Inc
OemProductNamePtr: VMware virtual machine
OemProductRevPtr : 2.0
[VBE Mode List]
Mode Resolution Attr MemoryModel
0120: [G] 320 * 200 * 8 00BB 04 - Packed pixel
0121: [G] 320 * 400 * 8 00BB 04 - Packed pixel
0122: [G] 640 * 400 * 8 00BB 04 - Packed pixel
0123: [G] 640 * 480 * 8 00BB 04 - Packed pixel
0124: [G] 800 * 600 * 8 00BB 04 - Packed pixel
0125: [G] 1024 * 768 * 8 00BB 04 - Packed pixel
0126: [G] 1152 * 864 * 8 00BB 04 - Packed pixel
0127: [G] 1280 * 960 * 8 00BB 04 - Packed pixel
0128: [G] 1280 * 1024 * 8 00BB 04 - Packed pixel
0129: [G] 1400 * 1050 * 8 00BB 04 - Packed pixel
012A: [G] 1600 * 1200 * 8 00BB 04 - Packed pixel
012B: [G] 1792 * 1344 * 8 00BB 04 - Packed pixel
012C: [G] 1856 * 1392 * 8 00BB 04 - Packed pixel
012D: [G] 1920 * 1440 * 8 00BB 04 - Packed pixel
012E: [G] 320 * 200 * 16 00BB 06 - Direct Color
012F: [G] 320 * 400 * 16 00BB 06 - Direct Color
0130: [G] 640 * 400 * 16 00BB 06 - Direct Color
0131: [G] 640 * 480 * 16 00BB 06 - Direct Color
0132: [G] 800 * 600 * 16 00BB 06 - Direct Color
0133: [G] 1024 * 768 * 16 00BB 06 - Direct Color
0134: [G] 1152 * 864 * 16 00BB 06 - Direct Color
0135: [G] 1280 * 960 * 16 00BB 06 - Direct Color
0136: [G] 1280 * 1024 * 16 00BB 06 - Direct Color
0137: [G] 1400 * 1050 * 16 00BB 06 - Direct Color
0138: [G] 1600 * 1200 * 16 00BB 06 - Direct Color
0139: [G] 1792 * 1344 * 16 00BB 06 - Direct Color
013A: [G] 1856 * 1392 * 16 00BB 06 - Direct Color
013B: [G] 1920 * 1440 * 16 00BB 06 - Direct Color
013C: [G] 320 * 200 * 32 00BB 06 - Direct Color
013D: [G] 320 * 400 * 32 00BB 06 - Direct Color
013E: [G] 640 * 400 * 32 00BB 06 - Direct Color
013F: [G] 640 * 480 * 32 00BB 06 - Direct Color
0140: [G] 800 * 600 * 32 00BB 06 - Direct Color
0141: [G] 1024 * 768 * 32 00BB 06 - Direct Color
0142: [G] 1152 * 864 * 32 00BB 06 - Direct Color
0143: [G] 1280 * 960 * 32 00BB 06 - Direct Color
0144: [G] 1280 * 1024 * 32 00BB 06 - Direct Color
0145: [G] 1400 * 1050 * 32 00BB 06 - Direct Color
0146: [G] 1600 * 1200 * 32 00BB 06 - Direct Color
0147: [G] 1792 * 1344 * 32 00BB 06 - Direct Color
0148: [G] 1856 * 1392 * 32 00BB 06 - Direct Color
0149: [G] 1920 * 1440 * 32 00BB 06 - Direct Color
0100: [G] 640 * 400 * 8 00BB 04 - Packed pixel
0101: [G] 640 * 480 * 8 00BB 04 - Packed pixel
0103: [G] 800 * 600 * 8 00BB 04 - Packed pixel
0105: [G] 1024 * 768 * 8 00BB 04 - Packed pixel
0107: [G] 1280 * 1024 * 8 00BB 04 - Packed pixel
010E: [G] 320 * 200 * 16 00BB 06 - Direct Color
0111: [G] 640 * 480 * 16 00BB 06 - Direct Color
0114: [G] 800 * 600 * 16 00BB 06 - Direct Color
0117: [G] 1024 * 768 * 16 00BB 06 - Direct Color
011A: [G] 1280 * 1024 * 16 00BB 06 - Direct Color
[Mode: 120h]
ModeAttributes : 0x00BB
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=0 TTY Output functions not supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=1 VGA compatible mode: No
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=0 Double scan mode is available: No
D9=0 Interlaced mode is available: No
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C000:6ED3
BytesPerScanLine : 320
XResolution : 320
YResolution : 200
XCharSize : 16
YCharSize : 8
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 0
RedMaskSize : 8
RedFieldPosition : 0
GreenMaskSize : 8
GreenFieldPosition : 0
BlueMaskSize : 8
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : F0000000
OffScreenMemOffset : 0
OffScreenMemSize : 0
LinBytesPerScanLine : 0
BnkNumberOfImagePages: 0
LinNumberOfImagePages: 0
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 0
机器: Virtual PC 5.2(Build 418)
显卡: S3 Trio32/64 PCI (732/764)
[VBE]
VbeSignature : VESA
VbeVersion : 0x0200
OemStringPtr : IBM SVGA BIOS, (C) 1993 International Business Machines
Capabilities : 0x01000000
D0=0 DAC is fixed width, with 6 bits per primary color
D1=0 Controller is VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : C800:0177
TotalMemory : 0x0040 (4096KB)
OemSoftwareRev : 0x0000
OemVendorNamePtr : (null)
OemProductNamePtr: (null)
OemProductRevPtr : (null)
[VBE Mode List]
Mode Resolution Attr MemoryModel
0100: [G] 640 * 400 * 8 009B 04
0101: [G] 640 * 480 * 8 009B 04
0102: [G] 800 * 600 * 4 009B 03
0103: [G] 800 * 600 * 8 009B 04
0104: [G] 1024 * 768 * 4 009B 03
0105: [G] 1024 * 768 * 8 009B 04
0106: [G] 1280 * 1024 * 4 009B 03
0107: [G] 1280 * 1024 * 8 009B 04
0112: [G] 640 * 480 * 32 009B 06
0113: [T]32770 * 36866 * 1 9B02 01
0114: [G] 800 * 600 * 16 009B 06
0115: [G] 800 * 600 * 32 009B 06
0116: [T]32770 * 36866 * 1 9B02 01
0117: [G] 1024 * 768 * 16 009B 06
0118: [G] 1024 * 768 * 32 009B 06
0119: [T]32770 * 36866 * 1 9B02 01
011A: [G] 1280 * 1024 * 16 009B 06
011C: [G] 1024 * 768 * 4 009B 04
011D: [G] 1024 * 768 * 8 009B 04
0120: [G] 1600 * 1200 * 8 009B 04
0122: [G] 1600 * 1200 * 16 009B 06
0123: [G] 1600 * 1200 * 16 009B 06
0124: [G] 1600 * 1024 * 8 009B 04
0126: [G] 800 * 512 * 8 009B 04
0127: [G] 800 * 512 * 16 009B 06
0128: [G] 800 * 512 * 32 009B 06
0129: [G] 896 * 600 * 8 009B 04
012A: [G] 896 * 600 * 16 009B 06
012B: [G] 896 * 600 * 32 009B 06
012C: [G] 1152 * 768 * 8 009B 04
012D: [G] 1152 * 768 * 16 009B 06
012E: [G] 1152 * 768 * 32 009B 06
[Mode: 100h]
ModeAttributes : 0x009B
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=0 TTY Output functions not supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=0 VGA compatible mode: Yes
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=0 Double scan mode is available: No
D9=0 Interlaced mode is available: No
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C800:1DEE
BytesPerScanLine : 640
XResolution : 640
YResolution : 400
XCharSize : 8
YCharSize : 16
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 0
RedMaskSize : 0
RedFieldPosition : 0
GreenMaskSize : 0
GreenFieldPosition : 0
BlueMaskSize : 0
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : F8000000
OffScreenMemOffset : 256000
OffScreenMemSize : 3846
LinBytesPerScanLine : 0
BnkNumberOfImagePages: 0
LinNumberOfImagePages: 0
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 0
机器: 真实机器
显卡: NVIDIA RIVA TNT2 Model 64
[VBE]
VbeSignature : VESA
VbeVersion : 0x0300
OemStringPtr : NVidia
Capabilities : 0x00000001
D0=1 DAC width is switchable to 8 bits per primary color
D1=0 Controller is VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : 074B:FE12
TotalMemory : 0x0200 (32768KB)
OemSoftwareRev : 0x0000
OemVendorNamePtr : (null)
OemProductNamePtr: (null)
OemProductRevPtr : (null)
[VBE Mode List]
Mode Resolution Attr MemoryModel
0100: [G] 640 * 400 * 8 039F 04 - Packed pixel
0101: [G] 640 * 480 * 8 039F 04 - Packed pixel
0102: [G] 800 * 600 * 4 031F 03 - Planar
0103: [G] 800 * 600 * 8 039F 04 - Packed pixel
0104: [G] 1024 * 768 * 4 031F 03 - Planar
0105: [G] 1024 * 768 * 8 039F 04 - Packed pixel
0106: [G] 1280 * 1024 * 4 031F 03 - Planar
0107: [G] 1280 * 1024 * 8 039F 04 - Packed pixel
0108: [T] 80 * 60 * 4 038F 00 - Text mode
0109: [T] 132 * 25 * 4 038F 00 - Text mode
010A: [T] 132 * 43 * 4 038F 00 - Text mode
010B: [T] 132 * 50 * 4 038F 00 - Text mode
010C: [T] 132 * 60 * 4 038F 00 - Text mode
010E: [G] 320 * 200 * 16 039F 06 - Direct Color
010F: [G] 320 * 200 * 32 039F 06 - Direct Color
0111: [G] 640 * 480 * 16 039F 06 - Direct Color
0112: [G] 640 * 480 * 32 039F 06 - Direct Color
0114: [G] 800 * 600 * 16 039F 06 - Direct Color
0115: [G] 800 * 600 * 32 039F 06 - Direct Color
0117: [G] 1024 * 768 * 16 039F 06 - Direct Color
0118: [G] 1024 * 768 * 32 039F 06 - Direct Color
011A: [G] 1280 * 1024 * 16 039F 06 - Direct Color
0130: [G] 320 * 200 * 8 039F 04 - Packed pixel
0131: [G] 320 * 400 * 8 039F 04 - Packed pixel
0132: [G] 320 * 400 * 16 039F 06 - Direct Color
0133: [G] 320 * 400 * 32 039F 06 - Direct Color
0134: [G] 320 * 240 * 8 039F 04 - Packed pixel
0135: [G] 320 * 240 * 16 039F 06 - Direct Color
0136: [G] 320 * 240 * 32 039F 06 - Direct Color
013D: [G] 640 * 400 * 16 039F 06 - Direct Color
013E: [G] 640 * 400 * 32 039F 06 - Direct Color
0145: [G] 1600 * 1200 * 8 039F 04 - Packed pixel
0146: [G] 1600 * 1200 * 16 039F 06 - Direct Color
[Mode: 100h]
ModeAttributes : 0x039F
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=1 TTY Output functions supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=0 VGA compatible mode: Yes
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=1 Double scan mode is available: Yes
D9=1 Interlaced mode is available: Yes
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C000:5C9D
BytesPerScanLine : 640
XResolution : 640
YResolution : 400
XCharSize : 8
YCharSize : 16
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 15
RedMaskSize : 0
RedFieldPosition : 0
GreenMaskSize : 0
GreenFieldPosition : 0
BlueMaskSize : 0
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : F0000000
OffScreenMemOffset : 0
OffScreenMemSize : 0
LinBytesPerScanLine : 640
BnkNumberOfImagePages: 15
LinNumberOfImagePages: 15
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 229500000
机器: 真实机器
显卡: NVIDIA GeForce2 MX/MX 400
[VBE]
VbeSignature : VESA
VbeVersion : 0x0300
OemStringPtr : NVidia
Capabilities : 0x00000001
D0=1 DAC width is switchable to 8 bits per primary color
D1=0 Controller is VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : 07C5:FE12
TotalMemory : 0x0200 (32768KB)
OemSoftwareRev : 0x0000
OemVendorNamePtr : (null)
OemProductNamePtr: (null)
OemProductRevPtr : (null)
[VBE Mode List]
Mode Resolution Attr MemoryModel
0100: [G] 640 * 400 * 8 039F 04 - Packed pixel
0101: [G] 640 * 480 * 8 039F 04 - Packed pixel
0102: [G] 800 * 600 * 4 031F 03 - Planar
0103: [G] 800 * 600 * 8 039F 04 - Packed pixel
0104: [G] 1024 * 768 * 4 031F 03 - Planar
0105: [G] 1024 * 768 * 8 039F 04 - Packed pixel
0106: [G] 1280 * 1024 * 4 031F 03 - Planar
0107: [G] 1280 * 1024 * 8 039F 04 - Packed pixel
0108: [T] 80 * 60 * 4 038F 00 - Text mode
0109: [T] 132 * 25 * 4 038F 00 - Text mode
010A: [T] 132 * 43 * 4 038F 00 - Text mode
010B: [T] 132 * 50 * 4 038F 00 - Text mode
010C: [T] 132 * 60 * 4 038F 00 - Text mode
010E: [G] 320 * 200 * 16 039F 06 - Direct Color
010F: [G] 320 * 200 * 32 039F 06 - Direct Color
0111: [G] 640 * 480 * 16 039F 06 - Direct Color
0112: [G] 640 * 480 * 32 039F 06 - Direct Color
0114: [G] 800 * 600 * 16 039F 06 - Direct Color
0115: [G] 800 * 600 * 32 039F 06 - Direct Color
0117: [G] 1024 * 768 * 16 039F 06 - Direct Color
0118: [G] 1024 * 768 * 32 039F 06 - Direct Color
011A: [G] 1280 * 1024 * 16 039F 06 - Direct Color
0130: [G] 320 * 200 * 8 039F 04 - Packed pixel
0131: [G] 320 * 400 * 8 039F 04 - Packed pixel
0132: [G] 320 * 400 * 16 039F 06 - Direct Color
0133: [G] 320 * 400 * 32 039F 06 - Direct Color
0134: [G] 320 * 240 * 8 039F 04 - Packed pixel
0135: [G] 320 * 240 * 16 039F 06 - Direct Color
0136: [G] 320 * 240 * 32 039F 06 - Direct Color
013D: [G] 640 * 400 * 16 039F 06 - Direct Color
013E: [G] 640 * 400 * 32 039F 06 - Direct Color
0145: [G] 1600 * 1200 * 8 039F 04 - Packed pixel
0146: [G] 1600 * 1200 * 16 039F 06 - Direct Color
[Mode: 100h]
ModeAttributes : 0x039F
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=1 TTY Output functions supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=0 VGA compatible mode: Yes
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=1 Double scan mode is available: Yes
D9=1 Interlaced mode is available: Yes
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C000:6D95
BytesPerScanLine : 640
XResolution : 640
YResolution : 400
XCharSize : 8
YCharSize : 16
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 15
RedMaskSize : 0
RedFieldPosition : 0
GreenMaskSize : 0
GreenFieldPosition : 0
BlueMaskSize : 0
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : E0000000
OffScreenMemOffset : 0
OffScreenMemSize : 0
LinBytesPerScanLine : 640
BnkNumberOfImagePages: 15
LinNumberOfImagePages: 15
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 229500000
机器: 真实机器
显卡: NVIDIA GeForce4 MX/MX 440
[VBE]
VbeSignature : VESA
VbeVersion : 0x0300
OemStringPtr : NVIDIA
Capabilities : 0x00000001
D0=1 DAC width is switchable to 8 bits per primary color
D1=0 Controller is VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : 0FEC:FE12
TotalMemory : 0x0400 (65536KB)
OemSoftwareRev : 0x0000
OemVendorNamePtr : (null)
OemProductNamePtr: (null)
OemProductRevPtr : (null)
[VBE Mode List]
Mode Resolution Attr MemoryModel
0100: [G] 640 * 400 * 8 039F 04 - Packed pixel
0101: [G] 640 * 480 * 8 039F 04 - Packed pixel
0102: [G] 800 * 600 * 4 031F 03 - Planar
0103: [G] 800 * 600 * 8 039F 04 - Packed pixel
0104: [G] 1024 * 768 * 4 031F 03 - Planar
0105: [G] 1024 * 768 * 8 039F 04 - Packed pixel
0106: [G] 1280 * 1024 * 4 031F 03 - Planar
0107: [G] 1280 * 1024 * 8 039F 04 - Packed pixel
0108: [T] 80 * 60 * 4 038F 00 - Text mode
0109: [T] 132 * 25 * 4 038F 00 - Text mode
010A: [T] 132 * 43 * 4 038F 00 - Text mode
010B: [T] 132 * 50 * 4 038F 00 - Text mode
010C: [T] 132 * 60 * 4 038F 00 - Text mode
010E: [G] 320 * 200 * 16 039F 06 - Direct Color
010F: [G] 320 * 200 * 32 039F 06 - Direct Color
0111: [G] 640 * 480 * 16 039F 06 - Direct Color
0112: [G] 640 * 480 * 32 039F 06 - Direct Color
0114: [G] 800 * 600 * 16 039F 06 - Direct Color
0115: [G] 800 * 600 * 32 039F 06 - Direct Color
0117: [G] 1024 * 768 * 16 039F 06 - Direct Color
0118: [G] 1024 * 768 * 32 039F 06 - Direct Color
011A: [G] 1280 * 1024 * 16 039F 06 - Direct Color
011B: [G] 1280 * 1024 * 32 039F 06 - Direct Color
0130: [G] 320 * 200 * 8 039F 04 - Packed pixel
0131: [G] 320 * 400 * 8 039F 04 - Packed pixel
0132: [G] 320 * 400 * 16 039F 06 - Direct Color
0133: [G] 320 * 400 * 32 039F 06 - Direct Color
0134: [G] 320 * 240 * 8 039F 04 - Packed pixel
0135: [G] 320 * 240 * 16 039F 06 - Direct Color
0136: [G] 320 * 240 * 32 039F 06 - Direct Color
013D: [G] 640 * 400 * 16 039F 06 - Direct Color
013E: [G] 640 * 400 * 32 039F 06 - Direct Color
0145: [G] 1600 * 1200 * 8 039F 04 - Packed pixel
0146: [G] 1600 * 1200 * 16 039F 06 - Direct Color
0147: [G] 1400 * 1050 * 8 039F 04 - Packed pixel
0148: [G] 1400 * 1050 * 16 039F 06 - Direct Color
0152: [G] 2048 * 1536 * 32 03DB 06 - Direct Color
[Mode: 100h]
ModeAttributes : 0x039F
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=1 TTY Output functions supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=0 VGA compatible mode: Yes
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=1 Double scan mode is available: Yes
D9=1 Interlaced mode is available: Yes
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C000:9FBD
BytesPerScanLine : 640
XResolution : 640
YResolution : 400
XCharSize : 8
YCharSize : 16
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 14
RedMaskSize : 0
RedFieldPosition : 0
GreenMaskSize : 0
GreenFieldPosition : 0
BlueMaskSize : 0
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : D4000000
OffScreenMemOffset : 0
OffScreenMemSize : 0
LinBytesPerScanLine : 640
BnkNumberOfImagePages: 14
LinNumberOfImagePages: 14
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 229500000
机器: 真实机器
显卡: Hercules 3D Prophet 4500
[VBE]
VbeSignature : VESA
VbeVersion : 0x0300
OemStringPtr : PowerVR KYRO II Bios Rev 01.107
Copyright Imagination Technologies,1998-2001
Hercules 3D Prophet 4500
Capabilities : 0x00000000
D0=0 DAC is fixed width, with 6 bits per primary color
D1=0 Controller is VGA compatible
D2=0 Normal RAMDAC operation
D3=0 No hardware stereoscopic signaling support
D4=0 Stereo signaling supported via external VESA stereo connector
VideoModePtr : C000:78CB
TotalMemory : 0x14B9 (339520KB) ;实际上只有64MB,再加上物理内存256MB
OemSoftwareRev : 0x0000
OemVendorNamePtr : (null)
OemProductNamePtr: (null)
OemProductRevPtr : (null)
[VBE Mode List]
Mode Resolution Attr MemoryModel
0138: [G] 1600 * 1200 * 8 00BB 04 - Packed pixel
0139: [G] 1600 * 1200 * 15 00BB 06 - Direct Color
013A: [G] 1600 * 1200 * 16 00BB 06 - Direct Color
013C: [G] 1600 * 1200 * 32 00FB 06 - Direct Color
0107: [G] 1280 * 1024 * 8 00BB 04 - Packed pixel
0119: [G] 1280 * 1024 * 15 00BB 06 - Direct Color
011A: [G] 1280 * 1024 * 16 00BB 06 - Direct Color
011B: [G] 1280 * 1024 * 32 00FB 06 - Direct Color
0132: [G] 1280 * 960 * 8 00BB 04 - Packed pixel
0133: [G] 1280 * 960 * 15 00BB 06 - Direct Color
0134: [G] 1280 * 960 * 16 00BB 06 - Direct Color
0136: [G] 1280 * 960 * 32 00FB 06 - Direct Color
012D: [G] 1152 * 864 * 8 00BB 04 - Packed pixel
012E: [G] 1152 * 864 * 15 00BB 06 - Direct Color
012F: [G] 1152 * 864 * 16 00BB 06 - Direct Color
0131: [G] 1152 * 864 * 32 00BB 06 - Direct Color
0105: [G] 1024 * 768 * 8 00BB 04 - Packed pixel
0116: [G] 1024 * 768 * 15 00BB 06 - Direct Color
0117: [G] 1024 * 768 * 16 00BB 06 - Direct Color
0118: [G] 1024 * 768 * 32 00BB 06 - Direct Color
0103: [G] 800 * 600 * 8 00BB 04 - Packed pixel
0113: [G] 800 * 600 * 15 00BB 06 - Direct Color
0114: [G] 800 * 600 * 16 00BB 06 - Direct Color
0115: [G] 800 * 600 * 32 00BB 06 - Direct Color
0102: [G] 800 * 600 * 4 003B 03 - Planar
0101: [G] 640 * 480 * 8 00BB 04 - Packed pixel
0110: [G] 640 * 480 * 15 00BB 06 - Direct Color
0111: [G] 640 * 480 * 16 00BB 06 - Direct Color
0112: [G] 640 * 480 * 32 00BB 06 - Direct Color
0100: [G] 640 * 400 * 8 00BB 04 - Packed pixel
0126: [G] 640 * 400 * 15 00BB 06 - Direct Color
0127: [G] 640 * 400 * 16 00BB 06 - Direct Color
0129: [G] 640 * 400 * 32 00BB 06 - Direct Color
0121: [G] 512 * 384 * 8 00BB 04 - Packed pixel
0122: [G] 512 * 384 * 15 00BB 06 - Direct Color
0123: [G] 512 * 384 * 16 00BB 06 - Direct Color
0125: [G] 512 * 384 * 32 00BB 06 - Direct Color
010C: [G] 320 * 200 * 8 00BB 04 - Packed pixel
010D: [G] 320 * 200 * 15 00BB 06 - Direct Color
010E: [G] 320 * 200 * 16 00BB 06 - Direct Color
010F: [G] 320 * 200 * 32 00BB 06 - Direct Color
[Mode: 138h]
ModeAttributes : 0x00BB
D0=1 Mode supported in hardware
D1=1 Reserved(Must 1)
D2=0 TTY Output functions not supported by BIOS
D3=1 Color mode
D4=1 Graphics mode
D5=1 VGA compatible mode: No
D6=0 VGA compatible windowed memory mode is available: Yes
D7=1 Linear frame buffer mode is available: Yes
D8=0 Double scan mode is available: No
D9=0 Interlaced mode is available: No
D10=0 Hardware triple buffering support: No
D11=0 Hardware stereoscopic display support: No
D12=0 Dual display start address support: No
WinAAttributes : 0x07
WinBAttributes : 0x00
WinGranularity : 0x0040 (64KB)
WinSize : 0x0040 (64KB)
WinASegment : 0xA000
WinBSegment : 0x0000
WinFuncPtr : C000:80E8
BytesPerScanLine : 1600
XResolution : 1600
YResolution : 1200
XCharSize : 8
YCharSize : 8
NumberOfPlanes : 1
BitsPerPixel : 8
NumberOfBanks : 1
MemoryModel : 04 - Packed pixel
BankSize : 0x0000 (0KB)
NumberOfImagePages : 175
RedMaskSize : 0
RedFieldPosition : 0
GreenMaskSize : 0
GreenFieldPosition : 0
BlueMaskSize : 0
BlueFieldPosition : 0
RsvdMaskSize : 0
RsvdFieldPosition : 0
DirectColorModeInfo : 00
PhysBasePtr : D0000000
OffScreenMemOffset : 0
OffScreenMemSize : 0
LinBytesPerScanLine : 1600
BnkNumberOfImagePages: 175
LinNumberOfImagePages: 175
LinRedMaskSize : 0
LinRedFieldPosition : 0
LinGreenMaskSize : 0
LinGreenFieldPosition: 0
LinBlueMaskSize : 0
LinBlueFieldPosition: 0
LinRsvdMaskSize : 0
LinRsvdFieldPosition: 0
MaxPixelClock : 220000000
源代码
~~~~~~
/* */
/* VESA 信息块 */
typedef struct tagVBE_MODE_INFO #define VideoBase 0xa000 typedef struct tagDETAIL_INT typedef struct tagDETAIL_BIT
fprintf(pFile, "%s(", (err & 0xff)==0x4F? "supported" : "not supported"); void PrintVBEINFO(FILE* pFile, VBE_INFO* pInfo) fprintf(pFile, "[VBE]/n"); } void PrintVBEMemoryModel(FILE* pFile, BYTE MemoryModel) for(i=0; i<sizeof(detailTable)/sizeof(detailTable[0]); i++) void PrintVBEMODEINFO(FILE* pFile, VBE_MODE_INFO* pInfo, WORD dwMode) fprintf(pFile, "[Mode: %Xh]/n", dwMode); WORD vbegetmodeinfo(WORD dwMode, VBE_MODE_INFO* pInfo) int main(void) printf("VBE Info V1.0/n"); /* VBE Info */ /* VBE Mode List */ /* VBE Mode Info */ /* Other Mode List */ /* Other Mode Info */ return 0; |