Diff for /xmil/io/pcg.c between versions 1.11 and 1.13

version 1.11, 2004/08/15 11:14:42 version 1.13, 2004/08/20 23:01:16
Line 4 Line 4
 #include        "iocore.h"  #include        "iocore.h"
 #include        "nevent.h"  #include        "nevent.h"
 #include        "vram.h"  #include        "vram.h"
   #include        "makescrn.h"
 #include        "font.h"  #include        "font.h"
   
   
Line 111  void IOOUTCALL pcg_o(UINT port, REG8 val Line 112  void IOOUTCALL pcg_o(UINT port, REG8 val
                 chr = tram[TRAM_ANK + off];                  chr = tram[TRAM_ANK + off];
         }          }
         chr += (port & 0x0300) - 0x100;          chr += (port & 0x0300) - 0x100;
         pcg.d[(chr << 3) + line] = value;          if (pcg.d[(chr << 3) + line] != value) {
                   pcg.d[(chr << 3) + line] = value;
                   scrnallflash = TRUE;
           }
 }  }
   
 REG8 IOINPCALL pcg_i(UINT port) {  REG8 IOINPCALL pcg_i(UINT port) {
Line 123  REG8 IOINPCALL pcg_i(UINT port) { Line 127  REG8 IOINPCALL pcg_i(UINT port) {
         UINT    knj;          UINT    knj;
         UINT    addr;          UINT    addr;
   
         TRACEOUT(("pcg->%.4x", port));  
         upper = port & 0x0300;          upper = port & 0x0300;
         if (crtc.s.SCRN_BITS & SCRN_PCGMODE) {          if (crtc.s.SCRN_BITS & SCRN_PCGMODE) {
                 waithsync();                  waithsync();

Removed from v.1.11  
changed lines
  Added in v.1.13


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