1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Added more purple (rain)

This commit is contained in:
polluks 2022-01-31 02:18:01 +01:00
parent b00cb182d9
commit a29a1b0a59
6 changed files with 29 additions and 0 deletions

View File

@ -59,6 +59,7 @@
#define TGI_COLOR_BLACK 0x00 #define TGI_COLOR_BLACK 0x00
#define TGI_COLOR_GREEN 0x01 #define TGI_COLOR_GREEN 0x01
#define TGI_COLOR_VIOLET 0x02 #define TGI_COLOR_VIOLET 0x02
#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET
#define TGI_COLOR_WHITE 0x03 #define TGI_COLOR_WHITE 0x03
#define TGI_COLOR_BLACK2 0x04 #define TGI_COLOR_BLACK2 0x04
#define TGI_COLOR_ORANGE 0x05 #define TGI_COLOR_ORANGE 0x05

View File

@ -393,6 +393,7 @@ extern void atrx15p2_tgi[];
#define COLOR_RED GTIA_COLOR_RED #define COLOR_RED GTIA_COLOR_RED
#define COLOR_CYAN GTIA_COLOR_CYAN #define COLOR_CYAN GTIA_COLOR_CYAN
#define COLOR_VIOLET GTIA_COLOR_VIOLET #define COLOR_VIOLET GTIA_COLOR_VIOLET
#define COLOR_PURPLE COLOR_VIOLET
#define COLOR_GREEN GTIA_COLOR_GREEN #define COLOR_GREEN GTIA_COLOR_GREEN
#define COLOR_BLUE GTIA_COLOR_BLUE #define COLOR_BLUE GTIA_COLOR_BLUE
#define COLOR_YELLOW GTIA_COLOR_YELLOW #define COLOR_YELLOW GTIA_COLOR_YELLOW
@ -411,6 +412,7 @@ extern void atrx15p2_tgi[];
#define TGI_COLOR_RED COLOR_RED #define TGI_COLOR_RED COLOR_RED
#define TGI_COLOR_CYAN COLOR_CYAN #define TGI_COLOR_CYAN COLOR_CYAN
#define TGI_COLOR_VIOLET COLOR_VIOLET #define TGI_COLOR_VIOLET COLOR_VIOLET
#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET
#define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_GREEN COLOR_GREEN
#define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_BLUE COLOR_BLUE
#define TGI_COLOR_YELLOW COLOR_YELLOW #define TGI_COLOR_YELLOW COLOR_YELLOW

View File

@ -61,6 +61,7 @@
#define COLOR_RED 0x02 #define COLOR_RED 0x02
#define COLOR_CYAN 0x03 #define COLOR_CYAN 0x03
#define COLOR_VIOLET 0x04 #define COLOR_VIOLET 0x04
#define COLOR_PURPLE COLOR_VIOLET
#define COLOR_GREEN 0x05 #define COLOR_GREEN 0x05
#define COLOR_BLUE 0x06 #define COLOR_BLUE 0x06
#define COLOR_YELLOW 0x07 #define COLOR_YELLOW 0x07
@ -79,6 +80,7 @@
#define TGI_COLOR_RED COLOR_RED #define TGI_COLOR_RED COLOR_RED
#define TGI_COLOR_CYAN COLOR_CYAN #define TGI_COLOR_CYAN COLOR_CYAN
#define TGI_COLOR_VIOLET COLOR_VIOLET #define TGI_COLOR_VIOLET COLOR_VIOLET
#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET
#define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_GREEN COLOR_GREEN
#define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_BLUE COLOR_BLUE
#define TGI_COLOR_YELLOW COLOR_YELLOW #define TGI_COLOR_YELLOW COLOR_YELLOW

View File

