Diff for /np2/i386c/ia32/cpu_mem.mcr between versions 1.9 and 1.10

version 1.9, 2012/01/08 19:09:40 version 1.10, 2012/06/18 14:30:27
Line 47  cpu_vmemoryread_##width(int idx, UINT32  Line 47  cpu_vmemoryread_##width(int idx, UINT32 
                 cpu_memoryread_check(sdp, offset, (length), \                  cpu_memoryread_check(sdp, offset, (length), \
                     CHOOSE_EXCEPTION(idx)); \                      CHOOSE_EXCEPTION(idx)); \
         } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \          } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \
                 if (!check_limit_upstairs(sdp, offset, (length))) \                  if (!check_limit_upstairs(sdp, offset, (length), SEG_IS_32BIT(sdp))) \
                         goto range_failure; \                          goto range_failure; \
         } \          } \
         return cpu_lmemoryread_##width(addr, CPU_PAGE_READ_DATA | CPU_STAT_USER_MODE); \          return cpu_lmemoryread_##width(addr, CPU_PAGE_READ_DATA | CPU_STAT_USER_MODE); \
Line 85  cpu_vmemorywrite_##width(int idx, UINT32 Line 85  cpu_vmemorywrite_##width(int idx, UINT32
                 cpu_memorywrite_check(sdp, offset, (length), \                  cpu_memorywrite_check(sdp, offset, (length), \
                     CHOOSE_EXCEPTION(idx)); \                      CHOOSE_EXCEPTION(idx)); \
         } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \          } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \
                 if (!check_limit_upstairs(sdp, offset, (length))) \                  if (!check_limit_upstairs(sdp, offset, (length), SEG_IS_32BIT(sdp))) \
                         goto range_failure; \                          goto range_failure; \
         } \          } \
         cpu_lmemorywrite_##width(addr, value, CPU_PAGE_WRITE_DATA | CPU_STAT_USER_MODE); \          cpu_lmemorywrite_##width(addr, value, CPU_PAGE_WRITE_DATA | CPU_STAT_USER_MODE); \
Line 128  cpu_vmemory_RMW_##width(int idx, UINT32  Line 128  cpu_vmemory_RMW_##width(int idx, UINT32 
                 cpu_memorywrite_check(sdp, offset, (length), \                  cpu_memorywrite_check(sdp, offset, (length), \
                     CHOOSE_EXCEPTION(idx)); \                      CHOOSE_EXCEPTION(idx)); \
         } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \          } else if (!(sdp->flag & CPU_DESC_FLAG_WHOLEADR)) { \
                 if (!check_limit_upstairs(sdp, offset, (length))) \                  if (!check_limit_upstairs(sdp, offset, (length), SEG_IS_32BIT(sdp))) \
                         goto range_failure; \                          goto range_failure; \
         } \          } \
         return cpu_lmemory_RMW_##width(addr, func, arg); \          return cpu_lmemory_RMW_##width(addr, func, arg); \

Removed from v.1.9  
changed lines
  Added in v.1.10


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