>Johnny Billquist wrote:
Sigh!
I didn't want to comment, since I feel this is another non-thread
without any real relevance. But just to point out that RSX itself (when
we talk about the kernel) is good to go another 30000+ years.
The primary problem with RT-11 is that the kernel
(call Resident Monitor in RT-11) uses only 7 bits
for the year out of 16 bits for the date value. Likewise
each file entry for file structured disk drives. (I guess
that all current disk drives are file structured in RT-11.)
Where the extra bits go is not a problem for the Resident
Monitor - probably just add on to the fixed offsets which
has been done many times in the past. However, the
definition of a file entry (one for each file on a file structured
disk drive) has never changed, although additional bits
have been defined in the 16 bits status word over the
decades and there are still many bits unused (at least 6 if
that is where the additional bits for the year are located).
However, if another 2000+ years is added to what can
be handled, another 4 bits (128 ** 4) are required and
7 bits (128 ** 7) are required to add another 30000+
years. If 30000+ years is the maximum number of years
to ever be considered, then the location of those extra
bits becomes easier if other interesting possibilities for
RT-11 files are abandoned.
At the same time, it would seem useful to add additional
dates to RT-11 file entries - Modification Date, Access
Date and perhaps time as well in each case. The additional
words required for each file entry can easily be handled
by current RT-11 software, but would required changes
to the kernel if the additional words became part of the
definition of an RT-11 file entry for file structured devices.
Things
that needs attention earlier are the file system, and of course
numerous applications that store dates in another format than what is
returned from the kernel. And at some point (at least around the year
10.000) the date formatting routines that convert from binary to text
and so on, will probably need to be looked at.
The question of date formatting routines will probably
become a secondary issue in about 2000 years. Current
data strongly suggests that the rules for the current CE
(Commercial Events, Common Era, Christian Era or
Gregorian) Calendar will be insufficient to track the
average length of the Tropical Year which is currently
about 365.2418 days for the year based on the Vernal
(Spring) Equinox.
On the other hand, the next 2000 years are likely to
see significant changes in transportation capability -
all the way from FTL to stone age regression if major
conflicts are not resolved. In the case of the latter
sort of situation, keeping alive old software will not
likely be much of a concern. It is impossible to know
what effect FTL will have on society as a whole and
how the calendar will change - let alone if some over
eager humans decide to alter the parameters of the
Earth's rotation rate, etc.
The only suggestion would be to allow additional
digits to be displayed in the year. Up to year 30000
(with 5 digits) would probably be the best solution
to add to the software at this point and let the rule
changes needed to the number of days in a year be
done if someone ever decides to modify the calendar.
Jerome Fine