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); }
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); } }
private void markFlashDirtyBits() { // TODO: Be smarter about detecting where flash is used... one day... for (int row = 0; row < 192; row++) { currentTextWriter.markDirty(row); } }
private void displayMixed( WritableImage screen, int xOffset, int y, int textOffset, int graphicsOffset) { mixed.actualWriter().displayByte(screen, xOffset, y, textOffset, graphicsOffset); }