diff options
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 |