mirror of
https://github.com/cc65/cc65.git
synced 2025-02-23 18:29:05 +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:
parent
fd7e7f8e73
commit
0358a14d1f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user