diff options
author | Ian C <ianc@noddybox.co.uk> | 2021-08-03 21:43:06 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2021-08-03 21:43:06 +0000 |
commit | 0d08766ccc80cacfe0690cb8a1ea8f13038e404b (patch) | |
tree | 15eb862285cf96fef26b8fffb31dc60cd233a51c /include/z80_config.h | |
parent | b7e8b634595445325d10f8fcddcb7d6cdaa8a922 (diff) |
Sped up Z80 emulation
Diffstat (limited to 'include/z80_config.h')
-rw-r--r-- | include/z80_config.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/z80_config.h b/include/z80_config.h index 8d9ee79..2a56cb1 100644 --- a/include/z80_config.h +++ b/include/z80_config.h @@ -36,6 +36,11 @@ */ #define ENABLE_DISASSEM +/* Pick one of these as appropriate for your real CPU +#define Z80_BIG_ENDIAN +*/ +#define Z80_LITTLE_ENDIAN + /* Define this to enable the array-based memory model. In this mode an externally visible Z80Byte array called Z80_MEMORY must be @@ -44,11 +49,11 @@ In this mode the signature of Z80Init changes so that the memory functions are not passed. ALL processor instances share the same memory. -#define ENABLE_ARRAY_MEMORY */ +#define ENABLE_ARRAY_MEMORY #ifdef ENABLE_ARRAY_MEMORY -#define RAMBOT 0x0000 +#define RAMBOT 0x4000 #define RAMTOP 0xffff #endif |