Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 10 - video - alternate func select (ati,tatung,taxan) - enhanced features http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10 - VIDEO - ALTERNATE FUNC SELECT (ATI,Tatung,Taxan) - ENHANCED FEATURES
        AH = 12h
        BH = 55h
        BL = subfunction
            00h disabled enhanced features
            01h enable enhanced features
            02h get status
                Return: AL = status flags
                            bit 3: set if enhanced features enabled
                            bits 7-5 monitor type
                                000 PS/2 mono
                                001 PS/2 color
                                010 multi-sync
                                011 Taxan 650 25kHz
                                100 RGB
                                101 mono
                                110 EGA
                                111 Compaq internal
            03h disable register trapping (CGA emulation)
            04h enable register trapping
            05h program mode described by table at ES:BP
            06h get mode table
                AL = video mode
                Return: ES:BP -> table suitable for mode AL (and subfnc BL=05h)
                        BP = FFFFh on error

Format of ATI VGA Wonder video mode table:
Offset  Size    Description
 00h    BYTE    number of columns
 01h    BYTE    maximum row (number of rows - 1)
 02h    BYTE    scan lines per row
 03h    WORD    video buffer size in bytes
 05h  4 BYTEs   values for Sequencer registers 1-4
 09h    BYTE    value for Miscellaneous Output register
 0Ah 25 BYTEs   values for CRTC registers 00h-18h
                00h horizontal total size (chars)
                01h horizontal displayed (chars)
                02h horizontal sync position (chars)
                03h horizontal sync width (chars)
                04h vertical total size (char rows)
                05h vertical total adjust (scan lines)
                06h vertical displayed (char rows)
                07h vertical sync position (char rows)
                08h interlace mode
                09h max scan line in row
                0Ah cursor start scan line
                0Bh cursor end scan line
                0Ch screen memory start (high)
                0Dh screen memory start (low)
                0Eh cursor address (high)
                0Fh cursor address (low)
                10h light pen (high)
                11h light pen (low)
 23h 20 BYTEs   default palette (values for Attribute Controller regs 00h-13h)
 37h  9 BYTEs   values for Graphics Controller registers 00h-08h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson