]> git.sur5r.net Git - cc65/blob - include/osic1p.h
Fixed _textcolor definition.
[cc65] / include / osic1p.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                osic1p.h                                   */
4 /*                                                                           */
5 /*                Challenger 1P system specific definitions                  */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2015 Stephan Muehlstrasser                                            */
10 /*                                                                           */
11 /*                                                                           */
12 /* This software is provided 'as-is', without any expressed or implied       */
13 /* warranty.  In no event will the authors be held liable for any damages    */
14 /* arising from the use of this software.                                    */
15 /*                                                                           */
16 /* Permission is granted to anyone to use this software for any purpose,     */
17 /* including commercial applications, and to alter it and redistribute it    */
18 /* freely, subject to the following restrictions:                            */
19 /*                                                                           */
20 /* 1. The origin of this software must not be misrepresented; you must not   */
21 /*    claim that you wrote the original software. If you use this software   */
22 /*    in a product, an acknowledgment in the product documentation would be  */
23 /*    appreciated but is not required.                                       */
24 /* 2. Altered source versions must be plainly marked as such, and must not   */
25 /*    be misrepresented as being the original software.                      */
26 /* 3. This notice may not be removed or altered from any source              */
27 /*    distribution.                                                          */
28 /*                                                                           */
29 /*****************************************************************************/
30
31 #ifndef _OSIC1P_H
32 #define _OSIC1P_H
33
34 /* Check for errors */
35 #if !defined(__OSIC1P__)
36 #  error "This module may only be used when compiling for the Challenger 1P!"
37 #endif
38
39 /* The following #defines will cause the matching functions calls in conio.h
40 ** to be overlaid by macros with the same names, saving the function call
41 ** overhead.
42 */
43 #define _textcolor(color)       COLOR_WHITE
44 #define _bgcolor(color)         COLOR_BLACK
45 #define _bordercolor(color)     COLOR_BLACK
46
47 #endif