]> git.sur5r.net Git - cc65/commitdiff
Added TGI colors (simply based on the conio colors).
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 20 Apr 2011 12:20:33 +0000 (12:20 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 20 Apr 2011 12:20:33 +0000 (12:20 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4987 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/c128.h
include/c64.h

index 47fbb26b112f8281adbaa1d7c36e8510f32cfb37..973a04ceba517de0c60d7cded635e81555f9d216 100644 (file)
 #define COLOR_LIGHTBLUE        0x0E
 #define COLOR_GRAY3            0x0F
 
+/* TGI color defines */
+#define TGI_COLOR_BLACK        COLOR_BLACK
+#define TGI_COLOR_WHITE        COLOR_WHITE
+#define TGI_COLOR_RED          COLOR_RED
+#define TGI_COLOR_CYAN         COLOR_CYAN
+#define TGI_COLOR_VIOLET       COLOR_VIOLET
+#define TGI_COLOR_GREEN        COLOR_GREEN
+#define TGI_COLOR_BLUE         COLOR_BLUE
+#define TGI_COLOR_YELLOW       COLOR_YELLOW
+#define TGI_COLOR_ORANGE       COLOR_ORANGE
+#define TGI_COLOR_BROWN        COLOR_BROWN
+#define TGI_COLOR_LIGHTRED      COLOR_LIGHTRED
+#define TGI_COLOR_GRAY1        COLOR_GRAY1
+#define TGI_COLOR_GRAY2        COLOR_GRAY2
+#define TGI_COLOR_LIGHTGREEN    COLOR_LIGHTGREEN
+#define TGI_COLOR_LIGHTBLUE     COLOR_LIGHTBLUE
+#define TGI_COLOR_GRAY3        COLOR_GRAY3
+
 /* Video mode defines */
 #define VIDEOMODE_40x25         0x00
 #define VIDEOMODE_80x25         0x80
index ba9aefda95a19b31855cb9f93295eba6e3483e3a..655735618c04bab48cf15e9a06198578f67966d6 100644 (file)
 #define COLOR_LIGHTBLUE        0x0E
 #define COLOR_GRAY3            0x0F
 
+/* TGI color defines */
+#define TGI_COLOR_BLACK        COLOR_BLACK
+#define TGI_COLOR_WHITE        COLOR_WHITE
+#define TGI_COLOR_RED          COLOR_RED
+#define TGI_COLOR_CYAN         COLOR_CYAN
+#define TGI_COLOR_VIOLET       COLOR_VIOLET
+#define TGI_COLOR_PURPLE       COLOR_PURPLE
+#define TGI_COLOR_GREEN        COLOR_GREEN
+#define TGI_COLOR_BLUE         COLOR_BLUE
+#define TGI_COLOR_YELLOW       COLOR_YELLOW
+#define TGI_COLOR_ORANGE       COLOR_ORANGE
+#define TGI_COLOR_BROWN        COLOR_BROWN
+#define TGI_COLOR_LIGHTRED     COLOR_LIGHTRED
+#define TGI_COLOR_GRAY1        COLOR_GRAY1
+#define TGI_COLOR_GRAY2        COLOR_GRAY2
+#define TGI_COLOR_LIGHTGREEN   COLOR_LIGHTGREEN
+#define TGI_COLOR_LIGHTBLUE    COLOR_LIGHTBLUE
+#define TGI_COLOR_GRAY3        COLOR_GRAY3
+
 /* Define hardware */
 #include <_vic2.h>
 #define VIC            (*(struct __vic2*)0xD000)