ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/main_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.55 by gbeauche, 2003-10-12T21:21:35Z vs.
Revision 1.56 by gbeauche, 2003-10-12T22:39:57Z

# Line 413 | Line 413 | int main(int argc, char **argv)
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;
# Line 425 | Line 425 | int main(int argc, char **argv)
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"));
# Line 438 | Line 439 | int main(int argc, char **argv)
439                  QuitEmulator();
440          }
441   #endif
442 + #endif /* REAL_ADDRESSING */
443  
444          // Create areas for Mac RAM and ROM
445   #if REAL_ADDRESSING

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines