summaryrefslogtreecommitdiff
path: root/z80.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-03 22:27:04 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-03 22:27:04 +0000
commit5ae0f154bd925c050e37b572ea30b51b09e8b569 (patch)
tree2af3ddbf5d93463a33161701f516dc0431c18390 /z80.h
parent81295d66b59af1ca7cbd91f63c897d6f60b015b6 (diff)
Extra sanity checks on start-up.
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];