Int 62/AX=008Ch

Prev Next Ralf Interrups Categories Contents

------

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)

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

Category: Video - Int 62h - F

------

Prev Next Ralf Interrups Categories Contents

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home

Search the web with Google
Google
Google
Google

------