/[cebix]/SheepShaver/src/rsrc_patches.cpp
ViewVC logotype

Diff of /SheepShaver/src/rsrc_patches.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by gbeauche, Sat May 6 09:23:28 2006 UTC revision 1.21 by gbeauche, Mon May 8 23:32:58 2006 UTC
# Line 579  void CheckLoad(uint32 type, int16 id, ui Line 579  void CheckLoad(uint32 type, int16 id, ui
579                          p[(base + 0x1a) >> 1] = htons(0x6064);                          p[(base + 0x1a) >> 1] = htons(0x6064);
580                          D(bug(" patch1 applied\n"));                          D(bug(" patch1 applied\n"));
581                  }                  }
582    
583            } else if (type == FOURCC('i','n','f','n') && (id == 129 || id == 200)) {
584                    D(bug("infn %d found\n", id));
585                    size >>= 1;
586                    while (size--) {
587                            if (PM(0,0x203c) && PM(1,0xf800) && PM(2,0x0000) && PM(4,0x2040) && PM(5,0x1028) && PM(6,0x0090)) {
588                                    // Don't read from 0xf8000090 during MacOS (8.5, 9.0) installation
589                                    p[0] = htons(M68K_NOP);
590                                    p[1] = htons(M68K_NOP);
591                                    p[2] = htons(M68K_NOP);
592                                    p[3] = htons(M68K_NOP);
593                                    p[4] = htons(M68K_NOP);
594                                    p[5] = htons(M68K_NOP);
595                                    p[6] = htons(0x7000);   // moveq #0,d0
596                                    D(bug(" patch 1 applied\n"));
597                                    break;
598                            }
599                            p++;
600                    }
601    
602          }          }
603  }  }
604    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15