INT 62 u - FGDRIVER v4.02 - "FG_PCXPAL" - GET PALETTE STORED IN PCX FILE AX = 008Ch ES:BX -> variable pointer record (see #03494) Return: AX = number of colors in palette (16 or 256) or FFFEh not a valid PCX file FFFFh file not found Note: the FGDRIVER functions are rearranged with each major release, but their parameters do not change (see #03474 at AX=0000h) SeeAlso: AX=008Dh Format of FGDRIVER PCXPAL variable pointer record: Offset Size Description (Table 03494) 00h WORD segment of ASCIZA NUL-terminated ASCII string. The ASCIZ string "ABC" consists of the four bytes 41h, 42h, 43h, and 00h. Unless otherwise specified, maximum lengths given in the interrupt list do not include the terminating NUL. .PCX filename 02h WORD offset of ASCIZA NUL-terminated ASCII string. The ASCIZ string "ABC" consists of the four bytes 41h, 42h, 43h, and 00h. Unless otherwise specified, maximum lengths given in the interrupt list do not include the terminating NUL. .PCX filename 04h WORD segment of buffer for .PCX palette RGB(Red-Green-Blue) The color specification mechanism normally used in computer displays, where colors are separated into their primary-color components. See also YUV. triples 06h WORD offset of buffer for .PCX palette RGB(Red-Green-Blue) The color specification mechanism normally used in computer displays, where colors are separated into their primary-color components. See also YUV. triples Note: the buffer for the palette must hold at least three times as many bytes as there are colors in the palette SeeAlso: #03495