INT 10 - VIDEO - FUNCTIONALITY/STATE INFORMATION (PS,VGA/MCGA)        

Input

Output

AX

1Bh     1Bh if Success AX

BX

 Implementation Type (0=Return)     BX

CX

        CX

DX

        DX
ES:DI  Pointer to 64 byte Buffer   ES:DI
Table Returned:

        00h address of static funtionality table
        04h video mode in effect
        05h number of columns
        07h length of regen buffer in bytes
        09h starting address of regen buffer
        0Bh cursor position for page 0
        0Dh cursor position for page 1
        0Fh cursor position for page 2
        11h cursor position for page 3
        13h cursor position for page 4
        15h cursor position for page 5
        17h cursor position for page 6
        19h cursor position for page 7
        1Bh cursor type
        1Dh active display page
        1Eh CRTC port address
        20h current setting of register (3?8)
        21h current setting of register (3?9)
        22h number of rows
        23h bytes/character
        25h DCC of active display
        26h DCC of alternate display
        27h number of colors supported in current mode
        29h number of pages supported in current mode
        2Ah number   of  scan   line   active   (0,1,2,3)   =
            (200,350,400,480)
        2Bh primary character block
        2Ch secondary character block
        2Dh Miscellaneous flags
Miscellaneous Flags
Bit Dec Hex  Description
0 1 01h  All modes on all displays on
1 2 02h  Gray summing on
2 4 04h  Monochrome display attached
3 8 08h  Default palette loading disabled
4 16 10h  Cursor emulation enabled
5 32 20h  0=Intensity, 1=Blinking
6 64 40h  Reserved
7 128 80h  Reserved
        2Eh to 30h reserved
        31h video memory available
            00h = 64K, 01h = 128K, 02h = 192K, 03h = 256K
        32h save pointer state flags
Save Pointer State Flags
Bit Dec Hex  Description
0 1 01h  512 character set active
1 2 02h  Dynamic save area present
2 4 04h  Alpha font override active
3 8 08h  Graphics font override active
4 16 10h  Palette override active
5 32 20h  DCC override active
6 64 40h  Reserved
7 128 80h  Reserved
        33h to 3Fh reserved

State Functionality Table format (16 bytes)

        00h modes supported #1
Modes Supported #1
Bit Dec Hex  Description
0 1 01h  Mode 0 supported
1 2 02h  Mode 1 supported
2 4 04h  Mode 2 supported
3 8 08h  Mode 3 supported
4 16 10h  Mode 4 supported
5 32 20h  Mode 5 supported
6 64 40h  Mode 6 supported
7 128 80h  Mode 7 supported
        01h modes supported #2
Modes Supported #2
Bit Dec Hex  Description
0 1 01h  Mode 8 supported
1 2 02h  Mode 9 supported
2 4 04h  Mode A supported
3 8 08h  Mode B supported
4 16 10h  Mode C supported
5 32 20h  Mode D supported
6 64 40h  Mode E supported
7 128 80h  Mode F supported
        02h modes supported #3
Modes Supported #3
Bit Dec Hex  Description
0 1 01h  Mode 10 supported
1 2 02h  Mode 11 supported
2 4 04h  Mode 12 supported
3 8 08h  Mode 13 supported
4 16 10h  Reserved
5 32 20h  Reserved
6 64 40h  Reserved
7 128 80h  Reserved
        03h to 06h reserved

        07h scan lines supported
Scan Lines Supported
Bit Dec Hex  Description
0 1 01h  200 scan lines supported
1 2 02h  350 scan lines supported
2 4 04h  400 scan lines supported
3 8 08h  Reserved
4 16 10h  Reserved
5 32 20h  Reserved
6 64 40h  Reserved
7 128 80h  Reserved
        08h Total number of character blocks available in text modes
        09h Maximum number of active character blocks in text modes

        0Ah Miscellaneous function flags #1
Miscellaneous Function Flags #1
Bit Dec Hex  Description
0 1 01h  All modes on all display functions supported
1 2 02h  Gray summing function supported
2 4 04h  Character font loading function supported
3 8 08h  Default palette loading enable/disable supp
4 16 10h  Cursor emulation function supported
5 32 20h  EGA palette present
6 64 40h  Color palette present
7 128 80h  Color paging function supported
        0Bh Miscellaneous function flags #2
Miscellaneous Function Flags #2
Bit Dec Hex  Description
0 1 01h  Light pen supported
1 2 02h  Save/Restore state function 1Ch supported
2 4 04h  Display combination code supported
3 8 08h  Reserved
4 16 10h  Reserved
5 32 20h  Reserved
6 64 40h  Reserved
7 128 80h  Reserved
        0Ch to 0Dh reserved

        0Eh Save pointer function flags
Save Pointer Function Flags
Bit Dec Hex  Descriptio