From 200e77c6dc7ce550e78be9dc8d8b883b3c8b1a85 Mon Sep 17 00:00:00 2001 From: Bjorn Einar Bjarntes Date: Sun, 19 Dec 2021 13:30:42 +0100 Subject: [PATCH] this was just masking i think, must fix --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 198afe5..188a8ce 100644 --- a/src/main.c +++ b/src/main.c @@ -36,6 +36,7 @@ BYTE isPositionWhite() { // https://archive.org/details/The_Graphics_Book_for_the_Commodore_64/page/n129/ void setPositionWhite() { + // TODO this 8 times something divided must be just masking ad = 0x2000+(320 * (y >> 3)) + (y & 7)+8 * (x>>3); *(short*)(ad) = *(short*)(ad) | 1 << ((7-(x & 7))); }