示例#1
0
文件: VideoDHGR.java 项目: gdos/jace
 private void registerHiresDirtyFlag(RAMEvent e) {
   int row = hiresRowLookup[e.getAddress() & 0x01fff];
   if (row < 0 || row >= 192) {
     return;
   }
   VideoWriter mark = (e.getAddress() < 0x04000) ? hiresPage1 : hiresPage2;
   mark.markDirty(row);
 }
示例#2
0
文件: VideoDHGR.java 项目: gdos/jace
 private void registerTextDirtyFlag(RAMEvent e) {
   int row = textRowLookup[e.getAddress() & 0x03ff];
   if (row > 23) {
     return;
   }
   VideoWriter tmark = (e.getAddress() < 0x0800) ? textPage1 : textPage2;
   row <<= 3;
   int yy = row + 8;
   for (int y = row; y < yy; y++) {
     tmark.markDirty(y);
   }
 }