1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-29 16:55:59 +00:00

Mask into 4kb; I don't know whether hardware scrolling is in use.

This commit is contained in:
Thomas Harte 2023-11-22 14:12:57 -05:00
parent 231de8440e
commit b22b489380

View File

@ -133,8 +133,8 @@ class MDA {
if(pixels) {
// TODO: use flags.
const uint8_t glyph = ram[(state.refresh_address << 1) + 0];
// const uint8_t flags = ram[(state.refresh_address << 1) + 1];
const uint8_t glyph = ram[((state.refresh_address << 1) + 0) & 0xfff];
// const uint8_t flags = ram[((state.refresh_address << 1) + 1) & 0xfff];
const uint8_t row = font[(glyph * 14) + state.row_address];