2001-09-19 08:46:07 +00:00
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/* */
|
2013-05-09 11:56:54 +00:00
|
|
|
|
/* plus4.h */
|
2001-09-19 08:46:07 +00:00
|
|
|
|
/* */
|
2013-05-09 11:56:54 +00:00
|
|
|
|
/* Plus/4 system specific definitions */
|
2001-09-19 08:46:07 +00:00
|
|
|
|
/* */
|
|
|
|
|
/* */
|
|
|
|
|
/* */
|
2006-05-09 19:44:33 +00:00
|
|
|
|
/* (C) 1998-2006, Ullrich von Bassewitz */
|
|
|
|
|
/* R<>merstrasse 52 */
|
|
|
|
|
/* D-70794 Filderstadt */
|
|
|
|
|
/* EMail: uz@cc65.org */
|
2001-09-19 08:46:07 +00:00
|
|
|
|
/* */
|
|
|
|
|
/* */
|
|
|
|
|
/* This software is provided 'as-is', without any expressed or implied */
|
|
|
|
|
/* warranty. In no event will the authors be held liable for any damages */
|
|
|
|
|
/* arising from the use of this software. */
|
|
|
|
|
/* */
|
|
|
|
|
/* Permission is granted to anyone to use this software for any purpose, */
|
|
|
|
|
/* including commercial applications, and to alter it and redistribute it */
|
|
|
|
|
/* freely, subject to the following restrictions: */
|
|
|
|
|
/* */
|
|
|
|
|
/* 1. The origin of this software must not be misrepresented; you must not */
|
|
|
|
|
/* claim that you wrote the original software. If you use this software */
|
|
|
|
|
/* in a product, an acknowledgment in the product documentation would be */
|
|
|
|
|
/* appreciated but is not required. */
|
|
|
|
|
/* 2. Altered source versions must be plainly marked as such, and must not */
|
|
|
|
|
/* be misrepresented as being the original software. */
|
|
|
|
|
/* 3. This notice may not be removed or altered from any source */
|
|
|
|
|
/* distribution. */
|
|
|
|
|
/* */
|
|
|
|
|
/*****************************************************************************/
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _PLUS4_H
|
|
|
|
|
#define _PLUS4_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-09-19 08:46:07 +00:00
|
|
|
|
/* Check for errors */
|
2002-12-09 22:09:20 +00:00
|
|
|
|
#if !defined(__PLUS4__)
|
|
|
|
|
# error This module may only be used when compiling for the Plus/4!
|
2001-09-19 08:46:07 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-12-09 22:09:20 +00:00
|
|
|
|
/* Include the base header file for the 264 series. include file.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef _CBM264_H
|
|
|
|
|
#include <cbm264.h>
|
|
|
|
|
#endif
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
2006-05-09 19:44:33 +00:00
|
|
|
|
/* Define hardware */
|
|
|
|
|
#include <_6551.h>
|
|
|
|
|
#define ACIA (*(struct __6551*)0xFD00)
|
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
2012-11-07 23:20:58 +00:00
|
|
|
|
/* The addresses of the static drivers */
|
2013-05-09 08:20:03 +00:00
|
|
|
|
extern void plus4_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
|
|
|
|
|
extern void plus4_stdser_ser[];
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-07 23:20:58 +00:00
|
|
|
|
/* End of plus4.h */
|
|
|
|
|
#endif
|