Diff for /np2/i386c/memory.c between versions 1.26 and 1.27

version 1.26, 2004/04/14 20:39:12 version 1.27, 2005/02/08 09:19:00
Line 3 Line 3
 #ifndef NP2_MEMORY_ASM  #ifndef NP2_MEMORY_ASM
   
 #include        "cpucore.h"  #include        "cpucore.h"
 #include        "egcmem.h"  
 #include        "mem9821.h"  #include        "mem9821.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
   #include        "memegc.h"
 #include        "vram.h"  #include        "vram.h"
 #include        "font.h"  #include        "font.h"
   
Line 178  static void MEMCALL grcg_tdw1(UINT32 add Line 178  static void MEMCALL grcg_tdw1(UINT32 add
 static void MEMCALL egc_wt(UINT32 address, REG8 value) {                // VRAM  static void MEMCALL egc_wt(UINT32 address, REG8 value) {                // VRAM
   
         CPU_REMCLOCK -= MEMWAIT_GRCG;          CPU_REMCLOCK -= MEMWAIT_GRCG;
         egc_write(address, value);          memegc_wr8(address, value);
 }  }
   
 static void MEMCALL emmc_wt(UINT32 address, REG8 value) {               // EMS  static void MEMCALL emmc_wt(UINT32 address, REG8 value) {               // EMS
Line 290  const BYTE *vram; Line 290  const BYTE *vram;
 static REG8 MEMCALL egc_rd(UINT32 address) {                                    // VRAM  static REG8 MEMCALL egc_rd(UINT32 address) {                                    // VRAM
   
         CPU_REMCLOCK -= MEMWAIT_GRCG;          CPU_REMCLOCK -= MEMWAIT_GRCG;
         return(egc_read(address));          return(memegc_rd8(address));
 }  }
   
 static REG8 MEMCALL emmc_rd(UINT32 address) {                                   // EMS  static REG8 MEMCALL emmc_rd(UINT32 address) {                                   // EMS
Line 455  static void MEMCALL grcgw_tdw1(UINT32 ad Line 455  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;
         egc_write_w(address, value);          memegc_wr16(address, value);
 }  }
   
 static void MEMCALL emmcw_wt(UINT32 address, REG16 value) {  static void MEMCALL emmcw_wt(UINT32 address, REG16 value) {
Line 609  static REG16 MEMCALL grcgw_tcr1(UINT32 a Line 609  static REG16 MEMCALL grcgw_tcr1(UINT32 a
 static REG16 MEMCALL egcw_rd(UINT32 address) {  static REG16 MEMCALL egcw_rd(UINT32 address) {
   
         CPU_REMCLOCK -= MEMWAIT_GRCG;          CPU_REMCLOCK -= MEMWAIT_GRCG;
         return(egc_read_w(address));          return(memegc_rd16(address));
 }  }
   
 static REG16 MEMCALL emmcw_rd(UINT32 address) {  static REG16 MEMCALL emmcw_rd(UINT32 address) {

Removed from v.1.26  
changed lines
  Added in v.1.27


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