|
|
| version 1.12, 2004/08/18 09:17:56 | 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) { |