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

Comparing SheepShaver/src/rom_patches.cpp (file contents):
Revision 1.22 by gbeauche, 2003-12-15T15:25:38Z vs.
Revision 1.27 by gbeauche, 2004-02-24T11:12:51Z

# Line 1 | Line 1
1   /*
2   *  rom_patches.cpp - ROM patches
3   *
4 < *  SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 319 | Line 319 | static bool check_rom_patch_space(uint32
319          size = (size + 3) & -4;
320          for (int i = 0; i < size; i += 4) {
321                  uint32 x = ntohl(*(uint32 *)(ROM_BASE + base + i));
322                printf("%08x\n", x);
322                  if (x != 0x6b636b63 && x != 0)
323                          return false;
324          }
# Line 872 | Line 871 | static bool patch_nanokernel_boot(void)
871                          lp[8] = htonl(0x00800002);      // TLB total size/TLB assoc
872                          break;
873   //              case 11:        // X704?
874 <                case 12:        // ???
874 >                case 12:        // 7400, 7410
875 >                case 0x800c:
876                          lp[0] = htonl(0x1000);          // Page size
877                          lp[1] = htonl(0x8000);          // Data cache size
878                          lp[2] = htonl(0x8000);          // Inst cache size
# Line 2305 | Line 2305 | void InstallDrivers(void)
2305                  WriteMacInt16(dce + dCtlFlags, SonyDriverFlags);
2306          }
2307  
2308 < #if DISABLE_SCSI && 0
2308 > #if DISABLE_SCSI && HAVE_SIGSEGV_SKIP_INSTRUCTION
2309          // Fake SCSIGlobals
2310          WriteMacInt32(0xc0c, SheepMem::ZeroPage());
2311   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines