Skip to content

Commit

Permalink
[BASIC] LINPUT(#)/BINPUT# fix spurious STRING TOO LONG after string GC (
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur authored Oct 16, 2023
1 parent d9d4b13 commit 75eeb64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion basic/x16additions.s
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 75eeb64

Please sign in to comment.