mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 00:37:27 +00:00
Mask into 4kb; I don't know whether hardware scrolling is in use.
This commit is contained in:
parent
231de8440e
commit
b22b489380
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user