Interrups | Categories | Contents |
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)
See Also: AX=008Dh
Format of FGDRIVER PCXPAL variable pointer record: Offset Size Description (Table 03494) 00h WORD segment of ASCIZ .PCX filename 02h WORD offset of ASCIZ .PCX filename 04h WORD segment of buffer for .PCX palette RGB triples 06h WORD offset of buffer for .PCX palette RGB triples
Note: The buffer for the palette must hold at least three times as many bytes as there are colors in the palette
See Also: #03495
Interrups | Categories | Contents |