copy null at end of basic line when storing to memory

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-28 01:22:09 +09:30
1 parent 08b1327044
commit 7f54f6cdd8
1 file changed
+2 -1
+2 -1
View File
@@ -58,6 +58,7 @@ basic_insert_line:
jsr poke_under_roms
;; Now store the line body itself
inc tokenise_work2
line_store_loop:
ldx tokenise_work1
lda $0200,x
@@ -68,7 +69,7 @@ line_store_loop:
lda tokenise_work1
cmp tokenise_work2
bne line_store_loop
dec tokenise_work2
sec
rts