Re[2]: [cc65] Graphics library

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2001-08-18 18:57:47


Hello Maciej,

MW> I meant C64 Hires, but I was obviously wrong.

;=) yeah well ;D hires would be 2 colors each 8x8 cell only (but these
are defined in low/high 4 bits of videoram so you werent that way off
anyway ;=))

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

getmaxcolor should return "maximum possible colors that can be used at
once" (with no limitations over the whole screen) ... in good old
dos-mode13 (vga 320x200x256colors) this would return 256 for eg,
although this modes uses a 15bit palette (that would be 32768 possible
colors - but you can only display 256 of them at once, see the
difference?) .... thats why i said there should be another function
(or some more) that can be used to figure out if we are in a mode with
a fixed palette (like on c64) or a configureable palette (like vga256
colors) and how many colors are there to choose from. (getmaxcolor
will still be useable to figure out how many colors we can USE at once
ofcoz)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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