1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-16 09:29:32 +00:00

Clear bottom line when scrolling.

Fix provided by Jeff Tranter.
This commit is contained in:
Stephan Mühlstrasser 2015-02-23 19:06:22 +01:00
parent 7a975fa182
commit 73ae95bd1c

View File

@ -58,6 +58,12 @@ scroll: lda SCRNBASE+$00A5,x
sta SCRNBASE+$0285,x
inx
bne scroll
bottom:
lda #' ' ; Clear bottom line of screen
sta SCRNBASE+$0385,x
inx
cpx #SCR_LINELEN+1
bne bottom
plot: ldy CURS_Y
lda ScrLo,y