diff --git a/basic/x16additions.s b/basic/x16additions.s index 1ceafe6b..47faef1c 100644 --- a/basic/x16additions.s +++ b/basic/x16additions.s @@ -823,8 +823,10 @@ linput: lda #buflen in2var: ; input (line or block) to var - sta size ; store max length + pha jsr strspa ; allocate string space + pla + sta size ; store max length ldy #0 in2varc: