]> git.sur5r.net Git - cc65/blob - include/atmos.h
Add ORIC Atmos support
[cc65] / include / atmos.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                 atmos.h                                   */
4 /*                                                                           */
5 /*                   Oric Atmos system specific definitions                  */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2002      Debrune Jérome, <jede@oric.org>                             */
10 /* (C) 2003      Ullrich von Bassewitz                                       */
11 /*               Roemerstrasse 52                                            */
12 /*               D-70794 Filderstadt                                         */
13 /* EMail:        uz@cc65.org                                                 */
14 /*                                                                           */
15 /*                                                                           */
16 /* This software is provided 'as-is', without any expressed or implied       */
17 /* warranty.  In no event will the authors be held liable for any damages    */
18 /* arising from the use of this software.                                    */
19 /*                                                                           */
20 /* Permission is granted to anyone to use this software for any purpose,     */
21 /* including commercial applications, and to alter it and redistribute it    */
22 /* freely, subject to the following restrictions:                            */
23 /*                                                                           */
24 /* 1. The origin of this software must not be misrepresented; you must not   */
25 /*    claim that you wrote the original software. If you use this software   */
26 /*    in a product, an acknowledgment in the product documentation would be  */
27 /*    appreciated but is not required.                                       */
28 /* 2. Altered source versions must be plainly marked as such, and must not   */
29 /*    be misrepresented as being the original software.                      */
30 /* 3. This notice may not be removed or altered from any source              */
31 /*    distribution.                                                          */
32 /*                                                                           */
33 /*****************************************************************************/
34
35
36
37 #ifndef _ATMOS_H
38 #define _ATMOS_H
39
40
41
42 /* Check for errors */
43 #if !defined(__ATMOS__)
44 #  error This module may only be used when compiling for the Oric Atmos !
45 #endif
46
47
48
49 /* Color defines */
50 #define COLOR_BLACK     0x00
51 #define COLOR_RED       0x01
52 #define COLOR_GREEN     0x02
53 #define COLOR_YELLOW    0x03
54 #define COLOR_BLUE      0x04
55 #define COLOR_MAGENTA   0x05
56 #define COLOR_CYAN      0x06
57 #define COLOR_WHITE     0x07
58
59 /* Character codes */
60 #define CH_ULCORNER     '+'
61 #define CH_URCORNER     '+'
62 #define CH_LLCORNER     '+'
63 #define CH_LRCORNER     '+'
64 #define CH_TTEE         '+'
65 #define CH_BTEE         '+'
66 #define CH_LTEE         '+'
67 #define CH_RTEE         '+'
68 #define CH_CROSS        '+'
69
70
71
72
73
74 /* End of atmos.h */
75 #endif
76
77
78