/* */
/* */
/* */
-/* (C) 1998-2000 Ullrich von Bassewitz */
+/* (C) 1998-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
-/*
- * c128.h
- *
- * Ullrich von Bassewitz, 12.08.1998
- */
+#ifndef _C128_H
+#define _C128_H
-#ifndef _C128_H
-#define _C128_H
+/* Check for errors */
+#if !defined(__C128__)
+# error This module may only be used when compiling for the C128!
+#endif
/* Define hardware */
-#include <_vic.h>
-#define VIC (*(struct __vic*)0xD000)
+#include <_vic2.h>
+#define VIC (*(struct __vic2*)0xD000)
#include <_sid.h>
#define SID (*(struct __sid*)0xD400)