From b6f65709516b71af60cb2f086ff467001f9be708 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Sun, 21 Apr 2019 23:15:44 +0930 Subject: [PATCH] fix bug in growing line when last line on screen --- c64/kernal/chrout.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c64/kernal/chrout.s b/c64/kernal/chrout.s index 4545bbc9..602f5f4d 100644 --- a/c64/kernal/chrout.s +++ b/c64/kernal/chrout.s @@ -220,7 +220,10 @@ scroll_up_if_on_last_line: cmp #>$DBC0 bne not_last_line + dec current_screen_y + ;; FALL THROUGH + scroll_screen_up: ;; Now scroll the whole screen up either one or two lines ;; based on whether the first screen line is linked or not.