From 86fb74bd49916ccccf1d1b8f5e7d401187052558 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 29 Feb 2024 18:13:58 +0100 Subject: [PATCH] adjust color offsets --- colors.S | 8 ++++---- colors.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/colors.S b/colors.S index 4f4ada6..0b77aee 100644 --- a/colors.S +++ b/colors.S @@ -17,8 +17,8 @@ screendataend_tmpl: colors: .global colors ;; red, green, blue, padding -red: - .byte 0xff, 0x00, 0x00, 0 +off: + .byte 0x00, 0x00, 0x00, 0 blue: .byte 0x00, 0x00, 0xff, 0 green: @@ -43,6 +43,6 @@ yellow: .byte 0xff, 0xff, 0x00, 0 white: .byte 0xff, 0xff, 0xff, 0 -off: - .byte 0x00, 0x00, 0x00, 0 +red: + .byte 0xff, 0x00, 0x00, 0 diff --git a/colors.h b/colors.h index 60b57aa..c2bc46a 100644 --- a/colors.h +++ b/colors.h @@ -2,7 +2,7 @@ #define _COLORS_H_ -#define _red 0x00 +#define _off 0x00 #define _blue 0x01 #define _green 0x02 #define _orange 0x03 @@ -15,7 +15,7 @@ #define _chartreuse 0x0a #define _yellow 0x0b #define _white 0x0c -#define _off 0x0d +#define _red 0x0d