Diff for /xmil/io/vramio.c between versions 1.2 and 1.3

version 1.2, 2004/08/04 17:09:25 version 1.3, 2004/08/07 07:19:56
Line 2 Line 2
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "vram.h"  #include        "vram.h"
 #include        "draw.h"  #include        "makescrn.h"
   
   
 // ---- text  // ---- text
Line 17  void IOOUTCALL tram_o(UINT port, REG8 va Line 17  void IOOUTCALL tram_o(UINT port, REG8 va
                         return;                          return;
                 }                  }
                 if ((tram[TRAM_ATR + addr] ^ value) & (X1ATR_Yx2 | X1ATR_Xx2)) {                  if ((tram[TRAM_ATR + addr] ^ value) & (X1ATR_Yx2 | X1ATR_Xx2)) {
                         doubleatrchange = 1;                          makescrn.remakeattr = 1;
                 }                  }
                 if (value & X1ATR_BLINK) {                  if (value & X1ATR_BLINK) {
                         blinkflag = 1;                          makescrn.existblink = 1;
                 }                  }
                 tram[TRAM_ATR + addr] = value;                  tram[TRAM_ATR + addr] = value;
         }          }
Line 36  void IOOUTCALL tram_o(UINT port, REG8 va Line 36  void IOOUTCALL tram_o(UINT port, REG8 va
                 }                  }
                 tram[TRAM_ANK + addr] = value;                  tram[TRAM_ANK + addr] = value;
         }          }
         scrnflash = 1;          makescrn.scrnflash = 1;
         if (tram[TRAM_ATR + addr] & X1ATR_Xx2) {          if (tram[TRAM_ATR + addr] & X1ATR_Xx2) {
                 updatetmp[addr + 1] |= UPDATE_TVRAM;                  updatetmp[addr + 1] |= UPDATE_TVRAM;
         }          }
Line 70  void IOOUTCALL gram_o(UINT port, REG8 va Line 70  void IOOUTCALL gram_o(UINT port, REG8 va
         }          }
         *p = value;          *p = value;
         updatetmp[port & crtc.e.updatemask] |= crtc.e.updatebit;          updatetmp[port & crtc.e.updatemask] |= crtc.e.updatebit;
         scrnflash = 1;          makescrn.scrnflash = 1;
 }  }
   
 REG8 IOINPCALL gram_i(UINT port) {  REG8 IOINPCALL gram_i(UINT port) {
Line 106  void IOOUTCALL gram2_o(UINT port, REG8 v Line 106  void IOOUTCALL gram2_o(UINT port, REG8 v
                         break;                          break;
         }          }
         updatetmp[port & crtc.e.updatemask] |= crtc.e.updatebit;          updatetmp[port & crtc.e.updatemask] |= crtc.e.updatebit;
         scrnflash = 1;          makescrn.scrnflash = 1;
 }  }
   
   

Removed from v.1.2  
changed lines
  Added in v.1.3


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