1 /*****************************************************************************/
5 /* Oric Atmos system specific definitions */
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 */
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. */
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: */
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 */
33 /*****************************************************************************/
42 /* Check for errors */
43 #if !defined(__ATMOS__)
44 # error This module may only be used when compiling for the Oric Atmos!
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
63 #define VIA (*(struct __6522*)0x300)
67 /* These are defined to be FUNCT + NumberKey */
82 #define CH_ULCORNER '+'
83 #define CH_URCORNER '+'
84 #define CH_LLCORNER '+'
85 #define CH_LRCORNER '+'