--- xmil/io/pcg.c 2004/08/15 11:14:42 1.11 +++ xmil/io/pcg.c 2004/08/20 23:01:16 1.13 @@ -4,6 +4,7 @@ #include "iocore.h" #include "nevent.h" #include "vram.h" +#include "makescrn.h" #include "font.h" @@ -111,7 +112,10 @@ void IOOUTCALL pcg_o(UINT port, REG8 val chr = tram[TRAM_ANK + off]; } 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) { @@ -123,7 +127,6 @@ REG8 IOINPCALL pcg_i(UINT port) { UINT knj; UINT addr; - TRACEOUT(("pcg->%.4x", port)); upper = port & 0x0300; if (crtc.s.SCRN_BITS & SCRN_PCGMODE) { waithsync();