summaryrefslogtreecommitdiff
path: root/z80.h
diff options
context:
space:
mode:
Diffstat (limited to 'z80.h')
-rw-r--r--z80.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/z80.h b/z80.h
index 9683e3f..af0017b 100644
--- a/z80.h
+++ b/z80.h
@@ -44,20 +44,21 @@ typedef struct Z80 Z80;
typedef unsigned long Z80Val;
-/* 8-bit type
+/* 8-bit type. The emulation will exit with code 2 if this isn't 8 bits.
*/
typedef unsigned char Z80Byte;
-/* 8-bit signed type
+/* 8-bit signed type. The emulation will exit with code 2 if this isn't 8 bits.
*/
typedef signed char Z80Relative;
-/* 16-bit type
+/* 16-bit type. The emulation will exit with code 2 if this isn't 16 bits.
*/
typedef unsigned short Z80Word;
+
/* Memory
*/
typedef Z80Byte Z80Memory[0x10000];