]> git.sur5r.net Git - cc65/blob - include/atmos.h
Added IRQ entry point
[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-2004  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
60
61 /* Define hardware */
62 #include <_6522.h>
63 #define VIA     (*(struct __6522*)0x300)
64
65
66
67 /* Character codes */
68 #define CH_ULCORNER     '+'
69 #define CH_URCORNER     '+'
70 #define CH_LLCORNER     '+'
71 #define CH_LRCORNER     '+'
72 #define CH_TTEE         '+'
73 #define CH_BTEE         '+'
74 #define CH_LTEE         '+'
75 #define CH_RTEE         '+'
76 #define CH_CROSS        '+'
77
78
79
80 /* End of atmos.h */
81 #endif
82
83
84