[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 10 Fn 1B  - Video - Functionality/state Information (ps,vga/mcga)      [V]

   AH = 1Bh
   BX = implementation type
       0000h return funtionality/state information
   ES:DI -> 64-byte buffer for state information (see below)

Return: AL = 1Bh if function supported
       ES:DI buffer filled with state information
BUG:   Trident 8900 (BIOS D3.0 11/12/91) and Trident 9000 (C3.0 10/25/91)
     do not correctly set the fields at offsets 27h and 29h of the
     state information

See Also: AH=15h,AX=1A00h,AX=1F01h

Format of state information:
Offset Size    Description
 00h   DWORD   address of static funtionality table (see below)
 04h   BYTE    video mode in effect
 05h   WORD    number of columns
 07h   WORD    length of regen buffer in bytes
 09h   WORD    starting address of regen buffer
 0Bh   WORD    cursor position for page 0
 0Dh   WORD    cursor position for page 1
 0Fh   WORD    cursor position for page 2
 11h   WORD    cursor position for page 3
 13h   WORD    cursor position for page 4
 15h   WORD    cursor position for page 5
 17h   WORD    cursor position for page 6
 19h   WORD    cursor position for page 7
 1Bh   WORD    cursor type
 1Dh   BYTE    active display page
 1Eh   WORD    CRTC port address
 20h   BYTE    current setting of register (3?8)
 21h   BYTE    current setting of register (3?9)
 22h   BYTE    number of rows
 23h   WORD    bytes/character
 25h   BYTE    display combination code of active display
 26h   BYTE    DCC of alternate display
 27h   WORD    number of colors supported in current mode
 29h   BYTE    number of pages supported in current mode
 2Ah   BYTE    number of scan lines active
       (0,1,2,3) = (200,350,400,480)
       Tseng ET3000: (4,5,6 = 512,600,768)
 2Bh   BYTE    primary character block
 2Ch   BYTE    secondary character block
 2Dh   BYTE    miscellaneous flags (see below)
 2Eh  3 BYTEs  reserved (00h)
 31h   BYTE    video memory available
       00h = 64K, 01h = 128K, 02h = 192K, 03h = 256K
 32h   BYTE    save pointer state flags (see below)
 33h 13 BYTEs  reserved (00h)

Bitfields for miscellaneous flags:
 bit 0 all modes on all displays on
 bit 1 gray summing on
 bit 2 monochrome display attached
 bit 3 default palette loading disabled
 bit 4 cursor emulation enabled
 bit 5 0 = intensity; 1 = blinking
 bit 6 PS/2 P70 plasma display (without 9-dot wide font) active
 bit 7 reserved

Bitfields for save pointer state flags:
 bit 0 512 character set active
 bit 1 dynamic save area present
 bit 2 alpha font override active
 bit 3 graphics font override active
 bit 4 palette override active
 bit 5 DCC override active
 bits 6-7 reserved

Format of Static Functionality Table:
Offset Size    Description
 00h   BYTE    modes supported #1
       bit 0 to bit 7 = 1 modes 0,1,2,3,4,5,6 supported
 01h   BYTE    modes supported #2
       bit 0 to bit 7 = 1 modes 8,9,0Ah,0Bh,0Ch,0Dh,0Eh,0Fh supported
 02h   BYTE    modes supported #3
       bit 0 to bit 3 = 1 modes 10h,11h,12h,13h supported
       bit 4 to bit 7 reserved
 03h   BYTE    (IBM) reserved
       (Tseng ET3000/4000) modes supported #4
               bit 0 to bit 7 = modes 18h-1Fh supported
 04h   BYTE    (IBM) reserved
       (Tseng ET3000/4000) modes supported #5
               bit 0 to bit 7 = modes 20h-27h supported
 05h   BYTE    (IBM) reserved
       (Tseng ET3000/4000) modes supported #6
               bit 0 to bit 7 = modes 28h-2Fh supported
 06h   BYTE    (IBM) reserved
       (Tseng ET3000/4000) modes supported #7
               bit 0 to bit 7 = modes 30h-37h supported
 07h   BYTE    scan lines supported
       bit 0 to bit 2 = 1 if scan lines 200,350,400 supported
 08h   BYTE    total number of character blocks available in text modes
 09h   BYTE    maximum number of active character blocks in text modes
 0Ah   WORD    miscellaneous function support flags (see below)
 0Ch   WORD    reserved
 0Eh   BYTE    save pointer function flags (see below)
 0Fh   BYTE    reserved

Bitfields for miscellaneous function support flags:
 bit 0 all modes on all displays function supported
 bit 1 gray summing function supported
 bit 2 character font loading function supported
 bit 3 default palette loading enable/disable supported
 bit 4 cursor emulation function supported
 bit 5 EGA palette present
 bit 6 color palette present
 bit 7 color paging function supported
 bit 8 light pen supported
 bit 9 save/restore state function 1Ch supported
 bit 10 intensity blinking function supported
 bit 11 Display Combination Code supported
 bits 12-15 reserved

Bitfields for save pointer function flags:
 bit 0 512 character set supported
 bit 1 dynamic save area supported
 bit 2 alpha font override supported
 bit 3 graphics font override supported
 bit 4 palette override supported
 bit 5 DCC extension supported
 bits 6-7 reserved

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson