[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No Slot Clock and Day Of Week apps?
sicklittlemonkey <nick.westgate@gmail.com> wrote:
> On Jun 20, 7:42 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:
>> No, sorry--I was thinking about the Thunderclock, not the NSC.
>>
>> In looking over the Dallas documentation, I agree that the day of week
>> is coded 1-7. Since this is just a mod 7 counter, it is pure convention
>> which day corresponds to which code. And since this chip stores the
>> 2-digit year, there is no need for a calendar congruence using the
>> day of week to determine the year (within a 5-6 year range).
>>
>> So it all depends on the NSC software, and what code it assigns to
>> Sunday. In the US, at least, it is common to consider weeks as starting
>> with Sunday and ending with Saturday, which would suggest that Sunday
>> is encoded as 1 and Saturday as 7, but this is just a likely convention.
>>
>> -michael
>
> Ok, I'm relieved there aren't 2 sets of NSC hardware. ;-)
>
> Yes, exactly, DOW interpretation is only a convention, but
> unfortunately it seems Dallas chose a different convention from the
> original NSC vendors. And perhaps the NSC vendors then adopted the new
> convention.
>
> This conclusion is drawn from the 3 available data points:
> - Original (1986/1987) NSC manual: 1=MON
> - SmartWatch Utility (1987) v1.1: 1=SUN
> - No Slot Clock Utilities (1991) v.14: 1=SUN
>
> All the other drivers and utilities available to me don't define the
> DOW mapping.
>
> I'd still like to get hold of the original NSC disk(s)/driver/
> utilities which use the 1=MON convention. If anyone has these then
> please upload it to asmiov and let me know.
Nick, I can't think of anything that cares what DOW a clock reports, except
the Thunderclock driver calendar congruence--which is, of course,
irrelevant to the NSC.
Since ProDOS doesn't keep DOW, programs generally compute it if it's
needed.
If it's important, just run the NSC setting software and see what it does.
;-)
-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon