From a293a3a816e911a378de485e85aca2d637c27bee Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 22 Nov 2023 14:14:53 -0500 Subject: [PATCH] Document the future. --- Machines/PCCompatible/PCCompatible.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index 759f003f6..bb4c3ea5a 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -132,10 +132,10 @@ class MDA { } if(pixels) { - // TODO: use flags. - const uint8_t glyph = ram[((state.refresh_address << 1) + 0) & 0xfff]; -// const uint8_t flags = ram[((state.refresh_address << 1) + 1) & 0xfff]; + // TODO: use attributes, as per http://www.seasip.info/VintagePC/mda.html#memmap +// const uint8_t attributes = 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]; pixel_pointer[0] = row & 0x80;