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
|
jsr poke_under_roms
|
||||||
|
|
||||||
;; Now store the line body itself
|
;; Now store the line body itself
|
||||||
|
inc tokenise_work2
|
||||||
line_store_loop:
|
line_store_loop:
|
||||||
ldx tokenise_work1
|
ldx tokenise_work1
|
||||||
lda $0200,x
|
lda $0200,x
|
||||||
@@ -68,7 +69,7 @@ line_store_loop:
|
|||||||
lda tokenise_work1
|
lda tokenise_work1
|
||||||
cmp tokenise_work2
|
cmp tokenise_work2
|
||||||
bne line_store_loop
|
bne line_store_loop
|
||||||
|
dec tokenise_work2
|
||||||
|
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
|
|||||||
Reference in new issue
Block a user