Re: [cc65] Graphics library

Date view Thread view Subject view

From: Maciej Witkowiak (
Date: 2001-08-17 17:38:39

On Fri, Aug 17, 2001 at 04:43:55PM +0200, Ullrich von Bassewitz wrote:
> > Color stuff is somewhat confusing - there should be some interface to set
> > color pallete for given mode.
> Are there really systems that have a programmable color palette? At least the
> CBM machines have fixed colors.

There is setcolor for foreground, but how can background color be set? For C=
it would be higher 4 bits, but other architectures might have common
background color for whole image.

I think about something like in C128 Basic, where drawing functions take color
number not color value. E.g. for 160x200x4 there is palette of 4 colors from
16 available.

And what should getmaxcolor return for 160x200x4 on C64: 4 or 16?


To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:41 CET