Re: [cc65] SimpleMenu 1.0

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-12-04 23:46:56


>
>Hi!
>>> Ullrich von Bassewitz <uz_at_musoftware.de> 12/04/02 12:44PM >>>

>On Wed, Dec 04, 2002 at 08:23:35AM -0800, Shawn Jefferson wrote:
>> The program compiled as is (with the modification of replacing cbm.h with
>> atari.h), but since the Atari default text mode only supports 1 color, you
>> only get one color.  It's a hardware difference.  There were several tricks
>> that people did to get a 40x24 color text mode though.
>
>OOPS, I didn't know that, sorry. So what does then textcolor() function do?
>Will it set all existing text to the passed color?

It's even worse than that, since in Graphics mode zero, the background and text are both controlled by the same color register.  Another register controls the luminance value, IIRC.  So textcolor sets the color of the text AND the background!  

Doing a textcolor(COLOR_RED) on the atari doesn't give you red text, at least it didn't for me.

¯
Shawn Jefferson


----------------------------------------------------------------------
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 : 2002-12-04 23:47:41 CET