Date : Thu, 23 Mar 2006 08:30:32 +0000 (GMT)
From : Sprow <info@...>
Subject: Re: Web site: Mainly Master 512
In article <000a01c64e02$abb38d50$0301a8c0@...>,
David Harper <dl.harper@...> wrote:
> Sprow wrote:
> > ...
> > You could also extend it to read the time as a string, and interpret the
> > first two digits of the year and use BCD to get the last two digits (or
> > just
> > interpret all 4 from the string). This would allow the value of *TIME to
> > match that used in DOS without fiddling,
> Yes, possible. I am not sure the result would be any better, but it might
> make more sense.
> A curiosity I came across while doing this: You cannot enter dates into
> M512 DOS-Plus earlier than 1980.
That would make sense - in the disc catalogue (FAT12/16/32) dates are all
stored relative to 1980 (7 bits, thus 2108 is going to be a painful year for
Windows) so you'd want to clamp it to 1980 to stop negative datestamps.
> However, the date stored in DOS-Plus counts from
> the beginning of 1978.
That would not make sense,
Sprow.