fixed incomplete erasing of newly inserted lines

This commit is contained in:
FeralChild64 committed 2019-12-15 17:54:29 +01:00
1 parent 39340d492d
commit 8a9f6e4321
1 file changed
+3 -4
+3 -4
View File
@@ -3,9 +3,8 @@ screen_grow_logical_line:
ldy TBLX ldy TBLX
// Don't grow line if it is already grown // Don't grow line if it is already grown
lda LDTBL,y lda LDTBL,y
bpl !+ bmi_far not_last_line // done grow line
jmp not_last_line // doneb grow line
!:
lda #$80 lda #$80
sta LDTBL,y sta LDTBL,y
@@ -128,7 +127,7 @@ no_copy_down:
lda #$20 lda #$20
sta (PNT),y sta (PNT),y
dey dey
cpy #40 cpy #39
bne !- bne !-
rts rts