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

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.29 by gbeauche, 2004-02-20T17:20:15Z vs.
Revision 1.30 by gbeauche, 2004-02-24T11:12:54Z

# Line 715 | Line 715 | static sigsegv_return_t sigsegv_handler(
715                  else if (pc == ROM_BASE + 0x4a10a0 && (cpu->gpr(20) == 0xf3012002 || cpu->gpr(20) == 0xf3012000))
716                          return SIGSEGV_RETURN_SKIP_INSTRUCTION;
717  
718 +                // Ignore writes to the zero page
719 +                else if ((uint32)(addr - SheepMem::ZeroPage()) < (uint32)SheepMem::PageSize())
720 +                        return SIGSEGV_RETURN_SKIP_INSTRUCTION;
721 +
722                  // Ignore all other faults, if requested
723                  if (PrefsFindBool("ignoresegv"))
724                          return SIGSEGV_RETURN_SKIP_INSTRUCTION;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines