Re: [cc65] Graphics library

Date view Thread view Subject view

From: Maciej Witkowiak (ytm_at_elysium.pl)
Date: 2001-08-18 18:28:04


On Sat, Aug 18, 2001 at 04:19:13PM +0200, groepaz wrote:
> MW> There is setcolor for foreground, but how can background color be set? For C=
> MW> it would be higher 4 bits, but other architectures might have common
> MW> background color for whole image.
> err? higher 4 bits of WHAT are background color in WHICH mode ? (you
> must be meaning something differently or you dont know what the f***
> you are talking about :o))

I meant C64 Hires, but I was obviously wrong.

> MW> And what should getmaxcolor return for 160x200x4 on C64: 4 or 16?
> 
> you say it yourself... if you call the mode 160x200x4, the maximum of
> colors _IS_ 4, so the function should return 4 ;=) the function that
> sets the color-palette should give you "4 out of 16 possible colors"
> so you can set those accordingly.

How can I know that there are 16 colors to choose from? Atari can have 256 of
them. What does getmaxcolor mean in this context?

ytm

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de 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