]> git.sur5r.net Git - cc65/blobdiff - src/sim65/chipdata.h
Working
[cc65] / src / sim65 / chipdata.h
index e9cd8127832db6dcdacd335ec892b629a69f70aa..ad7b061a6aba94e62ed662c1a62c0cbd895e15a1 100644 (file)
@@ -44,7 +44,9 @@
 
 
 
-/* Version information. */
+/* Chip type and version information. */
+#define CHIPDATA_TYPE_CHIP      0U
+#define CHIPDATA_TYPE_CPU       1U
 #define CHIPDATA_VER_MAJOR      1U
 #define CHIPDATA_VER_MINOR      0U
 
@@ -56,6 +58,7 @@ struct SimData;
 typedef struct ChipData ChipData;
 struct ChipData {
     const char* ChipName;       /* Name of the chip */
+    unsigned    Type;           /* Type of the chip */
     unsigned    MajorVersion;   /* Version information */
     unsigned    MinorVersion;