1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Additional I/O chips added by Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@2923 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-03-13 22:51:29 +00:00
parent fd7e7f8e73
commit 0358a14d1f
3 changed files with 36 additions and 16 deletions

View File

@ -6,11 +6,11 @@
/* */
/* */
/* */
/* (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 */
@ -41,7 +41,7 @@
/* 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
@ -56,6 +56,14 @@
#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 '+'
@ -69,8 +77,6 @@
/* End of atmos.h */
#endif

View File

@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (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 */
@ -51,6 +51,16 @@
/* 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

View File

@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (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 */
@ -81,6 +81,10 @@
#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 */