+/* Check for errors */
+#if !defined(__CBM510__)
+# error This module may only be used when compiling for the CBM 510!
+#endif
+
+
+
/* Additional key defines */
#define CH_F1 224
#define CH_F2 225
-/* Special routines to write bytes and words in the system bank */
+/* Special routines to read/write bytes and words in the system bank */
+unsigned char __fastcall__ peekbsys (unsigned addr);
+unsigned __fastcall__ peekwsys (unsigned addr);
void __fastcall__ pokebsys (unsigned addr, unsigned char val);
void __fastcall__ pokewsys (unsigned addr, unsigned val);
/* Define hardware */
#include <_vic.h>
#define VIC (*(struct __vic*)0xD800)
-
+
#include <_sid.h>
#define SID (*(struct __sid*)0xDA00)