Diff for /np2/io/egc.c between versions 1.7 and 1.10

version 1.7, 2004/01/30 14:33:27 version 1.10, 2007/11/03 00:00:20
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "cpucore.h"  #include        "cpucore.h"
 #include        "egcmem.h"  
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
   #include        "memegc.h"
 #include        "vram.h"  #include        "vram.h"
   
   
Line 21  static const UINT16 maskword[16][4] = { Line 21  static const UINT16 maskword[16][4] = {
   
 static void IOOUTCALL egc_o4a0(UINT port, REG8 value) {  static void IOOUTCALL egc_o4a0(UINT port, REG8 value) {
   
         if (!(vramop.operate & VOP_EGCBIT)) {          if (!(vramop.operate & (1 << VOPBIT_EGC))) {
                 return;                  return;
         }          }
   
Line 115  static void IOOUTCALL egc_o4a0(UINT port Line 115  static void IOOUTCALL egc_o4a0(UINT port
         }          }
 }  }
   
 void egc_reset(void) {  void egc_reset(const NP2CFG *pConfig) {
   
         ZeroMemory(&egc, sizeof(egc));          ZeroMemory(&egc, sizeof(egc));
         egc.access = 0xfff0;          egc.access = 0xfff0;
Line 124  void egc_reset(void) { Line 124  void egc_reset(void) {
         egc.leng = 0x000f;          egc.leng = 0x000f;
         egcshift();          egcshift();
         egc.srcmask.w = 0xffff;          egc.srcmask.w = 0xffff;
   
           (void)pConfig;
 }  }
   
 void egc_bind(void) {  void egc_bind(void) {
Line 137  void egc_bind(void) { Line 139  void egc_bind(void) {
   
 void IOOUTCALL egc_w16(UINT port, REG16 value) {  void IOOUTCALL egc_w16(UINT port, REG16 value) {
   
         if (!(vramop.operate & VOP_EGCBIT)) {          if (!(vramop.operate & (1 << VOPBIT_EGC))) {
                 return;                  return;
         }          }
   

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


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