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

Diff of /SheepShaver/src/rom_patches.cpp

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

revision 1.5 by gbeauche, Wed May 21 18:57:17 2003 UTC revision 1.6 by gbeauche, Wed May 21 19:31:57 2003 UTC
# Line 2013  static bool patch_68k(void) Line 2013  static bool patch_68k(void)
2013          wp = (uint16 *)(ROM_BASE + base);          wp = (uint16 *)(ROM_BASE + base);
2014          if (ROMType == ROMTYPE_ZANZIBAR)          if (ROMType == ROMTYPE_ZANZIBAR)
2015                  *wp = htons(M68K_RTS);                  *wp = htons(M68K_RTS);
2016          else          else if (ntohs(wp[-4]) == 0x61ff)
2017                    *wp = htons(M68K_RTS);
2018            else if (ntohs(wp[-2]) == 0x6700)
2019                  wp[-2] = htons(0x6000); // bra                  wp[-2] = htons(0x6000); // bra
2020    
2021          // Patch PowerOff()          // Patch PowerOff()

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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