-#define COLOR_GREEN (BCOLOR_GREEN | CATTR_LUMA7)
-#define COLOR_BLUE (BCOLOR_BLUE | CATTR_LUMA7)
-#define COLOR_YELLOW (BCOLOR_YELLOW | CATTR_LUMA7)
-#define COLOR_ORANGE (BCOLOR_ORANGE | CATTR_LUMA7)
-#define COLOR_BROWN (BCOLOR_BROWN | CATTR_LUMA7)
-#define COLOR_LIGHTRED (BCOLOR_RED | CATTR_LUMA7)
-#define COLOR_GRAY1 (BCOLOR_WHITE | CATTR_LUMA1)
-#define COLOR_GRAY2 (BCOLOR_WHITE | CATTR_LUMA3)
-#define COLOR_LIGHTGREEN (BCOLOR_LIGHTGREEN | CATTR_LUMA7)
-#define COLOR_LIGHTBLUE (BCOLOR_LIGHTBLUE | CATTR_LUMA7)
-#define COLOR_GRAY3 (BCOLOR_WHITE | CATTR_LUMA5)
+#define COLOR_GREEN (BCOLOR_GREEN | CATTR_LUMA7)
+#define COLOR_BLUE (BCOLOR_BLUE | CATTR_LUMA7)
+#define COLOR_YELLOW (BCOLOR_YELLOW | CATTR_LUMA7)
+#define COLOR_ORANGE (BCOLOR_ORANGE | CATTR_LUMA7)
+#define COLOR_BROWN (BCOLOR_BROWN | CATTR_LUMA7)
+#define COLOR_LIGHTRED (BCOLOR_RED | CATTR_LUMA7)
+#define COLOR_GRAY1 (BCOLOR_WHITE | CATTR_LUMA1)
+#define COLOR_GRAY2 (BCOLOR_WHITE | CATTR_LUMA3)
+#define COLOR_LIGHTGREEN (BCOLOR_LIGHTGREEN | CATTR_LUMA7)
+#define COLOR_LIGHTBLUE (BCOLOR_LIGHTBLUE | CATTR_LUMA7)
+#define COLOR_GRAY3 (BCOLOR_WHITE | CATTR_LUMA5)
+
+/* Define hardware */
+#include <_ted.h>
+#define TED (*(struct __ted*)0xFF00)
+
+/* Define special memory areas */
+#define COLOR_RAM ((unsigned char*)0x0800)
+
+
+
+/*****************************************************************************/
+/* Code */
+/*****************************************************************************/