/* */
/* */
/* */
-/* (C) 2002 Debrune Jérome, <jede@oric.org> */
-/* (C) 2003 Ullrich von Bassewitz */
-/* Roemerstrasse 52 */
-/* D-70794 Filderstadt */
-/* EMail: uz@cc65.org */
+/* (C) 2002 Debrune Jérome, <jede@oric.org> */
+/* (C) 2003-2004 Ullrich von Bassewitz */
+/* Roemerstrasse 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
/* Check for errors */
#if !defined(__ATMOS__)
-# error This module may only be used when compiling for the Oric Atmos !
+# error This module may only be used when compiling for the Oric Atmos!
#endif
#define COLOR_CYAN 0x06
#define COLOR_WHITE 0x07
+
+
+/* Define hardware */
+#include <_6522.h>
+#define VIA (*(struct __6522*)0x300)
+
+
+
+/* These are defined to be FUNCT + NumberKey */
+#define CH_F1 0xB1
+#define CH_F2 0xB2
+#define CH_F3 0xB3
+#define CH_F4 0xB4
+#define CH_F5 0xB5
+#define CH_F6 0xB6
+#define CH_F7 0xB7
+#define CH_F8 0xB8
+#define CH_F9 0xB9
+#define CH_F10 0xB0
+
+
+
/* Character codes */
#define CH_ULCORNER '+'
#define CH_URCORNER '+'
-
-
/* End of atmos.h */
#endif