Loading A once before the loop is sufficient.
This commit is contained in:
@@ -58,8 +58,9 @@ scroll: lda SCRNBASE+$00A5,x
|
|||||||
sta SCRNBASE+$0285,x
|
sta SCRNBASE+$0285,x
|
||||||
inx
|
inx
|
||||||
bne scroll
|
bne scroll
|
||||||
bottom:
|
|
||||||
lda #' ' ; Clear bottom line of screen
|
lda #' ' ; Clear bottom line of screen
|
||||||
|
bottom:
|
||||||
sta SCRNBASE+$0385,x
|
sta SCRNBASE+$0385,x
|
||||||
inx
|
inx
|
||||||
cpx #SCR_LINELEN+1
|
cpx #SCR_LINELEN+1
|
||||||
|
|||||||
Reference in New Issue
Block a user