]> git.sur5r.net Git - cc65/blobdiff - include/cbm264.h
Remove this copy of the apple include file - a copy was added to asminc
[cc65] / include / cbm264.h
index a8d40ab3ed3ec8579a251724a6ae465c93d0753d..961701700a11c1ad461f1fe0ecc94271369a1f7f 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2002 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/*****************************************************************************/
+/*                                  Data                                    */
+/*****************************************************************************/
+
+
+
 /* Additional key defines */
 #define CH_F1                          133
 #define CH_F2                          137
@@ -74,6 +80,7 @@
 #define BCOLOR_RED             0x02
 #define BCOLOR_CYAN                    0x03
 #define BCOLOR_VIOLET          0x04
+#define BCOLOR_PURPLE           BCOLOR_VIOLET
 #define BCOLOR_GREEN           0x05
 #define BCOLOR_BLUE            0x06
 #define BCOLOR_YELLOW          0x07
 #define BCOLOR_DARKBLUE                0x0E
 #define BCOLOR_LIGHTGREEN      0x0F
 
-
-
 /* Now try to mix up a C64/C128 compatible palette */
 #define COLOR_BLACK            (BCOLOR_BLACK)
 #define COLOR_WHITE            (BCOLOR_WHITE | CATTR_LUMA7)
 #define COLOR_RED              (BCOLOR_RED | CATTR_LUMA4)
 #define COLOR_CYAN             (BCOLOR_CYAN | CATTR_LUMA7)
 #define COLOR_VIOLET           (BCOLOR_VIOLET | CATTR_LUMA7)
+#define COLOR_PURPLE            COLOR_VIOLET
 #define COLOR_GREEN            (BCOLOR_GREEN | CATTR_LUMA7)
 #define COLOR_BLUE             (BCOLOR_BLUE | CATTR_LUMA7)
 #define COLOR_YELLOW           (BCOLOR_YELLOW | 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                                    */
+/*****************************************************************************/
+
 
 
 /* End of cbm264.h */