]> git.sur5r.net Git - cc65/blobdiff - include/atari5200.h
atari5200: implement bgcolor() and textcolor()
[cc65] / include / atari5200.h
index 67c11c1df5f30ec37c230ee078efc20250908aca..10cd32fe979e65a950b652070d6af1da5e93fc1a 100644 (file)
@@ -53,6 +53,14 @@ extern void atr5200std_joy[];        /* referred to by joy_static_stddrv[] */
 #define JOY_RIGHT_MASK  0x08
 #define JOY_BTN_1_MASK  0x10
 
+/* Character codes */
+#define CH_ULCORNER     0x0B         /* '+' sign */
+#define CH_URCORNER     0x0B
+#define CH_LLCORNER     0x0B
+#define CH_LRCORNER     0x0B
+#define CH_HLINE        0x0D         /* dash */
+#define CH_VLINE        0x01         /* exclamation mark */
+
 /* get_tv return values */
 #define AT_NTSC     0
 #define AT_PAL      1
@@ -69,5 +77,11 @@ extern void atr5200std_joy[];        /* referred to by joy_static_stddrv[] */
 #include <_antic.h>
 #define ANTIC (*(struct __antic*)0xD400)
 
+/* The following #define will cause the matching function calls in conio.h
+** to be overlaid by macros with the same names, saving the function call
+** overhead.
+*/
+#define _bordercolor(color) 0
+
 /* End of atari5200.h */
 #endif