Sujet : Re: Transferring text files to CP/M ?
De : nmh (at) *nospam* sraddha.invalid (Nils M Holm)
Groupes : comp.os.cpmDate : 23. Jul 2025, 10:14:51
Autres entêtes
Organisation : TARFU
Message-ID : <mebngbFnm7dU1@mid.individual.net>
References : 1 2 3
User-Agent : tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.4-RELEASE (amd64))
dxf <
dxforth@gmail.com> wrote:
On 23/07/2025 4:37 am, John wrote:
A properly written program will stop at the EOF marker ($1A), so there is no need to pad additional $1As after the first one.? All that data is 'don't care' mode as it will never be processed. That's the way I've always done it.
...
I think I'll do that from now on. Padding the file length out to a record
was done out of an abundance of caution. But if nobody else has found it
necessary, then it's less work for me. I had a utility to pad files but
being an extra step, it was more hassle than worth.
Just to add another data point: all programs I have written so far
would interpret a single $1A as the EOF.
-- Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org