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 2f - multiplex - intel image processing interface - screen image http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 2F - Multiplex - Intel Image Processing Interface - SCREEN IMAGE
        AX = CD08h
        CX:BX -> structure (see below)
Return: AL = 00h successful
           = 80h unsuccessful
           = 81h scan line out of range
           = 82h unsupported scan line density
           = 83h out of memory
           = 84h unrecognized source
           = 85h initialization error

Format of structure:
Offset  Size    Description
 00h    WORD    image source (0 = conventional memory, 1 = expanded memory)
 02h    DWORD   pointer to image data
 06h    WORD    horizontal position on paper of left edge (in 1200 dpi units)
 08h    WORD    vertical position on paper of top edge (in 1200 dpi units)
 0Ah    WORD    left cropping (currently must be zero)
 0Ch    WORD    top cropping (currently must be zero)
 0Eh    WORD    width (currently must be 8000h)
 10h    WORD    height (currently must be 8000h)
 12h    WORD    horizontal size of image in 1200 dpi units
 14h    WORD    vertical size of image in 1200 dpi units
 16h    WORD    aspect ratio (currently reserved)
 18h    WORD    initialization flag (if 01h, initialization is performed)
 1Ah    WORD    pixels per line of source data
 1Ch    WORD    number of scan lines in source data
 1Eh    WORD    number of scan lines in packet
 20h    WORD    bits per pixel (1,2,4,6, or 8)
 22h    WORD    pixels per byte (1,2,4, or 8)
 24h    WORD    compression type (currently only 00h [uncompressed] supported)
 26h    WORD    source page number (if in expanded memory)
 28h    WORD    source handle (if in expanded memory)
 2Ah    WORD    source offset (if in expanded memory)

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