INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (PS, EGA, VGA, MCGA)        

Input

Output

AX

12h       AX

BX

  10h Colour Mode Memory Installed BX

CX

    Feature Switch Settings CX

DX

        DX
ES:DI     ES:DI
Return EGA information

        Color Mode:     0 = Color Mode (3Dx)
                        1 = Mono Mode  (3Bx)

        Memory:         0 = 64K memory
                        1 = 128K memory
                        2 = 192K memory
                        3 = 256K memory

Input

Output

AX

12h       AX

BX

  20h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Select alternate print screen routine

Input

Output

AX

12h Scan Lines   12h if Success AX

BX

  30h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Select vertical resolution  for alphanumeric modes (VGA only)

Scan Lines:     00h = 200 scan lines
                01h = 350 scan lines
                02h = 400 scan lines

Input

Output

AX

12h Flag   12h if Success AX

BX

  31h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Enable/Disable default palette loading (VGA/MCGA)

Flag:   00h = enable default palette loading
        01h = disable default palette loading

Input

Output

AX

12h Flag   12h if Success AX

BX

  32h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Enable/Disable Video Addressing (VGA/MCGA)

Flag:   00h = enable video
        01h = disable video

Input

Output

AX

12h Flag   12h if Success AX

BX

  33h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Enable/Disable default gray-scale summing (VGA/MCGA)

Flag:   00h = enable gray scale summing
        01h = disable gray scale summing

Input

Output

AX

12h Flag   12h if Success AX

BX

  34h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Enable/Disable alphanumeric cursor emulation (VGA only)

Flag:   00h = enable cursor emulation
        01h = disable cursor emulation

Input

Output

AX

12h Flag   12h if Success AX

BX

  35h     BX

CX

        CX

 

        DX
ES:DX Ptr to 128 byte Buffer (AL=0,2,3)   ES:DI
PS/2 Display-switch interface

Flag:   00h initial adapter video off
        01h initial planar video on
        02h switch active video off
        03h switch inactive video on
        80h *UNDOCUMENTED* set system board video active flag

Input

Output

AX

12h Flag   12h if Success AX

BX

  36h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Video refresh control (VGA/PS)

Flag:   00h = enable refresh
        01h = disable refresh

Input

Output

AX

12h       AX

BX

 55h 00h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
??? (used by ATI and TAXAN)

Input

Output

AX

12h       AX

BX

 55h 02h     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
??? (used by ATI and TAXAN)


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .