Fix command files and ProDOS clock overwriting the cmd line

This commit is contained in:
David Schmenk committed 2025-05-05 17:55:52 -07:00
1 parent 8c61098fdc
commit cfced6a64a
6 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1357,9 +1357,9 @@ def docmds#0
is '.'
ref = open(getlnbuf)
if ref
^getlnbuf = read(ref, getlnbuf+1, 81)
cmdln = read(ref, @cmdln+1, 81)
close(0)
prstr(getlnbuf); crout
prstr(strcpy(getlnbuf, @cmdln)); crout
continue
fin
break
+2 -2
View File
@@ -1439,9 +1439,9 @@ def docmds#0
is '.'
ref = open(getlnbuf)
if ref
^getlnbuf = read(ref, getlnbuf+1, 81)
cmdln = read(ref, @cmdln+1, 81)
close(0)
prstr(getlnbuf); crout
prstr(strcpy(getlnbuf, @cmdln)); crout
continue
fin
break