]> git.sur5r.net Git - cc65/blobdiff - include/c128.h
Merge pull request #3 from greg-king5/ctype
[cc65] / include / c128.h
index 47fbb26b112f8281adbaa1d7c36e8510f32cfb37..4d4cb9769c50a65fdad1bd318b7430efd61325db 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
 
 
 
+/* The addresses of the static drivers */
+extern void c128_georam[];
+extern void c128_ram[];
+extern void c128_ram2[];
+extern void c128_ramcart[];
+extern void c128_reu[];
+extern void c128_vdc[];
+extern void c128_ptvjoy[];
+extern void c128_stdjoy[];     /* Referred to by joy_static_stddrv[] */
+extern void c128_1351[];       /* Referred to by mouse_static_stddrv[] */
+extern void c128_joymouse[];
+extern void c128_potmouse[];
+extern void c128_swlink[];
+extern void c128_640_200_2[];  /* Referred to by tgi_static_stddrv[] */
+extern void c128_640_480_2[];
+
+
+
 unsigned __fastcall__ videomode (unsigned Mode);
 /* Set the video mode, return the old mode. Call with one of the VIDEOMODE_xx
  * constants.
@@ -127,6 +163,3 @@ void slow (void);
 
 /* End of c128.h */
 #endif
-
-
-