[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10 - VESA SuperVGA BIOS - GET SuperVGA MODE INFORMATION
        AX = 4F01h
        CX = SuperVGA video mode
        ES:DI -> 256-byte buffer mode information (see below)
Return: AL = 4Fh function supported
        AH = status
            00h successful
            01h failed
SeeAlso: AX=4F02h

Format of mode information:
Offset  Size    Description
 00h    WORD    mode attributes
                bit 0: mode supported
                bit 1: optional information available
                bit 2: BIOS output supported
                bit 3: set if color, clear if monochrome
                bit 4: set if graphics mode, clear if text mode
 02h    BYTE    window A attributes
                bit 0: exists
                bit 1: readable
                bit 2: writable
                bits 3-7 reserved
 03h    BYTE    window B attributes (as for window A)
 04h    WORD    window granularity in K
 06h    WORD    window size in K
 08h    WORD    start segment of window A
 0Ah    WORD    start segment of window B
 0Ch    DWORD   -> FAR window positioning function (equivalent to AX=4F05h)
 10h    WORD    bytes per scan line
---remainder is optional for VESA modes in v1.0/1.1, needed for OEM modes---
 12h    WORD    width in pixels
 14h    WORD    height in pixels
 16h    BYTE    width of character cell in pixels
 17h    BYTE    height of character cell in pixels
 18h    BYTE    number of memory planes
 19h    BYTE    number of bits per pixel
 1Ah    BYTE    number of banks
 1Bh    BYTE    memory model type
                00h text
                01h CGA graphics
                02h HGC graphics
                03h 16-color (EGA) graphics
                04h packed pixel graphics
                05h "sequ 256" (non-chain 4) graphics
                06h direct color (HiColor, 24-bit color)
                07h YUV
                08h-0Fh reserved for VESA
                10h-FFh OEM memory models
 1Ch    BYTE    size of bank in K
 1Dh    BYTE    number of image pages
 1Eh    BYTE    reserved (0)
---VBE v1.2+---
 1Fh    BYTE    red mask size
 20h    BYTE    red field position
 21h    BYTE    green mask size
 22h    BYTE    green field size
 23h    BYTE    blue mask size
 24h    BYTE    blue field size
 25h    BYTE    reserved mask size
 26h    BYTE    reserved mask position
 27h    BYTE    direct color mode info
 28h    BYTE    reserved (0)

See Also: 104F00
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson