A slightly faster SoilDown.

This commit is contained in:
Pecusx
2023-11-15 19:14:18 +01:00
parent 9c6816685c
commit 84b5904f44
6 changed files with 5 additions and 7 deletions
+1 -2
View File
@@ -202,7 +202,7 @@ ClearPlot
; checks state of the pixel (coordinates in xdraw and ydraw)
; xdraw (word) - X coordinate
; ydraw (word) - Y coordinate
; result is in A (zero or appropriate bit is set)
; result is in A (0 - point is set; appropriate bit is set - point is clear) INVERTED!
; let's calculate coordinates from xdraw and ydraw
@@ -226,7 +226,6 @@ ClearPlot
ldx xdraw ; optimization (256 bytes long bittable)
lda (xbyte),y
eor #$ff
and bittable1_long,x
rts
.endp