Int 62 Fn 008C u - Fgdriver V4.02 - "fg_pcxpal" - Get Palette Stored In [V]
AX = 008Ch
ES:BX -> variable pointer record (see #3165)
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 #3145 at AX=0000h)
See Also: AX=008Dh
Format of FGDRIVER PCXPAL variable pointer record:
Offset Size Description (Table 3165)
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: #3166