diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-09-03 22:27:04 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-09-03 22:27:04 +0000 |
commit | 5ae0f154bd925c050e37b572ea30b51b09e8b569 (patch) | |
tree | 2af3ddbf5d93463a33161701f516dc0431c18390 /z80.h | |
parent | 81295d66b59af1ca7cbd91f63c897d6f60b015b6 (diff) |
Extra sanity checks on start-up.
Diffstat (limited to 'z80.h')
-rw-r--r-- | z80.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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]; |