clear line link flag for last line when scrolling screen up

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-21 23:44:14 +09:30
1 parent c29b8c6fc7
commit d18d8c30c3
1 file changed
+2 -2
+2 -2
View File
@@ -292,8 +292,6 @@ scroll_copy_loop2:
dex dex
bne scroll_copy_loop2 bne scroll_copy_loop2
inc $d020
;; Shift line linkage list ;; Shift line linkage list
ldy #0 ldy #0
ldx #24 ldx #24
@@ -303,6 +301,8 @@ link_copy:
iny iny
dex dex
bne link_copy bne link_copy
;; Clear line link flag of last line
stx screen_line_link_table+24
;; Now erase last line ;; Now erase last line
lda HIBASE lda HIBASE