Diff for /np2/i286c/memory.c between versions 1.17 and 1.18

version 1.17, 2004/01/25 05:41:28 version 1.18, 2004/02/18 02:03:36
Line 448  static void MEMCALL grcgw_tdw1(UINT32 ad Line 448  static void MEMCALL grcgw_tdw1(UINT32 ad
 static void MEMCALL egcw_wt(UINT32 address, REG16 value) {  static void MEMCALL egcw_wt(UINT32 address, REG16 value) {
   
         CPU_REMCLOCK -= MEMWAIT_GRCG;          CPU_REMCLOCK -= MEMWAIT_GRCG;
         if (!(address & 1)) {          egc_write_w(address, value);
                 egc_write_w(address, value);  
         }  
         else {  
                 if (!(egc.sft & 0x1000)) {  
                         egc_write(address, (REG8)value);  
                         egc_write(address + 1, (REG8)(value >> 8));  
                 }  
                 else {  
                         egc_write(address + 1, (REG8)(value >> 8));  
                         egc_write(address, (REG8)value);  
                 }  
         }  
 }  }
   
 static void MEMCALL emmcw_wt(UINT32 address, REG16 value) {  static void MEMCALL emmcw_wt(UINT32 address, REG16 value) {
Line 589  static REG16 MEMCALL grcgw_tcr1(UINT32 a Line 577  static REG16 MEMCALL grcgw_tcr1(UINT32 a
   
 static REG16 MEMCALL egcw_rd(UINT32 address) {  static REG16 MEMCALL egcw_rd(UINT32 address) {
   
         REG16   ret;  
   
         CPU_REMCLOCK -= MEMWAIT_GRCG;          CPU_REMCLOCK -= MEMWAIT_GRCG;
         if (!(address & 1)) {          return(egc_read_w(address));
                 return(egc_read_w(address));  
         }  
         else {  
                 if (!(egc.sft & 0x1000)) {  
                         ret = egc_read(address);  
                         ret += egc_read(address + 1) << 8;  
                         return(ret);  
                 }  
                 else {  
                         ret = egc_read(address + 1) << 8;  
                         ret += egc_read(address);  
                         return(ret);  
                 }  
         }  
 }  }
   
 static REG16 MEMCALL emmcw_rd(UINT32 address) {  static REG16 MEMCALL emmcw_rd(UINT32 address) {

Removed from v.1.17  
changed lines
  Added in v.1.18


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