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