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

Comparing SheepShaver/src/Unix/main_unix.cpp (file contents):
Revision 1.29 by gbeauche, 2004-01-31T11:10:49Z vs.
Revision 1.30 by gbeauche, 2004-02-15T17:20:36Z

# Line 446 | Line 446 | int main(int argc, char **argv)
446          PVR = 0x00040000;                       // Default: 604
447          CPUClockSpeed = 100000000;      // Default: 100MHz
448          BusClockSpeed = 100000000;      // Default: 100MHz
449 < #if !EMULATED_PPC
449 > #if EMULATED_PPC
450 >        PVR = 0x000c0000;                       // Default: 7400 (with AltiVec)
451 > #else
452          proc_file = fopen("/proc/cpuinfo", "r");
453          if (proc_file) {
454                  char line[256];
# Line 482 | Line 484 | int main(int argc, char **argv)
484                                  else if (strcmp(value, "860") == 0)
485                                          PVR = 0x00500000;
486                                  else if (strcmp(value, "7400") == 0)
487 <                                        PVR = 0x80000000;
487 >                                        PVR = 0x000c0000;
488                                  else if (strcmp(value, "7410") == 0)
489                                          PVR = 0x800c0000;
490                                  else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines