[fpc-devel] proposal for palette-related graph unit interface changes

Florian Klaempfl florian at freepascal.org
Fri Sep 17 15:32:44 CEST 2010


Am 15.09.2010 17:05, schrieb Nikolay Nikolov:
>  On 09/15/2010 05:48 PM, Florian Klaempfl wrote:
>> Am 15.09.2010 16:39, schrieb Nikolay Nikolov:
>>> and then introduce TP7-compatible MaxColors, PaletteType and
>>> procedures/functions. They'll be made optionally hookable (so the go32v2
>>> implementation will be able to implement them with the real EGA palette
>>> registers for maximum compatibility), with a default implementation that
>>> works on top of SetRGBPalette (similar to the way SetPalette is
>>> implemented now)
>>>
>>> What do you think?
>> But this will break existing FPC code, right? I'am also not sure if the
>> palettes as they are done were invented for other OSes e.g. Amiga or
>> Atari
> Yes, it'll break existing FPC code (but will also improve TP7
> compatibility), 

I guess most people depend now on FPC compatibility so I'd prefer to
leave it as it is.



More information about the fpc-devel mailing list