From: uz Date: Mon, 7 Jan 2013 19:33:23 +0000 (+0000) Subject: Patch by Greg King: Added TGI_COLOR_* definitions to the Atmos C header file. X-Git-Tag: V2.14~117 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a5bf82797d3696a884f25546fcf77fca1325b54;p=cc65 Patch by Greg King: Added TGI_COLOR_* definitions to the Atmos C header file. git-svn-id: svn://svn.cc65.org/cc65/trunk@5957 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/atmos.h b/include/atmos.h index 13427bd88..3ad905860 100644 --- a/include/atmos.h +++ b/include/atmos.h @@ -2,12 +2,12 @@ /* */ /* atmos.h */ /* */ -/* Oric Atmos system specific definitions */ +/* Oric Atmos system-specific definitions */ /* */ /* */ /* */ /* (C) 2002 Debrune Jérome, */ -/* (C) 2003-2004 Ullrich von Bassewitz */ +/* (C) 2003-2013 Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -56,6 +56,19 @@ #define COLOR_CYAN 0x06 #define COLOR_WHITE 0x07 +/* TGI color defines */ +/* White and red are swapped, so that the pallete +** driver is compatible with black-and-white drivers. +*/ +#define TGI_COLOR_BLACK COLOR_BLACK +#define TGI_COLOR_WHITE 1 +#define TGI_COLOR_GREEN COLOR_GREEN +#define TGI_COLOR_YELLOW COLOR_YELLOW +#define TGI_COLOR_BLUE COLOR_BLUE +#define TGI_COLOR_MAGENTA COLOR_MAGENTA +#define TGI_COLOR_CYAN COLOR_CYAN +#define TGI_COLOR_RED 7 + /* Define hardware */