mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Tank No fix and optimizations
This commit is contained in:
+13
-3
@@ -1590,14 +1590,24 @@ nextPointChecking
|
||||
lda (modify),y
|
||||
tax
|
||||
NotHigher
|
||||
inw modify
|
||||
cpw modify #(mountaintable+screenwidth)
|
||||
; inw modify
|
||||
; cpw modify #(mountaintable+screenwidth)
|
||||
; --
|
||||
; better code (with Y reg)
|
||||
iny
|
||||
bne @+
|
||||
inc modify+1
|
||||
@
|
||||
lda modify+1
|
||||
cmp #>(mountaintable+screenwidth)
|
||||
bne @+
|
||||
cpy #<screenwidth
|
||||
@
|
||||
bne nextPointChecking
|
||||
txa
|
||||
rts
|
||||
.endp
|
||||
|
||||
|
||||
; -----------------------------------------
|
||||
.proc unPlot
|
||||
; plots a point and saves the plotted byte, reverts the previous plot.
|
||||
|
||||
Reference in New Issue
Block a user