413 |
|
|
414 |
|
// Under Solaris/SPARC and NetBSD/m68k, Basilisk II is known to crash |
415 |
|
// when trying to map a too big chunk of memory starting at address 0 |
416 |
< |
#if defined(OS_solaris) || defined(OS_netbsd) |
416 |
> |
#if defined(OS_solaris) || defined(OS_netbsd) || defined(PAGEZERO_HACK) |
417 |
|
const bool can_map_all_memory = false; |
418 |
|
#else |
419 |
|
const bool can_map_all_memory = true; |
425 |
|
memory_mapped_from_zero = true; |
426 |
|
} |
427 |
|
|
428 |
+ |
#ifndef PAGEZERO_HACK |
429 |
|
// Otherwise, just create the Low Memory area (0x0000..0x2000) |
430 |
|
else if (vm_acquire_fixed(0, 0x2000) == 0) { |
431 |
|
D(bug("Could allocate the Low Memory globals\n")); |
439 |
|
QuitEmulator(); |
440 |
|
} |
441 |
|
#endif |
442 |
+ |
#endif /* REAL_ADDRESSING */ |
443 |
|
|
444 |
|
// Create areas for Mac RAM and ROM |
445 |
|
#if REAL_ADDRESSING |