From 8a9f6e432155e3b1cbee726b924c69fa6b83b403 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sun, 15 Dec 2019 17:54:29 +0100 Subject: [PATCH] fixed incomplete erasing of newly inserted lines --- c64/kernal/screen/screen_grow_logical_line.s | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/c64/kernal/screen/screen_grow_logical_line.s b/c64/kernal/screen/screen_grow_logical_line.s index b90f36de..ca7a8c48 100644 --- a/c64/kernal/screen/screen_grow_logical_line.s +++ b/c64/kernal/screen/screen_grow_logical_line.s @@ -3,9 +3,8 @@ screen_grow_logical_line: ldy TBLX // Don't grow line if it is already grown lda LDTBL,y - bpl !+ - jmp not_last_line // doneb grow line -!: + bmi_far not_last_line // done grow line + lda #$80 sta LDTBL,y @@ -128,7 +127,7 @@ no_copy_down: lda #$20 sta (PNT),y dey - cpy #40 + cpy #39 bne !- rts