Diff for /np2/i386c/ia32/cpu_mem.c between versions 1.31 and 1.32

version 1.31, 2012/01/08 18:26:10 version 1.32, 2012/01/08 18:49:31
Line 548  cpu_vmemorywrite_q(int idx, UINT32 offse Line 548  cpu_vmemorywrite_q(int idx, UINT32 offse
                 if (!check_limit_upstairs(sdp, offset, 8))                  if (!check_limit_upstairs(sdp, offset, 8))
                         goto range_failure;                          goto range_failure;
         }          }
         if (!CPU_STAT_PAGING) {          cpu_lmemorywrite_q(addr, value, CPU_PAGE_WRITE_DATA | CPU_STAT_USER_MODE);
                 cpu_memorywrite_q(addr, value);  
         } else {  
                 cpu_linear_memory_write_q(addr, value, CPU_PAGE_READ_DATA | CPU_STAT_USER_MODE);  
         }  
         return;          return;
   
 range_failure:  range_failure:
Line 587  cpu_vmemoryread_f(int idx, UINT32 offset Line 583  cpu_vmemoryread_f(int idx, UINT32 offset
                 if (!check_limit_upstairs(sdp, offset, 10))                  if (!check_limit_upstairs(sdp, offset, 10))
                         goto range_failure;                          goto range_failure;
         }           } 
         if (!CPU_STAT_PAGING)          return cpu_lmemoryread_f(addr, CPU_PAGE_READ_DATA | CPU_STAT_USER_MODE);
                 return cpu_memoryread_f(addr);  
         return cpu_linear_memory_read_f(addr, CPU_PAGE_READ_DATA | CPU_PAGE_READ_DATA | CPU_STAT_USER_MODE);  
   
 range_failure:  range_failure:
         VERBOSE(("cpu_vmemoryread_f: type = %d, offset = %08x, limit = %08x", sdp->type, offset, sdp->u.seg.limit));          VERBOSE(("cpu_vmemoryread_f: type = %d, offset = %08x, limit = %08x", sdp->type, offset, sdp->u.seg.limit));
Line 630  cpu_vmemorywrite_f(int idx, UINT32 offse Line 624  cpu_vmemorywrite_f(int idx, UINT32 offse
                 if (!check_limit_upstairs(sdp, offset, 10))                  if (!check_limit_upstairs(sdp, offset, 10))
                         goto range_failure;                          goto range_failure;
         }          }
         if (!CPU_STAT_PAGING) {          cpu_lmemorywrite_f(addr, value, CPU_PAGE_WRITE_DATA | CPU_STAT_USER_MODE);
                 cpu_memorywrite_f(addr, value);  
         } else {  
                 cpu_linear_memory_write_f(addr, value, CPU_PAGE_WRITE_DATA | CPU_STAT_USER_MODE);  
         }  
         return;          return;
   
 range_failure:  range_failure:

Removed from v.1.31  
changed lines
  Added in v.1.32


RetroPC.NET-CVS <cvs@retropc.net>