this was just masking i think, must fix
This commit is contained in:
parent
f913d0ff65
commit
200e77c6dc
1 changed files with 1 additions and 0 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue