mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 23:32:28 +00:00
Document the future.
This commit is contained in:
parent
b22b489380
commit
a293a3a816
@ -132,10 +132,10 @@ class MDA {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(pixels) {
|
if(pixels) {
|
||||||
// TODO: use flags.
|
// TODO: use attributes, as per http://www.seasip.info/VintagePC/mda.html#memmap
|
||||||
const uint8_t glyph = ram[((state.refresh_address << 1) + 0) & 0xfff];
|
// const uint8_t attributes = ram[((state.refresh_address << 1) + 1) & 0xfff];
|
||||||
// const uint8_t flags = ram[((state.refresh_address << 1) + 1) & 0xfff];
|
|
||||||
|
|
||||||
|
const uint8_t glyph = ram[((state.refresh_address << 1) + 0) & 0xfff];
|
||||||
const uint8_t row = font[(glyph * 14) + state.row_address];
|
const uint8_t row = font[(glyph * 14) + state.row_address];
|
||||||
|
|
||||||
pixel_pointer[0] = row & 0x80;
|
pixel_pointer[0] = row & 0x80;
|
||||||
|
Loading…
Reference in New Issue
Block a user