From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sun, 01 May 2011 20:53:45 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dbd67b3$0$302$14726298@news.sunsite.dk> In-Reply-To: Content-Type: multipart/alternative; boundary="------------060103000608040606080300" Message-ID: <4dbe008c$0$311$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=XRdI[:efJ:54J8>`6Toe6=YSB=nbEKnk;DdACUG>9[f2PPfk^U[HX;?N1>V8bAJTI>3eOPKWXlde4Qa4_jgFW[9?DLjFRm^e1O?oO X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2063 comp.sys.dec:3224 vmsnet.pdp-11:488 This is a multi-part message in MIME format. --------------060103000608040606080300 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >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 --------------060103000608040606080300 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >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
--------------060103000608040606080300--