/* */
/* */
/* */
-/* (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)
+
+
+
/* Character codes */
#define CH_ULCORNER '+'
#define CH_URCORNER '+'
-
-
/* End of atmos.h */
#endif
/* */
/* */
/* */
-/* (C) 1998-2002 Ullrich von Bassewitz */
-/* Wacholderweg 14 */
-/* D-70597 Stuttgart */
-/* EMail: uz@musoftware.de */
+/* (C) 1998-2004 Ullrich von Bassewitz */
+/* Römerstraße 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
+/* Define hardware */
+#include <_pia.h>
+#define PIA1 (*(struct __pia*)0xE810)
+#define PIA2 (*(struct __pia*)0xE820)
+
+#include <_6522.h>
+#define VIA (*(struct __6522*)0xE840)
+
+
+
/* End of pet.h */
#endif
/* */
/* */
/* */
-/* (C) 1998-2001 Ullrich von Bassewitz */
-/* Wacholderweg 14 */
-/* D-70597 Stuttgart */
-/* EMail: uz@musoftware.de */
+/* (C) 1998-2004 Ullrich von Bassewitz */
+/* Römerstraße 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
#include <_vic.h>
#define VIC (*(struct __vic*)0x9000)
+#include <_6522.h>
+#define VIA1 (*(struct __6522*)0x9110)
+#define VIA2 (*(struct __6522*)0x9120)
+
/* Define special memory areas */