@ -65,6 +65,7 @@
#define COLOR_GREEN 0x0A #define COLOR_GREEN 0x0A
#define COLOR_DARKBROWN 0x0B #define COLOR_DARKBROWN 0x0B
#define COLOR_VIOLET 0x0C #define COLOR_VIOLET 0x0C
#define COLOR_PURPLE COLOR_VIOLET
#define COLOR_BLUE 0x0D #define COLOR_BLUE 0x0D
#define COLOR_LIGHTBLUE 0x0E #define COLOR_LIGHTBLUE 0x0E
#define COLOR_WHITE 0x0F #define COLOR_WHITE 0x0F
@ -77,12 +78,14 @@
#define TGI_COLOR_GREY COLOR_GREY #define TGI_COLOR_GREY COLOR_GREY
#define TGI_COLOR_DARKGREY COLOR_DARKGREY #define TGI_COLOR_DARKGREY COLOR_DARKGREY
#define TGI_COLOR_BROWN COLOR_BROWN #define TGI_COLOR_BROWN COLOR_BROWN
#define TGI_COLOR_ORANGE COLOR_BROWN
#define TGI_COLOR_PEACH COLOR_PEACH #define TGI_COLOR_PEACH COLOR_PEACH
#define TGI_COLOR_YELLOW COLOR_YELLOW #define TGI_COLOR_YELLOW COLOR_YELLOW
#define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN #define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN
#define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_GREEN COLOR_GREEN
#define TGI_COLOR_DARKBROWN COLOR_DARKBROWN #define TGI_COLOR_DARKBROWN COLOR_DARKBROWN
#define TGI_COLOR_VIOLET COLOR_VIOLET #define TGI_COLOR_VIOLET COLOR_VIOLET
#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET
#define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_BLUE COLOR_BLUE
#define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE #define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE
#define TGI_COLOR_WHITE COLOR_WHITE #define TGI_COLOR_WHITE COLOR_WHITE

View File

@ -70,6 +70,7 @@
#define COLOR_RED 0x02 #define COLOR_RED 0x02
#define COLOR_CYAN 0x03 #define COLOR_CYAN 0x03
#define COLOR_VIOLET 0x04 #define COLOR_VIOLET 0x04
#define COLOR_PURPLE COLOR_VIOLET
#define COLOR_GREEN 0x05 #define COLOR_GREEN 0x05
#define COLOR_BLUE 0x06 #define COLOR_BLUE 0x06
#define COLOR_YELLOW 0x07 #define COLOR_YELLOW 0x07
@ -82,6 +83,25 @@
#define COLOR_LIGHTBLUE 0x0E #define COLOR_LIGHTBLUE 0x0E
#define COLOR_GRAY3 0x0F #define COLOR_GRAY3 0x0F
/* TGI color defines (default palette) */
#define TGI_COLOR_BLACK COLOR_BLACK
#define TGI_COLOR_RED COLOR_RED
#define TGI_COLOR_PINK COLOR_LIGHTRED
#define TGI_COLOR_LIGHTGREY COLOR_GRAY1
#define TGI_COLOR_GREY COLOR_GRAY2
#define TGI_COLOR_DARKGREY COLOR_GRAY3
#define TGI_COLOR_BROWN COLOR_BROWN
#define TGI_COLOR_PEACH COLOR_CYAN
#define TGI_COLOR_YELLOW COLOR_YELLOW
#define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN
#define TGI_COLOR_GREEN COLOR_GREEN
#define TGI_COLOR_DARKBROWN COLOR_ORANGE
#define TGI_COLOR_VIOLET COLOR_VIOLET
#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET
#define TGI_COLOR_BLUE COLOR_BLUE
#define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE
#define TGI_COLOR_WHITE COLOR_WHITE
/* Masks for joy_read */ /* Masks for joy_read */
#define JOY_UP_MASK 0x10 #define JOY_UP_MASK 0x10
#define JOY_DOWN_MASK 0x20 #define JOY_DOWN_MASK 0x20

View File

@ -57,6 +57,7 @@
#define COLOR_RED 0x02 #define COLOR_RED 0x02
#define COLOR_CYAN 0x03 #define COLOR_CYAN 0x03
#define COLOR_VIOLET 0x04 #define COLOR_VIOLET 0x04
#define COLOR_PURPLE COLOR_VIOLET
#define COLOR_GREEN 0x05 #define COLOR_GREEN 0x05
#define COLOR_BLUE 0x06 #define COLOR_BLUE 0x06
#define COLOR_YELLOW 0x07 #define COLOR_YELLOW 0x07