Int 10 Fn 4F00 - Vesa Supervga Bios (vbe) - Get Supervga Information [V]

AX = 4F00h
ES:DI -> buffer for SuperVGA information (see #0075)

Return: AL = 4Fh if function supported
AH = status
00h successful
ES:DI buffer filled
01h failed
---VBE v2.0---
02h function not supported by current hardware configuration
03h function invalid in current video mode
Desc: determine whether VESA BIOS extensions are present and the capabilities
supported by the display adapter

See Also: AX=4E00h,AX=4F01h,AX=7F00h"SOLLEX",AX=A00Ch
Index: installation check;VESA SuperVGA

Format of SuperVGA information:
Offset Size Description (Table 0075)
00h 4 BYTEs (ret) signature ("VESA")
(call) VESA 2.0 request signature ("VBE2"), required to receive
version 2.0 info
04h WORD VESA version number (one-digit minor version)
06h DWORD pointer to OEM name
"761295520" for ATI
0Ah DWORD capabilities flags (see #0076)
0Eh DWORD pointer to list of supported VESA and OEM video modes
(list of words terminated with FFFFh)
12h WORD total amount of video memory in 64K blocks
---VBE v1.x ---
14h 236 BYTEs reserved
---VBE v2.0 ---
14h WORD OEM software version
16h DWORD pointer to vendor name
1Ah DWORD pointer to product name
1Eh DWORD pointer to product revision string
22h 222 BYTEs reserved
100h 256 BYTEs OEM scratchpad

Notes: the list of supported video modes is stored in the reserved portion of
the SuperVGA information record by some implementations, and it may
thus be necessary to either copy the mode list or use a different
buffer for all subsequent VESA calls
the 1.1 VESA document specifies 242 reserved bytes at the end, so the
buffer should be 262 bytes to ensure that it is not overrun; for
v2.0, the buffer should be 512 bytes
the S3 specific video modes will most likely follow the FFFFh
terminator at the end of the standard modes. A search must then
be made to find them, FFFFh will also terminate this second list

Bitfields for VESA capabilities:
Bit(s) Description (Table 0076)
0 DAC can be switched into 8-bit mode
1 non-VGA controller
2 programmed DAC with blank bit
3-31 reserved

See Also: #0075