diff options
author | Ian C <ianc@noddybox.co.uk> | 2007-09-29 11:08:46 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2007-09-29 11:08:46 +0000 |
commit | 0099ea03c53e20968cc0490a48bd606597044e07 (patch) | |
tree | adab887e7c3a192874aec8cfd0125a9b8bafce5f /arm9/include | |
parent | f39151d7f9bf82e7295c60b89d9da02c781528eb (diff) |
Diffstat (limited to 'arm9/include')
-rw-r--r-- | arm9/include/z80.h | 5 | ||||
-rw-r--r-- | arm9/include/z80_config.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arm9/include/z80.h b/arm9/include/z80.h index e6bdfd9..8ee5dad 100644 --- a/arm9/include/z80.h +++ b/arm9/include/z80.h @@ -65,8 +65,9 @@ typedef union Z80Byte b[2]; } Z80Reg; -extern int Z80_HI_WORD; -extern int Z80_LO_WORD; +#define Z80_LO_WORD 0 +#define Z80_HI_WORD 1 + /* The processor diff --git a/arm9/include/z80_config.h b/arm9/include/z80_config.h index 7e02bb8..307098e 100644 --- a/arm9/include/z80_config.h +++ b/arm9/include/z80_config.h @@ -45,11 +45,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 |