1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Loading A once before the loop is sufficient.

This commit is contained in:
Stephan Mühlstrasser 2015-02-23 19:17:27 +01:00
parent 73ae95bd1c
commit 83f16425c9

View File

@ -58,8 +58,9 @@ scroll: lda SCRNBASE+$00A5,x
sta SCRNBASE+$0285,x
inx
bne scroll
bottom:
lda #' ' ; Clear bottom line of screen
bottom:
sta SCRNBASE+$0385,x
inx
cpx #SCR_LINELEN+1