Date : Thu, 20 Dec 1990 22:37:22 GMT
From : van-bc!cynic!pevans@ucbvax.Berkeley.EDU (Phillip Evans)
Subject: UUCP and CPM Plus
pm111@tharr.UUCP (Paul Martin) writes:
> In article <ns.661089427@iddth2> ns@iddth2.id.dk (Nick Sandru (langt haar)) w
>
> >>What is the convention for the "true" file length byte in CPM Plus?
> >>(It's set by setting flag f6' and putting the byte value in CR).
> >>I assume it is the number of unused bytes in the last sector. Is this right
> >
> >It is the number of the _used_ bytes in the last 128-byte record.
>
> If that's so, is a value of zero in this place mean that the last block
> contains 128 used bytes? The "unused bytes" scenario seems more natural...
>
> Clarification anyone?
>
The DR CP/M 3 manual says "This facility can identify THE LAST BYTE of
the last record of the file." Whether DR counts beginning at 0 or at 1
is not stated.
However, the value is set to 0 when the file is created and has a zero
length. Maybe you have to look at the record count in this case to
deduce what number DR starts with.
End of INFO-CPM Digest V90 Issue #210
*************************************