copy null at end of basic line when storing to memory
This commit is contained in:
1 parent
08b1327044
commit
7f54f6cdd8
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user