From 5ae0f154bd925c050e37b572ea30b51b09e8b569 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 3 Sep 2006 22:27:04 +0000 Subject: Extra sanity checks on start-up. --- z80.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'z80.h') 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]; -- cgit v1.2.3