[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: latest ProDOS 8/Basic System ?
- Subject: Re: latest ProDOS 8/Basic System ?
- From: mjmahon@aol.com (Michael J. Mahon)
- Date: 25 Jul 2001 04:24:46 GMT
- Newsgroups: comp.sys.apple2
- Organization: AOL http://www.aol.com
- References: <AeN37.9372$JN6.1773940@news1.rdc1.mi.home.com>
- Xref: archiver1.google.com comp.sys.apple2:11406
william strutts wrote:
<snip>
>Prodos has a date table which needs to be updated every seven years.
Actually, the table is seven entries long (indexed into by day of week),
but it can map only 5 or 6 years, depending on whether the range contains
one or two leap years.
Each leap year occupies two slots in the table. So if the first or second
year is a leap year, then the fifth (probably!) also is, and they consume four
slots, leaving only three other slots for the intervening non-leap years.
If the first is a leap year, then five full years will be mapped. If the
second
is a leap year, then five full years will be mapped plus part of the sixth
(the part before February 29).
If the first or second year is not a leap year, then only one leap year falls
in the range of the table, and five non-leap years can be accomodated for
a total of six years.
-michael
Email: mjmahon@aol.com
Home page: http://members.aol.com/MJMahon/