28 |
|
#include "memory.h" |
29 |
|
#include "readcpu.h" |
30 |
|
#include "newcpu.h" |
31 |
– |
#include "compiler.h" |
31 |
|
|
32 |
|
|
33 |
|
// RAM and ROM pointers |
64 |
|
RAMBaseMac = (uint32)RAMBaseHost; |
65 |
|
ROMBaseMac = (uint32)ROMBaseHost; |
66 |
|
#elif DIRECT_ADDRESSING |
67 |
< |
InitMEMBaseDiff(RAMBaseHost, RAMBaseMac); |
67 |
> |
// Mac address space = host address space minus constant offset (MEMBaseDiff) |
68 |
> |
// NOTE: MEMBaseDiff is set in main_unix.cpp/main() |
69 |
> |
RAMBaseMac = 0; |
70 |
> |
ROMBaseMac = Host2MacAddr(ROMBaseHost); |
71 |
|
#else |
72 |
|
// Initialize UAE memory banks |
73 |
|
RAMBaseMac = 0; |
90 |
|
#endif |
91 |
|
|
92 |
|
init_m68k(); |
91 |
– |
#ifdef USE_COMPILER |
92 |
– |
compiler_init(); |
93 |
– |
#endif |
93 |
|
return true; |
94 |
|
} |
95 |
|
|