Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Y3K for PDP-11 Operating Systems
@ 2011-04-04 13:12 Jerome H. Fine
  2011-04-04 13:40 ` Dennis Grevenstein
                   ` (4 more replies)
  0 siblings, 5 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-04-04 13:12 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1910 bytes --]

Is there any interest in extending any of the PDP-11 operating systems
so that they are able to support dates at least until 3000?  While my
personal interest lies with RT-11, I am curious if anyone has looked
at the requirements for any of the other PDP-11 operating systems
to determine what is required for Y3K date support?  In addition,
are the resources (technical knowledge, files to make the required
changes and hardware to support the development) available?

For RT-11, the resources are available and I suggest a review of
the required software changes by anyone who has the technical
background to evaluate any proposals for Y3K implementation.

If other individuals who are interested in RSX-11, RSTS/E and
TSX-Plus are motivated to support Y3K implementation for
these OSs, I would be interested in providing support for
any solutions required to exchange dates between all PDP-11
operating systems.

I am not sure if there is any commercial impact to producing
Y3K code for PDP-11 OSs.  However, it is  possible that
any current commercial use MIGHT be more likely if Y3K
support is available.  On the other hand, it is almost certain
that any Y3K projects for all PDP-11 OSs must be done
without any commercial support at this time.  Consequently,
as with all DECUS contributions, any actual code changes
would become available to everyone.  If this enhances the
commercial value of the PDP-11 OSs, then it should be a
positive development.

Responses and suggestions are appreciated.

If, as I have noted in the past there is no response, then at
some point when it seems worthwhile, I shall at least present
the technical details of what is required to implement Y3K for
RT-11.  There may also be details of other enhancements along
with RT-11 bug fixes.  If anyone has a wish list for RT-11 or
knows of any RT-11 bugs which need fixing, I would very much
appreciate the help.

Jerome Fine


[-- Attachment #2: Type: text/html, Size: 2969 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
@ 2011-04-04 13:40 ` Dennis Grevenstein
  2011-04-04 18:58   ` Jerome H. Fine
  2011-04-04 20:55   ` Johnny Billquist
  2011-04-30 22:27 ` billy
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 146+ messages in thread
From: Dennis Grevenstein @ 2011-04-04 13:40 UTC (permalink / raw)


"Jerome H. Fine" <everyone@nospam.com> wrote:
> Is there any interest in extending any of the PDP-11 operating systems so
> that they are able to support dates at least until 3000?  

If you are interested in technology that will still be around in Y3K,
shouldn't you invest in something that has more proven reliability, like
say, some more analog, stone-based technology?

Dennis

-- 
under construction


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:40 ` Dennis Grevenstein
@ 2011-04-04 18:58   ` Jerome H. Fine
  2011-04-04 20:55   ` Johnny Billquist
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-04-04 18:58 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2152 bytes --]

 >Dennis Grevenstein wrote:

>>"Jerome H. Fine" <everyone@nospam.com> wrote:
>  
>
>>Is there any interest in extending any of the PDP-11 operating systems so
>>that they are able to support dates at least until 3000?  
>>    
>>
>If you are interested in technology that will still be around in Y3K,
>shouldn't you invest in something that has more proven reliability, like
>say, some more analog, stone-based technology?
>  
>
PDP-11 operating systems have been running since the 1970s.
There are also 2 hobby emulators, SIMH and Ersatz-11 (which
is also available in a commercial version), that run PDP-11
operating systems on current hardware technology.  In fact,
Ersatz-11 runs RT-11 at about 100 times the speed of a
PDP-11/93 for the CPU and probable around 200 times
the speed of a SCSI or ESDI drive on the Qbus.

So the proven reliability is already available - although I can
still run the same PDP-11/83 from the 1980s, but I find that
it is usually necessary to replace PC hardware every 5 to 10
years.

As for being around in Y3K, perhaps you missed the point.
Most PDP-11 operating systems will require some fixes to
handle dates correctly during the next few decades.  Only
RT-11, as far as I know, handles the date correctly until
December 31st, 2099.  So in less than 100 years, all of the
PDP-11 operating systems will require the date software to
be fixed.  Since fixing the date for Y2.1K seems rather a bit
short sighted, I suggested Y3K as the next target with probably
the ability to handle Y4K as well.

 From what I noticed in most cases, although RT-11 seems to
be as good an example as any, the Y2K changes could easily
have been made in the late 1980s in most cases and there would
not have been the Y2K panic.  In the case of MACRO-11 for
RT-11, that program was already Y2K compliant when released
in V05.06 in 1992, but with only two digits used for the year,
almost no one noticed.

After another 2000 years, I agree there does not seem to be much
point, although as I observe, the current Common Era (aka
Gregorian) calendar seems firmly in place with only very minor
revisions from the Julian Calendar.

Jerome Fine

[-- Attachment #2: Type: text/html, Size: 2842 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:40 ` Dennis Grevenstein
  2011-04-04 18:58   ` Jerome H. Fine
@ 2011-04-04 20:55   ` Johnny Billquist
  1 sibling, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-04-04 20:55 UTC (permalink / raw)


On 2011-04-04 15:40, Dennis Grevenstein wrote:
> "Jerome H. Fine"<everyone@nospam.com>  wrote:
>> Is there any interest in extending any of the PDP-11 operating systems so
>> that they are able to support dates at least until 3000?
>
> If you are interested in technology that will still be around in Y3K,
> shouldn't you invest in something that has more proven reliability, like
> say, some more analog, stone-based technology?

Stonehenge is already Y3K-proof. :-)

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
  2011-04-04 13:40 ` Dennis Grevenstein
@ 2011-04-30 22:27 ` billy
  2011-05-01 14:01   ` Jerome H. Fine
  2011-05-01 21:16 ` glen herrmannsfeldt
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 146+ messages in thread
From: billy @ 2011-04-30 22:27 UTC (permalink / raw)


Jerome H. Fine <everyone@nospam.com> wrote:

> Is there any interest in extending any of the PDP-11 operating systems
> so that they are able to support dates at least until 3000?  [...]
> 
> For RT-11, the resources are available

Just curious, but what resources are these, and where are they?

> If, as I have noted in the past there is no response, then at
> some point when it seems worthwhile, I shall at least present
> the technical details of what is required to implement Y3K for
> RT-11.

Hmm.  Let's pretend I didn't respond, and please present said
details.

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-30 22:27 ` billy
@ 2011-05-01 14:01   ` Jerome H. Fine
  2011-05-01 17:27     ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-01 14:01 UTC (permalink / raw)


 >billy@MIX.COM wrote:

>>Jerome H. Fine <everyone@nospam.com> wrote:
>
>>Is there any interest in extending any of the PDP-11 operating systems
>>so that they are able to support dates at least until 3000?  [...]
>>
>>For RT-11, the resources are available
>>
>Just curious, but what resources are these, and where are they?
>  
>
The most important resource is the experience of producing
a Y2K version of RT-11 based on an old release of RT-11
(well even V05.07 from 1998 is old now - I mean a release
that is 10 years older than V05.07).

So I know what needs to be done, have the capability
and the time to do it - if I live long enough.

I am confident that others have done similar things with
RSTS/E, RSX-11 and RTEM-11, but if they are still
working, they will not have the time to devote to Y3K.

>>If, as I have noted in the past there is no response, then at
>>some point when it seems worthwhile, I shall at least present
>>the technical details of what is required to implement Y3K for
>>RT-11.
>>
>Hmm.  Let's pretend I didn't respond, and please present said
>details.
>
>Billy Y..
>
For RT-11, the starting point is the number of additional bits
to hold the year number (actually the offset from the base
year) after 2099.  At present, the 16 bit word which holds
the date uses 7 bits for the year and the base is 1972 CE
(Commercial Events, Common Era, Christian Era or Gregorian
Calendar as you prefer - all are identical, but the Phrase
attached to CE can be used to specify your religious
preference).

The next decision concerns where to place those extra bits
both in the Resident Monitor and in the entry for each file
for file structured devices and how the file entry knows that
the extended year is present.

RT-11 will also require two additional EMT requests to
Get and Set the date now that more than a 16 bit word
is used for the date.  I suggest that the new EMT requests
include the 32 bit value for the time.

Is the above information sufficient to begin with?  I don't
really expect an answer since your post seems to be much
less than really interested.  However, on the chance that
you are willing to at least comment (or perhaps someone
else is interested enough to notice - after almost a month
since I first posted), what solution do you suggest for
where the extra bits are placed in each file entry for file
structured devices in RT-11?  After that decision is made,
along with how many bits are available, the rest of the
effort is mostly just an exercise in coding - although
at the same time, many extra features could be added
to RT-11 and bugs could be fixed (there are still a some
bugs in RT-11 which on rare occasions cause RT-11
to crash) if there was any interest from potential users.

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-01 14:01   ` Jerome H. Fine
@ 2011-05-01 17:27     ` Johnny Billquist
  2011-05-02  0:53       ` Jerome H. Fine
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-01 17:27 UTC (permalink / raw)


On 2011-05-01 07:01, Jerome H. Fine wrote:
>  >billy@MIX.COM wrote:
>
>>> Jerome H. Fine <everyone@nospam.com> wrote:
>>
>>> Is there any interest in extending any of the PDP-11 operating systems
>>> so that they are able to support dates at least until 3000? [...]
>>>
>>> For RT-11, the resources are available
>>>
>> Just curious, but what resources are these, and where are they?
>>
>>
> The most important resource is the experience of producing
> a Y2K version of RT-11 based on an old release of RT-11
> (well even V05.07 from 1998 is old now - I mean a release
> that is 10 years older than V05.07).
>
> So I know what needs to be done, have the capability
> and the time to do it - if I live long enough.
>
> I am confident that others have done similar things with
> RSTS/E, RSX-11 and RTEM-11, but if they are still
> working, they will not have the time to devote to Y3K.

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.

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 (atleast 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.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
  2011-04-04 13:40 ` Dennis Grevenstein
  2011-04-30 22:27 ` billy
@ 2011-05-01 21:16 ` glen herrmannsfeldt
  2011-05-02  0:54   ` Jerome H. Fine
  2011-05-03  1:20 ` jjh
  2011-05-03 11:28 ` paramucho
  4 siblings, 1 reply; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-01 21:16 UTC (permalink / raw)


In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:
 
> Is there any interest in extending any of the PDP-11 operating systems
> so that they are able to support dates at least until 3000?  While my
> personal interest lies with RT-11, I am curious if anyone has looked
> at the requirements for any of the other PDP-11 operating systems
> to determine what is required for Y3K date support?  In addition,
> are the resources (technical knowledge, files to make the required
> changes and hardware to support the development) available?

It is unlikely that either of us will be here in 2099, and every
day it is less and less likely that anyone will be doing any
computing after 2099, much less 3000.

Not that I am against worthless computing problems, but I
do wonder why.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-01 17:27     ` Johnny Billquist
@ 2011-05-02  0:53       ` Jerome H. Fine
  0 siblings, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-02  0:53 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 3329 bytes --]

 >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

[-- Attachment #2: Type: text/html, Size: 4071 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-01 21:16 ` glen herrmannsfeldt
@ 2011-05-02  0:54   ` Jerome H. Fine
  2011-05-02  4:07     ` Johnny Billquist
  2011-05-02  5:15     ` glen herrmannsfeldt
  0 siblings, 2 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-02  0:54 UTC (permalink / raw)


 >glen herrmannsfeldt wrote:

>>In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:
>
>>Is there any interest in extending any of the PDP-11 operating systems
>>so that they are able to support dates at least until 3000?  While my
>>personal interest lies with RT-11, I am curious if anyone has looked
>>at the requirements for any of the other PDP-11 operating systems
>>to determine what is required for Y3K date support?  In addition,
>>are the resources (technical knowledge, files to make the required
>>changes and hardware to support the development) available?
>>
>It is unlikely that either of us will be here in 2099, and every
>day it is less and less likely that anyone will be doing any
>computing after 2099, much less 3000.
>  
>
While I agree that doing anything useful with a 16 bit CPU,
especially within a 64 KB address space, seems unlikely
to take place, there certainly seems to be ample interest in
emulators that continue to extend the life of the operating
system.  I understand that a number of commercial RSTS/E
systems continue to run under the commercial version of the
Ersatz-11 emulator.  In addition, the totally free SIMH PDP-11
emulator will continue to be supported for many decades even
if Ersatz-11 (a 32 bit assembler program) will eventually not be
able to run unless John Wilson upgrades to the 64 bit code.

In addition, having working (able to execute the instruction set
even if the original hardware is no longer available) examples
may still be of interest in 90 years.  It seems doubtful if anyone
will have the interest after 2099 to modify the code, let alone
the knowledge base.  As for RSTS/E and RSX-11, some
programs will requite modification in less than 30 years, so
the work should be done now while the few people still
interested and capable are around.

>Not that I am against worthless computing problems, but I
>do wonder why.
>
The first reason is probably that the problem is fun to solve.

Some people solve crossword puzzles.  Other do sudoku
puzzles.  Still others calculate the number of primes in a series
of whole real numbers - I think that the range now is up to
10 ** 23, although I have not looked in over a year and it
may have advanced to 10 ** 24.  Perhaps we may get to
finding the result up to 10 ** 100 by the end of this century.

I happen to like RT-11.  Perhaps I will be happier if I manage
to make RT-11 Y3K compliant, perhaps not.  It does not look
as if anyone else is interested.

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-02  0:54   ` Jerome H. Fine
@ 2011-05-02  4:07     ` Johnny Billquist
  2011-05-02 13:37       ` Jerome H. Fine
  2011-05-02  5:15     ` glen herrmannsfeldt
  1 sibling, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-02  4:07 UTC (permalink / raw)


On 2011-05-01 17:54, Jerome H. Fine wrote:
>  >glen herrmannsfeldt wrote:
>
>>> In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:
>>
>>> Is there any interest in extending any of the PDP-11 operating systems
>>> so that they are able to support dates at least until 3000? While my
>>> personal interest lies with RT-11, I am curious if anyone has looked
>>> at the requirements for any of the other PDP-11 operating systems
>>> to determine what is required for Y3K date support? In addition,
>>> are the resources (technical knowledge, files to make the required
>>> changes and hardware to support the development) available?
>>>
>> It is unlikely that either of us will be here in 2099, and every
>> day it is less and less likely that anyone will be doing any
>> computing after 2099, much less 3000.
>>
>>
> While I agree that doing anything useful with a 16 bit CPU,
> especially within a 64 KB address space, seems unlikely
> to take place, there certainly seems to be ample interest in
> emulators that continue to extend the life of the operating
> system. I understand that a number of commercial RSTS/E
> systems continue to run under the commercial version of the
> Ersatz-11 emulator. In addition, the totally free SIMH PDP-11
> emulator will continue to be supported for many decades even
> if Ersatz-11 (a 32 bit assembler program) will eventually not be
> able to run unless John Wilson upgrades to the 64 bit code.

I bet RSX systems will still be around in 2099, even if they will be few.

> In addition, having working (able to execute the instruction set
> even if the original hardware is no longer available) examples
> may still be of interest in 90 years. It seems doubtful if anyone
> will have the interest after 2099 to modify the code, let alone
> the knowledge base. As for RSTS/E and RSX-11, some
> programs will requite modification in less than 30 years, so
> the work should be done now while the few people still
> interested and capable are around.

There is absolutely no need to modify RSX in 30 years. A few utilities 
and tools will give problems in about 30 years (or was it 50). But we're 
talking some DECnet and/or RMS stuff here. Neither of which is really 
important to keep any system running, and even more, their failure modes 
are pretty much harmless, and are actually not a problem or restriction 
of RSX, but of the DECnet protocol specifications.

RSX will not really start having actual weird behavior that might affect 
users before atleast 2099, and most likely not anything before 2155. The 
problems that happen after that are mostly pretty minor as well. So this 
whole thing is more or less a non-issue for RSX for now.
The first actual "bad" thing that will happen in RSX is the file system 
date limitations, which is quite some way off. Also, the queue manager 
date related options will eventually give problems, if you rely on that. 
But even for these, we're talking so far into the future that even our 
kids will not face it.

RT-11 is a different ballgame, but I do not use RT-11, and I feel it is 
totally meaningless to try and bundle RT-11, RSX and RSTS/E together on 
this issue. Their horizons and problems are so different that it is 
pointless to try and discuss them in the same thread.

So, Jerome, feel free to continue talking about your Y3K issues in 
RT-11, but leave RSX out of it. (And RSTS/E probably too...)

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-02  0:54   ` Jerome H. Fine
  2011-05-02  4:07     ` Johnny Billquist
@ 2011-05-02  5:15     ` glen herrmannsfeldt
  1 sibling, 0 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-02  5:15 UTC (permalink / raw)


In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:

(snip, I wrote)
>>It is unlikely that either of us will be here in 2099, and every
>>day it is less and less likely that anyone will be doing any
>>computing after 2099, much less 3000.

> While I agree that doing anything useful with a 16 bit CPU,
> especially within a 64 KB address space, seems unlikely
> to take place, there certainly seems to be ample interest in
> emulators that continue to extend the life of the operating
> system.  I understand that a number of commercial RSTS/E
> systems continue to run under the commercial version of the
> Ersatz-11 emulator.  In addition, the totally free SIMH PDP-11
> emulator will continue to be supported for many decades even
> if Ersatz-11 (a 32 bit assembler program) will eventually not be
> able to run unless John Wilson upgrades to the 64 bit code.

I don't see anything wrong with running a 16 but CPU as long
as anyone wants.  Though as far as I know, the CPU will run fine
even if the date is wrong.

Also, note that our current calendar has a 400 year period.
If you miss by 400 years, it will even get the right day of
the week.  (Though by that time they might change the number
of days in the week.)

Though as I understand it, some strange things happen when the
clock wraps.  Programs that determine whether a file is new
or not fail.
 
> In addition, having working (able to execute the instruction set
> even if the original hardware is no longer available) examples
> may still be of interest in 90 years.  It seems doubtful if anyone
> will have the interest after 2099 to modify the code, let alone
> the knowledge base.  As for RSTS/E and RSX-11, some
> programs will requite modification in less than 30 years, so
> the work should be done now while the few people still
> interested and capable are around.
 
>>Not that I am against worthless computing problems, but I
>>do wonder why.

> The first reason is probably that the problem is fun to solve.

OK, fine reason.  Though usually I am happy enough to work
with a system that otherwise works, but prints the wrong date.
 
> Some people solve crossword puzzles.  Other do sudoku
> puzzles.  Still others calculate the number of primes in a series
> of whole real numbers - I think that the range now is up to
> 10 ** 23, although I have not looked in over a year and it
> may have advanced to 10 ** 24.  Perhaps we may get to
> finding the result up to 10 ** 100 by the end of this century.
 
> I happen to like RT-11.  Perhaps I will be happier if I manage
> to make RT-11 Y3K compliant, perhaps not.  It does not look
> as if anyone else is interested.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-02  4:07     ` Johnny Billquist
@ 2011-05-02 13:37       ` Jerome H. Fine
  2011-05-02 15:39         ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-02 13:37 UTC (permalink / raw)


 >Johnny Billquist wrote:

> >On 2011-05-01 17:54, Jerome H. Fine wrote:
>
>> While I agree that doing anything useful with a 16 bit CPU,
>> especially within a 64 KB address space, seems unlikely
>> to take place, there certainly seems to be ample interest in
>> emulators that continue to extend the life of the operating
>> system. I understand that a number of commercial RSTS/E
>> systems continue to run under the commercial version of the
>> Ersatz-11 emulator. In addition, the totally free SIMH PDP-11
>> emulator will continue to be supported for many decades even
>> if Ersatz-11 (a 32 bit assembler program) will eventually not be
>> able to run unless John Wilson upgrades to the 64 bit code.
>
> I bet RSX systems will still be around in 2099, even if they will be few.

Which is why I am suggesting that any date related problems
be fixed now while individuals like yourself (who are VERY
rare and know enough to fix the date code) are still active.

>> In addition, having working (able to execute the instruction set
>> even if the original hardware is no longer available) examples
>> may still be of interest in 90 years. It seems doubtful if anyone
>> will have the interest after 2099 to modify the code, let alone
>> the knowledge base. As for RSTS/E and RSX-11, some
>> programs will requite modification in less than 30 years, so
>> the work should be done now while the few people still
>> interested and capable are around.
>
> There is absolutely no need to modify RSX in 30 years. A few utilities 
> and tools will give problems in about 30 years (or was it 50). But 
> we're talking some DECnet and/or RMS stuff here. Neither of which is 
> really important to keep any system running, and even more, their 
> failure modes are pretty much harmless, and are actually not a problem 
> or restriction of RSX, but of the DECnet protocol specifications.
>
> RSX will not really start having actual weird behavior that might 
> affect users before atleast 2099, and most likely not anything before 
> 2155. The problems that happen after that are mostly pretty minor as 
> well. So this whole thing is more or less a non-issue for RSX for now.
> The first actual "bad" thing that will happen in RSX is the file 
> system date limitations, which is quite some way off. Also, the queue 
> manager date related options will eventually give problems, if you 
> rely on that. But even for these, we're talking so far into the future 
> that even our kids will not face it.

Since I don't have any detailed documentation on RSX-11
or RSTS/E, I apologize for the incorrect dates.  The bottom
line is that if problems will occur, why not fix them now while
you can.  It might be necessary to hold off with releasing the
corrections for a while, but eventually I hope that all PDP-11
code will be available to at least all hobby users.

> RT-11 is a different ballgame, but I do not use RT-11, and I feel it 
> is totally meaningless to try and bundle RT-11, RSX and RSTS/E 
> together on this issue. Their horizons and problems are so different 
> that it is pointless to try and discuss them in the same thread.

Well, then I presume that I should start a new thread.

However, while I don't have the ability to test under an
RSX-11 system, I seem to remember that there are
a few utilities which are able to pass files back and
forth.  I presume that these programs understand both
the RSX-11 and RT-11 file systems.  Likewise for
RSTS/E and RT-11.  These programs are the real
and legitimate target of this thread and should be
modified.  Johnny, can you confirm that RSX-11
has such programs that pass RT-11 files back and
forth between RSX-11 and RT-11?  Do you know
if these programs have been modified to handle RT-11
dates up to 2099?  If you respond, I will do likewise
on the RT-11 side of the fence.

> So, Jerome, feel free to continue talking about your Y3K issues in 
> RT-11, but leave RSX out of it. (And RSTS/E probably too...)

I understand.  Except for the file exchange programs, I
will attempt to avoid Y3K issues in RSX-11 and RSTS/E.
In case you don't read the rest, how accurately does
RSX-11 keep File Creation, Modification and Access
times?  Nearest Second?  Nearest Tick?  The file exchange
programs between RSX-11 and RT-11 could be improved
if the file times were available.

Thus far, no one seems to be technically capable of making
any comments on extending RT-11 past 2099 CE, or at least
no one who is actually willing to say so on Usenet.  I have
not had any private e-mails either, so the few individuals
who are technically aware of the RT-11 situation don't
wish to become involved at this point or have other reasons
which they feel prevent them from engaging in this discussion.

Certainly, comments and suggestions as to how to handle the
extra bits (required for the year in the entry for each file in
RT-11 file structured devices) would be welcome.  Does anyone
who is interested require the details of the file entry data
for each file?  There are a minimum of seven words with
3 words (in Rad50) required for the name and file type.
Currently, the file size (in blocks), file creation date and
file status (a word of 16 bits with only 8 bits used) leave
only one word available after the file is made permanent.
TSX-Plus uses this word for the file creation time.  RT-11
already has code to handle additional words in each file
entry and additional words could be defined.  The USR
(User Service Routines) in RT-11 can easily be modified
to handle any additional date and time information.  I did
that with one installation about 30 years ago which also
ran MUBASC (Multi-User Basic) to allow the system
to keep track of files which were not being accessed.

I would propose adding:
File Creation Time
File Modification Date and Time
File Access Date and Time
Other essential file Information?
How accurately do RSX-11 and RSTS/E keep the
above file times?  If there are to be changes to the file
sharing programs between RSX-11 and RT-11, then
the level of accuracy for the above file times would be
helpful information.  If RSX-11 and RSTS/E keep the
times to the level of ticks, then more than 16 bits are
needed.  Even to the nearest second requires more than
16 bits - although seconds/2 obviously only needs 16 bits.

Also, I understand that RSTS/E also has information
on if a file is executable.  Would that be useful for sharing
between RT-11 and RSTS/E?

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-02 13:37       ` Jerome H. Fine
@ 2011-05-02 15:39         ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-02 15:39 UTC (permalink / raw)


On 2011-05-02 06:37, Jerome H. Fine wrote:
>  >Johnny Billquist wrote:
>
>> >On 2011-05-01 17:54, Jerome H. Fine wrote:
>>> In addition, having working (able to execute the instruction set
>>> even if the original hardware is no longer available) examples
>>> may still be of interest in 90 years. It seems doubtful if anyone
>>> will have the interest after 2099 to modify the code, let alone
>>> the knowledge base. As for RSTS/E and RSX-11, some
>>> programs will requite modification in less than 30 years, so
>>> the work should be done now while the few people still
>>> interested and capable are around.
>>
>> There is absolutely no need to modify RSX in 30 years. A few utilities
>> and tools will give problems in about 30 years (or was it 50). But
>> we're talking some DECnet and/or RMS stuff here. Neither of which is
>> really important to keep any system running, and even more, their
>> failure modes are pretty much harmless, and are actually not a problem
>> or restriction of RSX, but of the DECnet protocol specifications.
>>
>> RSX will not really start having actual weird behavior that might
>> affect users before atleast 2099, and most likely not anything before
>> 2155. The problems that happen after that are mostly pretty minor as
>> well. So this whole thing is more or less a non-issue for RSX for now.
>> The first actual "bad" thing that will happen in RSX is the file
>> system date limitations, which is quite some way off. Also, the queue
>> manager date related options will eventually give problems, if you
>> rely on that. But even for these, we're talking so far into the future
>> that even our kids will not face it.
>
> Since I don't have any detailed documentation on RSX-11
> or RSTS/E, I apologize for the incorrect dates. The bottom
> line is that if problems will occur, why not fix them now while
> you can. It might be necessary to hold off with releasing the
> corrections for a while, but eventually I hope that all PDP-11
> code will be available to at least all hobby users.

Having all source code for all software would be a nice thing, yes. But 
that is also a different issue. :-)

>> RT-11 is a different ballgame, but I do not use RT-11, and I feel it
>> is totally meaningless to try and bundle RT-11, RSX and RSTS/E
>> together on this issue. Their horizons and problems are so different
>> that it is pointless to try and discuss them in the same thread.
>
> Well, then I presume that I should start a new thread.
>
> However, while I don't have the ability to test under an
> RSX-11 system, I seem to remember that there are
> a few utilities which are able to pass files back and
> forth. I presume that these programs understand both
> the RSX-11 and RT-11 file systems. Likewise for
> RSTS/E and RT-11. These programs are the real
> and legitimate target of this thread and should be
> modified. Johnny, can you confirm that RSX-11
> has such programs that pass RT-11 files back and
> forth between RSX-11 and RT-11? Do you know
> if these programs have been modified to handle RT-11
> dates up to 2099? If you respond, I will do likewise
> on the RT-11 side of the fence.

Yes. The program to read RT-11 formatted volumes under RSX is called FLX 
(File exchange), and it will handle dates up to 2099.
FLX also understands DOS-11 formatted tapes, and the date limit there is 
2035.

DECnet DAP protocol have a two digit year specification, and will fail 
in 2069. That is a limit of DAP and will affect *all* DECnet nodes, 
running any OS. The effect is rather limited, though. It will just mean 
that files read over DECnet will indicate the wrong dates for files. 
Nothing really bad will happen because of that.

>> So, Jerome, feel free to continue talking about your Y3K issues in
>> RT-11, but leave RSX out of it. (And RSTS/E probably too...)
>
> I understand. Except for the file exchange programs, I
> will attempt to avoid Y3K issues in RSX-11 and RSTS/E.
> In case you don't read the rest, how accurately does
> RSX-11 keep File Creation, Modification and Access
> times? Nearest Second? Nearest Tick? The file exchange
> programs between RSX-11 and RT-11 could be improved
> if the file times were available.

RSX keeps creation and modification time stamps down to a second.
There is no access time stamp.

In case you switch to using ODS-2 on RSX instead of ODS-1 (the code is 
more or less already there), you instead get timestamps to the accuracy 
of 100ns (if I remember ODS-2 right). Using ODS-2 will also remove the 
2099 date limit that the ODS-1 file system have.

> Also, I understand that RSTS/E also has information
> on if a file is executable. Would that be useful for sharing
> between RT-11 and RSTS/E?

RSTS/E have a file protection. This is a 8-bit field. It encodes both 
access rights, file executable status, and file privilege status.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
                   ` (2 preceding siblings ...)
  2011-05-01 21:16 ` glen herrmannsfeldt
@ 2011-05-03  1:20 ` jjh
  2011-05-03 13:18   ` Bob Koehler
  2011-05-03 16:38   ` Jerome H. Fine
  2011-05-03 11:28 ` paramucho
  4 siblings, 2 replies; 146+ messages in thread
From: jjh @ 2011-05-03  1:20 UTC (permalink / raw)


On Apr 4, 9:12 am, "Jerome H. Fine" <every...@nospam.com> wrote:
> Is there any interest in extending any of the PDP-11 operating systems
> so that they are able to support dates at least until 3000?  While my
> personal interest lies with RT-11, I am curious if anyone has looked
> at the requirements for any of the other PDP-11 operating systems
> to determine what is required for Y3K date support?  In addition,
> are the resources (technical knowledge, files to make the required
> changes and hardware to support the development) available?
>
> For RT-11, the resources are available and I suggest a review of
> the required software changes by anyone who has the technical
> background to evaluate any proposals for Y3K implementation.
>
> If other individuals who are interested in RSX-11, RSTS/E and
> TSX-Plus are motivated to support Y3K implementation for
> these OSs, I would be interested in providing support for
> any solutions required to exchange dates between all PDP-11
> operating systems.
>
> I am not sure if there is any commercial impact to producing
> Y3K code for PDP-11 OSs.  However, it is  possible that
> any current commercial use MIGHT be more likely if Y3K
> support is available.  On the other hand, it is almost certain
> that any Y3K projects for all PDP-11 OSs must be done
> without any commercial support at this time.  Consequently,
> as with all DECUS contributions, any actual code changes
> would become available to everyone.  If this enhances the
> commercial value of the PDP-11 OSs, then it should be a
> positive development.
>
> Responses and suggestions are appreciated.
>
> If, as I have noted in the past there is no response, then at
> some point when it seems worthwhile, I shall at least present
> the technical details of what is required to implement Y3K for
> RT-11.  There may also be details of other enhancements along
> with RT-11 bug fixes.  If anyone has a wish list for RT-11 or
> knows of any RT-11 bugs which need fixing, I would very much
> appreciate the help.
>
> Jerome Fine

Hi Jerome:

To make sure I understand, y3K = 3000, it is 2011 now...um that is 989
years from now...or roughly  12.5 lifetimes....I seriously don't think
that anyone in the year 3000 will want to know anything about DEC hw
or sw.
I can't even begin to imagine any commercial organization running RT11
in the year 3000....(hmmmm Nomad?)

Computing technology will have probably undergone 4 or 5 radical
technology changes.  I am almost sure no one will want to learn
RT-11.  What for?  I don't want to learn IBM 1130 assembler or PDP1
assembler for that matter. (and it has only been 40 years...)
Then again, it would be interesting to see what happens if the borg
assimilates a PDP11 running RT11...

This does bring up an interesting issue...I have several near pristine
DEC systems and I wonder who will want them in 25-30 years?
I doubt any museums will be around that will showcase the stuff.
I've tried to get a number of engineering students over the last 10
years to 'play' with them, and the general reaction is 'that junk? -
what can I do with it...lol'

In summary, I have no interest in spending time in this area.
I have other types of crossword puzzles to keep me busy....

-John



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
                   ` (3 preceding siblings ...)
  2011-05-03  1:20 ` jjh
@ 2011-05-03 11:28 ` paramucho
  2011-05-03 16:09   ` Jerome H. Fine
  2011-05-23  3:41   ` billy
  4 siblings, 2 replies; 146+ messages in thread
From: paramucho @ 2011-05-03 11:28 UTC (permalink / raw)


On Mon, 04 Apr 2011 09:12:48 -0400, "Jerome H. Fine"
<everyone@nospam.com> wrote:

>Is there any interest in extending any of the PDP-11 operating systems
>so that they are able to support dates at least until 3000?  While my
>personal interest lies with RT-11, I am curious if anyone has looked
>at the requirements for any of the other PDP-11 operating systems
>to determine what is required for Y3K date support?  In addition,
>are the resources (technical knowledge, files to make the required
>changes and hardware to support the development) available?

My notes here refer to RT-11-based systems only. RSX and RSTS present
different sets of issues. 

The original RT-11 date field was Y2K-expanded from 5-bits to 7-bits
extending the original 1972-2004 field to 1972-2099. These operating
system extensions are available in RT-11 V5.7, RUST/SJ and via user
modifications. RUST/XM also has the extensions but has not been
released. I am not sure whether TSX/plus had a Y2K update. 

RUST and TSX do not include many of the significant RT-11 applications
such as MACRO and LINK. Patches for some of these utilities have been
made available separately. Without the patches the only problem is
usually garbeled dates in listings.  There was at least one
operational issue, but it was easily resolved.

TSX and RUST systems also (compatibly) implement a time-of-day field
in RT-11 directories. The time-of-day, in seconds, is divided by three
to fit into a 16-bit word, along with a flag bit.

RT-11 V5.4 and RT-11 V5.5 were the last two really successful releases
of the mother system. V5.6 had very little take-up IIRC, indeed, I
seem to remember the RT-11 team being disappointed at the time. V5.7
was the MENTEC Y2K maintenance release--I doubt that it is very
widespread. Thus, my guess is that most systems running DEC RT-11
today probably have incorrect date information being displayed. 

With MENTEC gone the original version of RT-11 has been orphaned. If
RT-11 is ever placed in the public domain then I think we will
probably see binary kits and documentation become freely available,
and perhaps even sources. At present that is unknowable to this
writer. But, in any case, we are clearly not going to see the date
issue resolved in a future release of RT-11.

I suppose it is conceivable that RT-11 might still be in real use in
2099 at a handful of sites, however, if that is the case then they
will almost certainly be turn-key systems running a dedicated
application and will not be affected by a nonsense date (and, indeed,
probably already have nonsense dates today). Thus, I don't think there
is much need to worry about real-world RT-11 use in ninety years time.

There is, however, another reason to keep RT-11 systems ticking along
and that's because of the role played by DEC operating systems in the
history of computing. The argument that people who know the system in
some detail are best placed to do the maintenance work is valid.

So, assume we want to run RT-11 post-2099. Two solutions suggest
themselves. 

The first solution is to extend the RT-11 date field. This would have
typically been implemented by adding an extra word to the date field,
extending the date by 2^16 years. The system API would have been
extended to handle the getting and setting of the extended date. An
additional word would have been added to RT-11 directory entries,
perhaps flagged in the directory status word that was added in V5.6 (I
think). All the utilities would have been updated. Users would have
been responsible for their own applications.

Now, let's assume that we do all this (even if it is at this more or
less impossible). Would that actually help the "real use" folk? I
think not. First, most of them would never find out that an updated
version were available. Second, many of them would no longer be able
to modify there own applications.

There would be a significant amount of work to do in implementing the
date extension, but there are two more serious problems. The first is
that the code would probably never be properly tested by an audience
of a reasonable size. The second is that even if the project were
completed there is no way to establish the date extension as a
"standard" in some sense. It would remain essentially private code.
   
The second solution is to recognise the need to provide managed
environments for historical systems such as RT-11. This is easy in
emulators where it is just a matter of faking the date information
passed to an operating system (if the emulator supplies that
functionality). 

Even if the idea of extending the RT-11 date seems attractive (and I
looked at idea in detail when doing the Y2K stuff to the RUST
systems), in practical terms it would probably be a wasted effort.
Thinking about how emulators might be better able to preserve and
extend the lives of historical operating systems by providing managed
environments would be more productive IMO.



Ian


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03  1:20 ` jjh
@ 2011-05-03 13:18   ` Bob Koehler
  2011-05-03 16:51     ` Jerome H. Fine
  2011-05-03 16:38   ` Jerome H. Fine
  1 sibling, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-03 13:18 UTC (permalink / raw)


In article <bdd4fd3d-bb52-43fb-ad9c-746b901f4d13@gu8g2000vbb.googlegroups.com>, jjh <jjhudak@gmail.com> writes:
> 
> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
> years from now...or roughly  12.5 lifetimes....I seriously don't think
> that anyone in the year 3000 will want to know anything about DEC hw
> or sw.

   You obviously have not read the historical documents.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 11:28 ` paramucho
@ 2011-05-03 16:09   ` Jerome H. Fine
  2011-05-23  3:41   ` billy
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-03 16:09 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 13145 bytes --]

If anyone else (other than Ian) has anything to suggest
or opinions on Y3K, their suggestions and comments
will be greatly appreciated - even if they are negative
comments as some of Ian's are concerning Y3K, in
particular for RT-11.

One minor point with version numbers for RT-11.
Officially, the version number is V05.07 for RT-11.
However, many individuals use V5.7 and both are
acceptable and mean the identical release.

TSX-Plus uses V6.50 for the version number
and both digits are required.   The next minor
release would be V6.51 of TSX-Plus.

When Y3K is added, I suggest that V05.08 be
used for RT-11 and V6.60 for TSX-Plus.

 >Ian Hammond (paramucho) wrote:

>>On Mon, 04 Apr 2011 09:12:48 -0400, "Jerome H. Fine" wrote:
>
>>Is there any interest in extending any of the PDP-11 operating systems
>>so that they are able to support dates at least until 3000?  While my
>>personal interest lies with RT-11, I am curious if anyone has looked
>>at the requirements for any of the other PDP-11 operating systems
>>to determine what is required for Y3K date support?  In addition,
>>are the resources (technical knowledge, files to make the required
>>changes and hardware to support the development) available?
>>
>My notes here refer to RT-11-based systems only. RSX and RSTS present
>different sets of issues.
>  
>
Actually, other than the fact that the dates (when various
portions of the code which handles the date) breaks, I
suggest that the issues are essentially the same.  At some
future year, (2100 for V05.07 of RT-11), the date will
not be handled correctly.

>The original RT-11 date field was Y2K-expanded from 5-bits to 7-bits
>extending the original 1972-2004 field to 1972-2099. These operating
>system extensions are available in RT-11 V5.7, RUST/SJ and via user
>modifications. RUST/XM also has the extensions but has not been
>released. I am not sure whether TSX/plus had a Y2K update.
>
V6.50 of TSX-Plus also supports the date until 2099.
The only change to the date code was in the Resident
Monitor (well also in the KMON equivalent which
displays and sets the date) for the rollover from year
to year.  The EMT requests, .DATE and .SDTTM
were essentially unchanged.  The rest of the TSX-Plus
code uses the standard DEC utilities.  If Y3K support
is produced for RT-11, then it will be a small additional
effort to add Y3K support for TSX-Plus.

>RUST and TSX do not include many of the significant RT-11 applications
>such as MACRO and LINK. Patches for some of these utilities have been
>made available separately. Without the patches the only problem is
>usually garbeled dates in listings.  There was at least one
>operational issue, but it was easily resolved.
>  
>
Most RT-11 users are not aware, but the V05.06
release of MACRO.SAV in V05.06 of RT-11
in 1992 was already Y2K compliant.  However,
since only the last two digits of the year were
displayed for the date, it was not apparent until
January 1st, 2000 that was the case.  The file
MACRO.SAV released with V05.07 of RT-11
is identical to the MACRO.SAV released with
V05.06 of RT-11, as are many of the other SAV
files which did not have any date dependencies.

For most users of MACRO.SAV, the primary
bug (no support for running as a system job when
a cross-reference table is requested) is not a problem.
However, prior to V05.06 of RT-11, when a
cross-reference table was requested or some
of the device drivers were not loaded, running
MACRO.SAV as a virtual job (using VBGEXE
to initiate MACRO.SAV) was not always successful.
These problems have been fixed, but the documentation
is not complete.

>TSX and RUST systems also (compatibly) implement a time-of-day field
>in RT-11 directories. The time-of-day, in seconds, is divided by three
>to fit into a 16-bit word, along with a flag bit.
>  
>
What is the flag bit used for?

>RT-11 V5.4 and RT-11 V5.5 were the last two really successful releases
>of the mother system. V5.6 had very little take-up IIRC, indeed, I
>seem to remember the RT-11 team being disappointed at the time. V5.7
>was the MENTEC Y2K maintenance release--I doubt that it is very
>widespread. Thus, my guess is that most systems running DEC RT-11
>today probably have incorrect date information being displayed.
>  
>
Actually, V05.06 was a significant improvement over V05.05 of
RT-11, but I doubt that many programs use split I/D virtual space.
The use of virtual jobs is must more transparent and the problem
of running MACRO.SAV / CREF.SAV as virtual jobs when device
drivers need to be loaded has also been solved.  Users of previous
releases of RT-11 still have those problems and the code in the
versions of MACRO.SAV from prior releases of RT-11 has been
fixed as well, just not released until the documentation is complete.

>With MENTEC gone the original version of RT-11 has been orphaned. If
>RT-11 is ever placed in the public domain then I think we will
>probably see binary kits and documentation become freely available,
>and perhaps even sources. At present that is unknowable to this
>writer. But, in any case, we are clearly not going to see the date
>issue resolved in a future release of RT-11.
>  
>
I assume then that you have decided to avoid adding Y3K code
to RT-11.  That might not be the case with everyone else, especially
since the individual writing this response has the clear intention to
add Y3K code to RT-11.  In fact, the intention of starting this
thread is to request comment from interested parties.

>I suppose it is conceivable that RT-11 might still be in real use in
>2099 at a handful of sites, however, if that is the case then they
>will almost certainly be turn-key systems running a dedicated
>application and will not be affected by a nonsense date (and, indeed,
>probably already have nonsense dates today). Thus, I don't think there
>is much need to worry about real-world RT-11 use in ninety years time.
>  
>
I agree.  From the real DEC PDP-11 side of the fence, it seems
obvious that there will be almost no real DEC PDP-11 hardware
still in operation.  It also seems doubtful  that Ersatz-11 will still
be supported in 89 years, certainly not by John Wilson.  And I
will not be here to support RT-11 after 2099.  However, SIMH
is written in "C" and will probably still be running.  There just might
be a few commercial sites which still want to run RT-11 and find
that SIMH is a reasonable solution.

For hobby users, the situation is somewhat different.

Academic investigation of 16 bit CPUs may also maintain some
interest in RT-11.

It is possible that DEC was the primary cause of the PDP-11
falling by the wayside as VMS took over most of the resources
at DEC.  A much faster version of the PDP-11 CPU was produced
by QED, but probably never sold enough to become popular.  Plus,
with DEC no longer a functioning company, there was no longer any
commercial focus to support the PDP-11 operating systems and make
any enhancements, let along bug fixes.

>There is, however, another reason to keep RT-11 systems ticking along
>and that's because of the role played by DEC operating systems in the
>history of computing. The argument that people who know the system in
>some detail are best placed to do the maintenance work is valid.
>  
>
Well, we do agree on this point!!!!!!!!!!!!!!!!!!!!!!!!!!!!

>So, assume we want to run RT-11 post-2099. Two solutions suggest
>themselves. 
>
>The first solution is to extend the RT-11 date field. This would have
>typically been implemented by adding an extra word to the date field,
>extending the date by 2^16 years. The system API would have been
>extended to handle the getting and setting of the extended date. An
>additional word would have been added to RT-11 directory entries,
>perhaps flagged in the directory status word that was added in V5.6 (I
>think). All the utilities would have been updated. Users would have
>been responsible for their own applications.
>  
>
The directory status word has been present in the very first
version of RT-11.  If you refer to a word in block 1 of a
file structured device, it was just unused.  If you refer to
the file entry in the directory segments, then that word
has been in use starting with the very first version of RT-11.
The minimum number of words in each file entry is SEVEN,
with 3 words (in Rad50 used for file name and type), the
length of the file in blocks, the file creation date and that
first word as status information about the file.  The seventh
word is used by RT-11 and TSX-Plus when a file is tentative
in one manner - TSX-Plus uses the word as the creation time
when the file is permanent.  RT-11 ignores the word when the
file is permanent.

Since the 16 bit word which specifies the date is now fully
utilized, you are correct that additional bits will be required.
I agree with your proposal that an additional word be used
for the Creation Date AND that the status word for the file
entry be flagged to reflect that additional information.  Actually
you would have flagged the entire directory, but I suggest
that it be done on a file by file basis so that old software
prior to 2100 is still able to function.

Obviously, users with programs which handle the date
would be required to change those programs.  That has
always been the way.  However, I also propose that
all of the new software be compatible with the old
software so that any old programs can use dates in
the same manner after 2099, they just will not notice
that the date is 2100 rather than 1972, etc.

>Now, let's assume that we do all this (even if it is at this more or
>less impossible). Would that actually help the "real use" folk? I
>think not. First, most of them would never find out that an updated
>version were available. Second, many of them would no longer be able
>to modify there own applications.
>  
>
We start to disagree at this point.  I believe that your points
are reasonable, just that they are not as valid as you believe.

>There would be a significant amount of work to do in implementing the
>date extension, but there are two more serious problems. The first is
>that the code would probably never be properly tested by an audience
>of a reasonable size. The second is that even if the project were
>completed there is no way to establish the date extension as a
>"standard" in some sense. It would remain essentially private code.
>  
>
Actually, if only one person writes the code for the date extension,
that will automatically become the standard.  I agree that getting
the word out will take a while, but over the next 89 years, it should
be possible to provide that information for interested parties.  The
only real difficulty is that any code which is developed in the next
20 years will not be commercially useful since companies refuse to
pay for a solution to a problem which is still more than 50 years
in the future.  So the code will have to be done for hobby users.
As for testing, there is not much to really test.  All of the code is
for the CPU and the locations for the code are the same as was
done for V05.07 of RT-11 when the Y2K bugs were fixed.  In
addition, the CE (Commercial Events, Common Era, Christian
Era or Gregorian - choose based on your religious preference)
Calendar has a 400 year cycle.  There are 146097 days or exactly
20871 weeks of 7 days each.  Dividing the year by 400 and using
the remainder along with the month and day number produces the
day of the week for all 400 year cycles.  The code can easily be
run 146097 times to test for each result.

And the code would not remain private if V05.08 is released to
all users.  In fact, it would then become to standard.

>The second solution is to recognise the need to provide managed
>environments for historical systems such as RT-11. This is easy in
>emulators where it is just a matter of faking the date information
>passed to an operating system (if the emulator supplies that
>functionality).
>  
>
A reasonable second solution which many RT-11 sites adopted
rather than purchase V05.07 of RT-11.  28 years is sufficient to
handle all dates until 2099.  Since 2100 is NOT a leap year, that
solution breaks down a bit.

>Even if the idea of extending the RT-11 date seems attractive (and I
>looked at idea in detail when doing the Y2K stuff to the RUST
>systems), in practical terms it would probably be a wasted effort.
>Thinking about how emulators might be better able to preserve and
>extend the lives of historical operating systems by providing managed
>environments would be more productive IMO.
>
You may be correct and probably are.  However, I find
I have more fun working with RT-11 code.  Even if no
one else provides any support, I may be able to complete
enough of the Y3K for RT-11 that it becomes the standard.

If anyone has any suggestions, they will be appreciated.

Ian, if you think it would be worth while to add the same Y3K
code to RUST so that the standard is compatible, please add
your input and suggestions.  The design is certainly far from
frozen.  Although I have added Y3K code to MACRO.SAV,
I realize that the form of output from the .GETD (Get Extended
Time and Date) EMT request could change.

Jerome Fine

[-- Attachment #2: Type: text/html, Size: 15614 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03  1:20 ` jjh
  2011-05-03 13:18   ` Bob Koehler
@ 2011-05-03 16:38   ` Jerome H. Fine
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-03 16:38 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]

 >jjh wrote:

>To make sure I understand, y3K = 3000, it is 2011 now...um that is 989
>years from now...or roughly  12.5 lifetimes....I seriously don't think
>that anyone in the year 3000 will want to know anything about DEC hw
>or sw.
>I can't even begin to imagine any commercial organization running RT11
>in the year 3000....(hmmmm Nomad?)
>  
>
I can't imagine any commercial organization running RT-11 in the year 
3000!!!!!!!!!

However, with SIMH written in "C" and therefore portable, the PDP-11
emulator could survive that long.

On the other hand, RT-11 currently has an absolute limit of December 
31st, 2099.
The 16 bit word is able to hold all dates starting from January 1st, 
1972.  There seems
little use to writing all the code that would extend the years by 128 or 
up to 2227
and devote exactly one additional bit in some other word to do so when 
an additional
10% more effort using a whole additional byte or word will extend the 
date to an
almost unlimited future, certainly beyond 3000.

The original RT-11 date definition used only 14 bits of the 16 bit date 
word and
covered just 28 years.  Using the extra 2 bits added another 100 years 
until 2099.
It would have taken about 25% more effort to have added Y3K compliance at
the same time, but that would have required extra thought around 1998 and
time was getting very short.

>Computing technology will have probably undergone 4 or 5 radical
>technology changes.  I am almost sure no one will want to learn
>RT-11.  What for?  I don't want to learn IBM 1130 assembler or PDP1
>assembler for that matter. (and it has only been 40 years...)
>Then again, it would be interesting to see what happens if the borg
>assimilates a PDP11 running RT11...
>  
>
I agree as well. If that is the case, then if anyone is interested
in RT-11 just to try it out, it would be nice to be Y3K compliant
since it is extremely unlikely anyone would bother after 2099.

>This does bring up an interesting issue...I have several near pristine
>DEC systems and I wonder who will want them in 25-30 years?
>I doubt any museums will be around that will showcase the stuff.
>I've tried to get a number of engineering students over the last 10
>years to 'play' with them, and the general reaction is 'that junk? -
>what can I do with it...lol'
>  
>
The mouse seems to be an essential method of interfacing
these days.  However, I suspect that within another 30 years,
voice interaction will become the standard interface.  As
Kirk's chief engineer remarked during one episode when
he had to use a keyboard (the computers available during
the original Startrek series did not have mice), "back to
basics" or something like that.

I still use a DOS box and the keyboard when I am writing and
testing the code for a DLL to interface with Ersatz-11 when I
need something special for RT-11..  Is there any other way?

>In summary, I have no interest in spending time in this area.
>I have other types of crossword puzzles to keep me busy....
>
I found it is more fun the write code for RT-11.

Jerome Fine


[-- Attachment #2: Type: text/html, Size: 4051 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 13:18   ` Bob Koehler
@ 2011-05-03 16:51     ` Jerome H. Fine
  2011-05-03 17:50       ` VAXTREK Bob Koehler
       [not found]       ` <j0Y9tTme9SEK@eisner.encompasserve.org>
  0 siblings, 2 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-03 16:51 UTC (permalink / raw)


 >Bob Koehler wrote:

>>In article <bdd4fd3d-bb52-43fb-ad9c-746b901f4d13@gu8g2000vbb.googlegroups.com>, jjh <jjhudak@gmail.com> writes:
>  
>
>>To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>years from now...or roughly  12.5 lifetimes....I seriously don't think
>>that anyone in the year 3000 will want to know anything about DEC hw
>>or sw.
>>
>You obviously have not read the historical documents.
>  
>
I am curious, I have not read the historical documents.
Can you please post a link?

As for Y3K for RT-11, since the date is presently managed
up to 2099 as of V05.07 of RT-11, dates starting in 2100
become the next problem.  And since adding support only
for an additional 128 years seems like a complete waste of
time, then 3000 CE was chosen as the next minimum step.
In practice, at least an additional 4000 years would probably
be added, more than enough to handle dates until the rules
for the CE (Commercial Events, Common Era, Christian Era
or Gregorian - all are identical and have a 400 year cycle)
Calendar requires a rule change to handle years which are
less than the current 365.2418 days.

So Y3K is really just Y2.1K if that makes a difference.

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* VAXTREK
  2011-05-03 16:51     ` Jerome H. Fine
@ 2011-05-03 17:50       ` Bob Koehler
       [not found]       ` <j0Y9tTme9SEK@eisner.encompasserve.org>
  1 sibling, 0 replies; 146+ messages in thread
From: Bob Koehler @ 2011-05-03 17:50 UTC (permalink / raw)


In article <4dc032d4$0$313$14726298@news.sunsite.dk>, "Jerome H. Fine" <everyone@nospam.com> writes:

> I am curious, I have not read the historical documents.
> Can you please post a link?

   Oh, I wish I had a link.  Let me look around.

   Oooh, cool, found one at (URL wraps)

http://www.anvari.org/shortjoke/VaxTrek/2_hi-folks-the-following-is-a-little-humour-written-by-tom-wade-of-eurokom-and-eoin-meehan-of-printech-international-plc.html

   you can use http://tinyurl.com/62kpfj3

   Or, just use you favorite search engine and enter the keyword
   "VAXTREK".



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
       [not found]       ` <j0Y9tTme9SEK@eisner.encompasserve.org>
@ 2011-05-03 18:39         ` Henry Crun
  2011-05-03 19:56           ` Jerome H. Fine
  2011-05-03 22:52           ` onedbguru
  0 siblings, 2 replies; 146+ messages in thread
From: Henry Crun @ 2011-05-03 18:39 UTC (permalink / raw)


On 03/05/11 20:51, Bob Koehler wrote:
>   >Bob Koehler wrote:
>
>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4d13@gu8g2000vbb.googlegroups.com>, jjh<jjhudak@gmail.com>  writes:
>>
>>
>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>> that anyone in the year 3000 will want to know anything about DEC hw
>>> or sw.
>>>
>> You obviously have not read the historical documents.
>>
>>
> I am curious, I have not read the historical documents.
> Can you please post a link?
>
> As for Y3K for RT-11, since the date is presently managed
> up to 2099 as of V05.07 of RT-11, dates starting in 2100
> become the next problem.  And since adding support only
> for an additional 128 years seems like a complete waste of
> time, then 3000 CE was chosen as the next minimum step.
> In practice, at least an additional 4000 years would probably
> be added, more than enough to handle dates until the rules
> for the CE (Commercial Events, Common Era, Christian Era
> or Gregorian - all are identical and have a 400 year cycle)
> Calendar requires a rule change to handle years which are
> less than the current 365.2418 days.
>
> So Y3K is really just Y2.1K if that makes a difference.
>
> Jerome Fine

IIRC there was an article by someone from DEC who promised that RSTS would be 
patched to accept five-digit years before the year 9999. However I doubt that 
current versions would be supported until then...

-- 
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/php/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 18:39         ` Y3K for PDP-11 Operating Systems Henry Crun
@ 2011-05-03 19:56           ` Jerome H. Fine
  2011-05-03 22:52           ` onedbguru
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-03 19:56 UTC (permalink / raw)


 >Henry Crun wrote:

>> As for Y3K for RT-11, since the date is presently managed
>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>> become the next problem.  And since adding support only
>> for an additional 128 years seems like a complete waste of
>> time, then 3000 CE was chosen as the next minimum step.
>> In practice, at least an additional 4000 years would probably
>> be added, more than enough to handle dates until the rules
>> for the CE (Commercial Events, Common Era, Christian Era
>> or Gregorian - all are identical and have a 400 year cycle)
>> Calendar requires a rule change to handle years which are
>> less than the current 365.2418 days.
>>
>> So Y3K is really just Y2.1K if that makes a difference.
>
>
> IIRC there was an article by someone from DEC who promised that RSTS 
> would be patched to accept five-digit years before the year 9999. 
> However I doubt that current versions would be supported until then.

If I remember the code correctly, most of the subroutines
which are used to display the year already handle as many
digits as are required to report the year.

However, as I just mentioned, the length of the Tropical Year
is slowly decreasing.  It is estimated that in around 4000 years
(somewhere around 6000 CE), the current rules (for the
Gregorian Calendar which are quite adequate to keep the
CE calendar synchronized with the seasons and keep the
Vernal Equinox close to March 21) will no longer apply.

The number of days in a Tropical Year will gradually decline
to less than 365.24 at some point and it will become necessary
to drop another leap year during every 400 years.  One possible
choice is the current retention of the century leap year for
years that are divisible by 400 (which is currently still a leap
year, i.e. 2000 and 2400 are leap years).  Naturally, the
changes will occur slowly if nothing else changes the situation -
which is probably idealistic - something always seems to
occur which changes much more than is expected.

In fact, if the current (probably somewhat inaccurate) estimates
are correct, 4000 CE should not be a leap year.  The next
scheduled leap year to be dropped might be 6000 CE or
8000 CE.  It all depends.  After a few thousand more years
when all of the remaining century leap years (which are
divisible by 400) have been dropped and the number of days
in a Tropical Year is less than 365.24, some other leap
year will need to be chosen.

I always joke that at some time in the next 2000 years, some
overly capable humans may decide to increase the Earth's
rate of rotation and fix the year at 365.25 days so that the
Julian Calendar can be used once more.  Or we may decide
to eliminate the need for Calendars by other means.

Whatever happens, other changes to RSTS/E will occur to
keep track of the date and all other operating systems for all
computers by the time five-digit years occur with regard to the
CE Calendar - IF the CE Calendar is still being used.

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 18:39         ` Y3K for PDP-11 Operating Systems Henry Crun
  2011-05-03 19:56           ` Jerome H. Fine
@ 2011-05-03 22:52           ` onedbguru
  2011-05-04  0:07             ` Bill Gunshannon
  1 sibling, 1 reply; 146+ messages in thread
From: onedbguru @ 2011-05-03 22:52 UTC (permalink / raw)


On May 3, 2:39 pm, Henry Crun <m...@rechtman.com> wrote:
> On 03/05/11 20:51, Bob Koehler wrote:
>
>
>
>
>
>
>
>
>
> >   >Bob Koehler wrote:
>
> >>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>  writes:
>
> >>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
> >>> years from now...or roughly  12.5 lifetimes....I seriously don't think
> >>> that anyone in the year 3000 will want to know anything about DEC hw
> >>> or sw.
>
> >> You obviously have not read the historical documents.
>
> > I am curious, I have not read the historical documents.
> > Can you please post a link?
>
> > As for Y3K for RT-11, since the date is presently managed
> > up to 2099 as of V05.07 of RT-11, dates starting in 2100
> > become the next problem.  And since adding support only
> > for an additional 128 years seems like a complete waste of
> > time, then 3000 CE was chosen as the next minimum step.
> > In practice, at least an additional 4000 years would probably
> > be added, more than enough to handle dates until the rules
> > for the CE (Commercial Events, Common Era, Christian Era
> > or Gregorian - all are identical and have a 400 year cycle)
> > Calendar requires a rule change to handle years which are
> > less than the current 365.2418 days.
>
> > So Y3K is really just Y2.1K if that makes a difference.
>
> > Jerome Fine
>
> IIRC there was an article by someone from DEC who promised that RSTS would be
> patched to accept five-digit years before the year 9999. However I doubt that
> current versions would be supported until then...
>
> --
> Mike R.
> Home:http://alpha.mike-r.com/
> QOTD:http://alpha.mike-r.com/php/qotd.php
> No Micro$oft products were used in the URLs above, or in preparing this message.
> Recommended reading:http://www.catb.org/~esr/faqs/smart-questions.html#before

question... who cares??? I can almost guarantee that none of us will
be here in 2099... and by that time you might be using neural-net
technology that will make the PDP look like a TRS80.


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 22:52           ` onedbguru
@ 2011-05-04  0:07             ` Bill Gunshannon
  2011-05-04  5:16               ` Richard B. Gilbert
  0 siblings, 1 reply; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-04  0:07 UTC (permalink / raw)


In article <7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
	onedbguru <onedbguru@yahoo.com> writes:
> On May 3, 2:39�pm, Henry Crun <m...@rechtman.com> wrote:
>> On 03/05/11 20:51, Bob Koehler wrote:
>>
>> > � >Bob Koehler wrote:
>>
>> >>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com> �writes:
>>
>> >>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>> >>> years from now...or roughly �12.5 lifetimes....I seriously don't think
>> >>> that anyone in the year 3000 will want to know anything about DEC hw
>> >>> or sw.
>>
>> >> You obviously have not read the historical documents.
>>
>> > I am curious, I have not read the historical documents.
>> > Can you please post a link?
>>
>> > As for Y3K for RT-11, since the date is presently managed
>> > up to 2099 as of V05.07 of RT-11, dates starting in 2100
>> > become the next problem. �And since adding support only
>> > for an additional 128 years seems like a complete waste of
>> > time, then 3000 CE was chosen as the next minimum step.
>> > In practice, at least an additional 4000 years would probably
>> > be added, more than enough to handle dates until the rules
>> > for the CE (Commercial Events, Common Era, Christian Era
>> > or Gregorian - all are identical and have a 400 year cycle)
>> > Calendar requires a rule change to handle years which are
>> > less than the current 365.2418 days.
>>
>> > So Y3K is really just Y2.1K if that makes a difference.
>>
>> IIRC there was an article by someone from DEC who promised that RSTS would be
>> patched to accept five-digit years before the year 9999. However I doubt that
>> current versions would be supported until then...
>>
> question... who cares??? I can almost guarantee that none of us will
> be here in 2099... and by that time you might be using neural-net
> technology that will make the PDP look like a TRS80.

Hey, just what xfdo you think was wrong with the TRS80?

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04  0:07             ` Bill Gunshannon
@ 2011-05-04  5:16               ` Richard B. Gilbert
  2011-05-04 13:01                 ` Bill Gunshannon
  0 siblings, 1 reply; 146+ messages in thread
From: Richard B. Gilbert @ 2011-05-04  5:16 UTC (permalink / raw)


On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
> 	onedbguru<onedbguru@yahoo.com>  writes:
>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>  wrote:
>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>
>>>>    >Bob Koehler wrote:
>>>
>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>    writes:
>>>
>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>> or sw.
>>>
>>>>> You obviously have not read the historical documents.
>>>
>>>> I am curious, I have not read the historical documents.
>>>> Can you please post a link?
>>>
>>>> As for Y3K for RT-11, since the date is presently managed
>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>> become the next problem.  And since adding support only
>>>> for an additional 128 years seems like a complete waste of
>>>> time, then 3000 CE was chosen as the next minimum step.
>>>> In practice, at least an additional 4000 years would probably
>>>> be added, more than enough to handle dates until the rules
>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>> Calendar requires a rule change to handle years which are
>>>> less than the current 365.2418 days.
>>>
>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>
>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>> patched to accept five-digit years before the year 9999. However I doubt that
>>> current versions would be supported until then...
>>>
>> question... who cares??? I can almost guarantee that none of us will
>> be here in 2099... and by that time you might be using neural-net
>> technology that will make the PDP look like a TRS80.
>
> Hey, just what xfdo you think was wrong with the TRS80?
>

Other than primitive hardware and primitive software?  It was a good 
machine in its day but its day is LONG GONE!



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04  5:16               ` Richard B. Gilbert
@ 2011-05-04 13:01                 ` Bill Gunshannon
  2011-05-04 14:19                   ` Richard B. Gilbert
                                     ` (7 more replies)
  0 siblings, 8 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-04 13:01 UTC (permalink / raw)


In article <H9mdnUTgT5LYfF3QnZ2dnUVZ_uOdnZ2d@giganews.com>,
	"Richard B. Gilbert" <rgilbert88@comcast.net> writes:
> On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
>> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
>> 	onedbguru<onedbguru@yahoo.com>  writes:
>>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>  wrote:
>>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>>
>>>>>    >Bob Koehler wrote:
>>>>
>>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>    writes:
>>>>
>>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>>> or sw.
>>>>
>>>>>> You obviously have not read the historical documents.
>>>>
>>>>> I am curious, I have not read the historical documents.
>>>>> Can you please post a link?
>>>>
>>>>> As for Y3K for RT-11, since the date is presently managed
>>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>>> become the next problem.  And since adding support only
>>>>> for an additional 128 years seems like a complete waste of
>>>>> time, then 3000 CE was chosen as the next minimum step.
>>>>> In practice, at least an additional 4000 years would probably
>>>>> be added, more than enough to handle dates until the rules
>>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>>> Calendar requires a rule change to handle years which are
>>>>> less than the current 365.2418 days.
>>>>
>>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>>
>>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>>> patched to accept five-digit years before the year 9999. However I doubt that
>>>> current versions would be supported until then...
>>>>
>>> question... who cares??? I can almost guarantee that none of us will
>>> be here in 2099... and by that time you might be using neural-net
>>> technology that will make the PDP look like a TRS80.
>>
>> Hey, just what xfdo you think was wrong with the TRS80?
>>
> 
> Other than primitive hardware and primitive software?  It was a good 
> machine in its day but its day is LONG GONE!
> 

Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
And software?  At least 5 different OSes.  Wide language support.  Many
commercial applications.

And, at this point it is probably debatable which one between the TRS80
and PDP-11 has more users on both real hardware and emulators.  I have
quite a bit of both.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
@ 2011-05-04 14:19                   ` Richard B. Gilbert
  2011-05-04 14:58                     ` Scott Dorsey
  2011-05-04 16:33                     ` Bill Gunshannon
  2011-05-04 17:02                   ` Johnny Billquist
                                     ` (6 subsequent siblings)
  7 siblings, 2 replies; 146+ messages in thread
From: Richard B. Gilbert @ 2011-05-04 14:19 UTC (permalink / raw)


On 5/4/2011 9:01 AM, Bill Gunshannon wrote:
> In article<H9mdnUTgT5LYfF3QnZ2dnUVZ_uOdnZ2d@giganews.com>,
> 	"Richard B. Gilbert"<rgilbert88@comcast.net>  writes:
>> On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
>>> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
>>> 	onedbguru<onedbguru@yahoo.com>   writes:
>>>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>   wrote:
>>>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>>>
>>>>>>     >Bob Koehler wrote:
>>>>>
>>>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>     writes:
>>>>>
>>>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>>>> or sw.
>>>>>
>>>>>>> You obviously have not read the historical documents.
>>>>>
>>>>>> I am curious, I have not read the historical documents.
>>>>>> Can you please post a link?
>>>>>
>>>>>> As for Y3K for RT-11, since the date is presently managed
>>>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>>>> become the next problem.  And since adding support only
>>>>>> for an additional 128 years seems like a complete waste of
>>>>>> time, then 3000 CE was chosen as the next minimum step.
>>>>>> In practice, at least an additional 4000 years would probably
>>>>>> be added, more than enough to handle dates until the rules
>>>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>>>> Calendar requires a rule change to handle years which are
>>>>>> less than the current 365.2418 days.
>>>>>
>>>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>>>
>>>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>>>> patched to accept five-digit years before the year 9999. However I doubt that
>>>>> current versions would be supported until then...
>>>>>
>>>> question... who cares??? I can almost guarantee that none of us will
>>>> be here in 2099... and by that time you might be using neural-net
>>>> technology that will make the PDP look like a TRS80.
>>>
>>> Hey, just what xfdo you think was wrong with the TRS80?
>>>
>>
>> Other than primitive hardware and primitive software?  It was a good
>> machine in its day but its day is LONG GONE!
>>
>
> Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
> And software?  At least 5 different OSes.  Wide language support.  Many
> commercial applications.
>
> And, at this point it is probably debatable which one between the TRS80
> and PDP-11 has more users on both real hardware and emulators.  I have
> quite a bit of both.
>
> bill
>

I disposed of my "TRASH 80" and replaced it with a used Rainbow 100. 
The lack of a few milligrams of gold plating made the TRASH 80 a 
nightmare.  Tin oxidizes and did so on critical connectors!




^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 14:19                   ` Richard B. Gilbert
@ 2011-05-04 14:58                     ` Scott Dorsey
  2011-05-04 16:33                     ` Bill Gunshannon
  1 sibling, 0 replies; 146+ messages in thread
From: Scott Dorsey @ 2011-05-04 14:58 UTC (permalink / raw)


Richard B. Gilbert <rgilbert88@comcast.net> wrote:
>
>I disposed of my "TRASH 80" and replaced it with a used Rainbow 100. 
>The lack of a few milligrams of gold plating made the TRASH 80 a 
>nightmare.  Tin oxidizes and did so on critical connectors!

The GC "Nickel Print" kit fixed that problem nicely.  I made good money
nickel-plating the edge card connectors on Model Ones back when they were
new.
--scott
-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 14:19                   ` Richard B. Gilbert
  2011-05-04 14:58                     ` Scott Dorsey
@ 2011-05-04 16:33                     ` Bill Gunshannon
  2011-05-05  1:51                       ` Richard B. Gilbert
  1 sibling, 1 reply; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-04 16:33 UTC (permalink / raw)


In article <KsmdnY-dhd7k_VzQnZ2dnUVZ_vqdnZ2d@giganews.com>,
	"Richard B. Gilbert" <rgilbert88@comcast.net> writes:
> On 5/4/2011 9:01 AM, Bill Gunshannon wrote:
>> In article<H9mdnUTgT5LYfF3QnZ2dnUVZ_uOdnZ2d@giganews.com>,
>> 	"Richard B. Gilbert"<rgilbert88@comcast.net>  writes:
>>> On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
>>>> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
>>>> 	onedbguru<onedbguru@yahoo.com>   writes:
>>>>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>   wrote:
>>>>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>>>>
>>>>>>>     >Bob Koehler wrote:
>>>>>>
>>>>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>     writes:
>>>>>>
>>>>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>>>>> or sw.
>>>>>>
>>>>>>>> You obviously have not read the historical documents.
>>>>>>
>>>>>>> I am curious, I have not read the historical documents.
>>>>>>> Can you please post a link?
>>>>>>
>>>>>>> As for Y3K for RT-11, since the date is presently managed
>>>>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>>>>> become the next problem.  And since adding support only
>>>>>>> for an additional 128 years seems like a complete waste of
>>>>>>> time, then 3000 CE was chosen as the next minimum step.
>>>>>>> In practice, at least an additional 4000 years would probably
>>>>>>> be added, more than enough to handle dates until the rules
>>>>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>>>>> Calendar requires a rule change to handle years which are
>>>>>>> less than the current 365.2418 days.
>>>>>>
>>>>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>>>>
>>>>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>>>>> patched to accept five-digit years before the year 9999. However I doubt that
>>>>>> current versions would be supported until then...
>>>>>>
>>>>> question... who cares??? I can almost guarantee that none of us will
>>>>> be here in 2099... and by that time you might be using neural-net
>>>>> technology that will make the PDP look like a TRS80.
>>>>
>>>> Hey, just what xfdo you think was wrong with the TRS80?
>>>>
>>>
>>> Other than primitive hardware and primitive software?  It was a good
>>> machine in its day but its day is LONG GONE!
>>>
>>
>> Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
>> And software?  At least 5 different OSes.  Wide language support.  Many
>> commercial applications.
>>
>> And, at this point it is probably debatable which one between the TRS80
>> and PDP-11 has more users on both real hardware and emulators.  I have
>> quite a bit of both.
>>
> 
> I disposed of my "TRASH 80" and replaced it with a used Rainbow 100. 

I always wanted a Rainbow, too, but never had the luck of finding one.

> The lack of a few milligrams of gold plating made the TRASH 80 a 
> nightmare.  Tin oxidizes and did so on critical connectors!
 
Wow, you have gold on all your PDP-11 modules?  Maybe those old
cards are worth more than I thought.  :-)  I have a number of
TRS-80 Model-I's with the Expansion Interface and they all work
quite well. I spent more time cleaning edges connectors on my
daughters Nintendo than on the TRS-80.  And, of course, like the
PDP-11, today it is mostly done with emulators anyway.

bill
 

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
  2011-05-04 14:19                   ` Richard B. Gilbert
@ 2011-05-04 17:02                   ` Johnny Billquist
  2011-05-04 17:20                   ` Bob Koehler
                                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-04 17:02 UTC (permalink / raw)


On 2011-05-04 06:01, Bill Gunshannon wrote:
> In article<H9mdnUTgT5LYfF3QnZ2dnUVZ_uOdnZ2d@giganews.com>,
> 	"Richard B. Gilbert"<rgilbert88@comcast.net>  writes:
>> On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
>>> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
>>> 	onedbguru<onedbguru@yahoo.com>   writes:
>>>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>   wrote:
>>>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>>>
>>>>>>     >Bob Koehler wrote:
>>>>>
>>>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>     writes:
>>>>>
>>>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>>>> or sw.
>>>>>
>>>>>>> You obviously have not read the historical documents.
>>>>>
>>>>>> I am curious, I have not read the historical documents.
>>>>>> Can you please post a link?
>>>>>
>>>>>> As for Y3K for RT-11, since the date is presently managed
>>>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>>>> become the next problem.  And since adding support only
>>>>>> for an additional 128 years seems like a complete waste of
>>>>>> time, then 3000 CE was chosen as the next minimum step.
>>>>>> In practice, at least an additional 4000 years would probably
>>>>>> be added, more than enough to handle dates until the rules
>>>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>>>> Calendar requires a rule change to handle years which are
>>>>>> less than the current 365.2418 days.
>>>>>
>>>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>>>
>>>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>>>> patched to accept five-digit years before the year 9999. However I doubt that
>>>>> current versions would be supported until then...
>>>>>
>>>> question... who cares??? I can almost guarantee that none of us will
>>>> be here in 2099... and by that time you might be using neural-net
>>>> technology that will make the PDP look like a TRS80.
>>>
>>> Hey, just what xfdo you think was wrong with the TRS80?
>>>
>>
>> Other than primitive hardware and primitive software?  It was a good
>> machine in its day but its day is LONG GONE!
>>
>
> Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
> And software?  At least 5 different OSes.  Wide language support.  Many
> commercial applications.
>
> And, at this point it is probably debatable which one between the TRS80
> and PDP-11 has more users on both real hardware and emulators.  I have
> quite a bit of both.

Actually, I know of plenty of PDP-11 systems still running critical 
applications in the industry. I have not seen a TRS-80 in the wild in 20 
years.

I'd it's not even a competition between these two machines. :-)

That said, the Z80 is more primitive in lots of ways. The instruction 
set is way more limited. You don't even have an MMU for the machine, and 
there is no way of doing a protected system where user applications 
can't do "bad" things, like turning off interrupts... There are a lot of 
things more primitive on the Z80. But I still use Z80 in products. It's 
a nice CPU for doing embedded things. So that architecture is still very 
much alive as well. Probably more alive than the PDP-11, since you can 
buy new Z80 cpus anywhere, but you'll have a very hard time finding a 
new PDP-11 anywhere, although you have commercial emulators for the latter.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
  2011-05-04 14:19                   ` Richard B. Gilbert
  2011-05-04 17:02                   ` Johnny Billquist
@ 2011-05-04 17:20                   ` Bob Koehler
  2011-05-04 18:10                   ` glen herrmannsfeldt
                                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 146+ messages in thread
From: Bob Koehler @ 2011-05-04 17:20 UTC (permalink / raw)


In article <ips0r8$6jh$1@Iltempo.Update.UU.SE>, Johnny Billquist <bqt@softjar.se> writes:
> 
> That said, the Z80 is more primitive in lots of ways.

   Nintendo Game Boy was a Z80.  Game Boy 2 had a Z80 so it could play
   Game Boy cartridges.  I don't think the new 3-D Game Boy has a Z80,
   but I'm not sure.

   DEC LA120 console had Z80 in them.  We had an LA120 in front of
   a PDP-11/34 and were not sure which had more computing power.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
                                     ` (2 preceding siblings ...)
  2011-05-04 17:20                   ` Bob Koehler
@ 2011-05-04 18:10                   ` glen herrmannsfeldt
  2011-05-04 19:21                     ` John Wallace
  2011-05-04 22:06                     ` MetaEd
  2011-05-10 13:20                   ` Bob Koehler
                                     ` (3 subsequent siblings)
  7 siblings, 2 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-04 18:10 UTC (permalink / raw)


In vmsnet.pdp-11 Bill Gunshannon <billg999@cs.uofs.edu> wrote:

(snip, someone wrote)
>> Other than primitive hardware and primitive software?  It was a good 
>> machine in its day but its day is LONG GONE!
 
> Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
> And software?  At least 5 different OSes.  Wide language support.  Many
> commercial applications.
 
> And, at this point it is probably debatable which one between the TRS80
> and PDP-11 has more users on both real hardware and emulators.  I have
> quite a bit of both.

As I understand it, processors based on the Z80, though maybe not
made by Zilog, are used in many current products, such as the popular
TI graphing calculators in the TI-81 family.

I don't know that I ever heard of a PDP-11 being used in a
popular calculator.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 18:10                   ` glen herrmannsfeldt
@ 2011-05-04 19:21                     ` John Wallace
  2011-05-04 22:06                     ` MetaEd
  1 sibling, 0 replies; 146+ messages in thread
From: John Wallace @ 2011-05-04 19:21 UTC (permalink / raw)


On May 4, 7:10 pm, glen herrmannsfeldt <g...@ugcs.caltech.edu> wrote:
> In vmsnet.pdp-11 Bill Gunshannon <billg...@cs.uofs.edu> wrote:
>
> (snip, someone wrote)
>
> >> Other than primitive hardware and primitive software?  It was a good
> >> machine in its day but its day is LONG GONE!
> > Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
> > And software?  At least 5 different OSes.  Wide language support.  Many
> > commercial applications.
> > And, at this point it is probably debatable which one between the TRS80
> > and PDP-11 has more users on both real hardware and emulators.  I have
> > quite a bit of both.
>
> As I understand it, processors based on the Z80, though maybe not
> made by Zilog, are used in many current products, such as the popular
> TI graphing calculators in the TI-81 family.
>
> I don't know that I ever heard of a PDP-11 being used in a
> popular calculator.
>
> -- glen

It's only a few years since the Z80 was a reasonably ubiquitous
processor in cellphones, though it was well hidden and there weren't
many associated jobs for Z80 programmers or Z80 system designers.
Obviously the various flavours of ARM are now the default choice in
that market.


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 18:10                   ` glen herrmannsfeldt
  2011-05-04 19:21                     ` John Wallace
@ 2011-05-04 22:06                     ` MetaEd
  2011-05-05  3:17                       ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: MetaEd @ 2011-05-04 22:06 UTC (permalink / raw)


On Wed, May 4, 2011 at 13:10, glen herrmannsfeldt
<gah@ugcs.caltech.edu> wrote:
> I don't know that I ever heard of a PDP-11 being used in a popular
> calculator.

According to Bob Supnik, there were some hundreds of thousands of
T-11 microprocessors shipped. Not an earthshaking quantity, but I
was interested to see that the applications included the arcade
video game "Paperboy" by Atari.

http://simh.trailing-edge.com/semi/t11.html


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 16:33                     ` Bill Gunshannon
@ 2011-05-05  1:51                       ` Richard B. Gilbert
  2011-05-06 18:08                         ` G Cornelius
  0 siblings, 1 reply; 146+ messages in thread
From: Richard B. Gilbert @ 2011-05-05  1:51 UTC (permalink / raw)


On 5/4/2011 12:33 PM, Bill Gunshannon wrote:
> In article<KsmdnY-dhd7k_VzQnZ2dnUVZ_vqdnZ2d@giganews.com>,
> 	"Richard B. Gilbert"<rgilbert88@comcast.net>  writes:
>> On 5/4/2011 9:01 AM, Bill Gunshannon wrote:
>>> In article<H9mdnUTgT5LYfF3QnZ2dnUVZ_uOdnZ2d@giganews.com>,
>>> 	"Richard B. Gilbert"<rgilbert88@comcast.net>   writes:
>>>> On 5/3/2011 8:07 PM, Bill Gunshannon wrote:
>>>>> In article<7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com>,
>>>>> 	onedbguru<onedbguru@yahoo.com>    writes:
>>>>>> On May 3, 2:39 pm, Henry Crun<m...@rechtman.com>    wrote:
>>>>>>> On 03/05/11 20:51, Bob Koehler wrote:
>>>>>>>
>>>>>>>>      >Bob Koehler wrote:
>>>>>>>
>>>>>>>>>> In article<bdd4fd3d-bb52-43fb-ad9c-746b901f4...@gu8g2000vbb.googlegroups.com>, jjh<jjhu...@gmail.com>      writes:
>>>>>>>
>>>>>>>>>> To make sure I understand, y3K =3D 3000, it is 2011 now...um that is 989
>>>>>>>>>> years from now...or roughly  12.5 lifetimes....I seriously don't think
>>>>>>>>>> that anyone in the year 3000 will want to know anything about DEC hw
>>>>>>>>>> or sw.
>>>>>>>
>>>>>>>>> You obviously have not read the historical documents.
>>>>>>>
>>>>>>>> I am curious, I have not read the historical documents.
>>>>>>>> Can you please post a link?
>>>>>>>
>>>>>>>> As for Y3K for RT-11, since the date is presently managed
>>>>>>>> up to 2099 as of V05.07 of RT-11, dates starting in 2100
>>>>>>>> become the next problem.  And since adding support only
>>>>>>>> for an additional 128 years seems like a complete waste of
>>>>>>>> time, then 3000 CE was chosen as the next minimum step.
>>>>>>>> In practice, at least an additional 4000 years would probably
>>>>>>>> be added, more than enough to handle dates until the rules
>>>>>>>> for the CE (Commercial Events, Common Era, Christian Era
>>>>>>>> or Gregorian - all are identical and have a 400 year cycle)
>>>>>>>> Calendar requires a rule change to handle years which are
>>>>>>>> less than the current 365.2418 days.
>>>>>>>
>>>>>>>> So Y3K is really just Y2.1K if that makes a difference.
>>>>>>>
>>>>>>> IIRC there was an article by someone from DEC who promised that RSTS would be
>>>>>>> patched to accept five-digit years before the year 9999. However I doubt that
>>>>>>> current versions would be supported until then...
>>>>>>>
>>>>>> question... who cares??? I can almost guarantee that none of us will
>>>>>> be here in 2099... and by that time you might be using neural-net
>>>>>> technology that will make the PDP look like a TRS80.
>>>>>
>>>>> Hey, just what xfdo you think was wrong with the TRS80?
>>>>>
>>>>
>>>> Other than primitive hardware and primitive software?  It was a good
>>>> machine in its day but its day is LONG GONE!
>>>>
>>>
>>> Now that's funny, here.  Just how is the Z80 more primitve than the PDP-11?
>>> And software?  At least 5 different OSes.  Wide language support.  Many
>>> commercial applications.
>>>
>>> And, at this point it is probably debatable which one between the TRS80
>>> and PDP-11 has more users on both real hardware and emulators.  I have
>>> quite a bit of both.
>>>
>>
>> I disposed of my "TRASH 80" and replaced it with a used Rainbow 100.
>
> I always wanted a Rainbow, too, but never had the luck of finding one.
>
>> The lack of a few milligrams of gold plating made the TRASH 80 a
>> nightmare.  Tin oxidizes and did so on critical connectors!
>
> Wow, you have gold on all your PDP-11 modules?  Maybe those old
> cards are worth more than I thought.  :-)  I have a number of
> TRS-80 Model-I's with the Expansion Interface and they all work
> quite well. I spent more time cleaning edges connectors on my
> daughters Nintendo than on the TRS-80.  And, of course, like the
> PDP-11, today it is mostly done with emulators anyway.
>

I have no PDP-11.  I had one at work many long years ago.  I don't miss 
it.  Poor cripple!  The screwing around necessitated by the microscopic 
address space was more trouble than it was worth!




^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 22:06                     ` MetaEd
@ 2011-05-05  3:17                       ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-05  3:17 UTC (permalink / raw)


On 2011-05-04 15:06, MetaEd wrote:
> On Wed, May 4, 2011 at 13:10, glen herrmannsfeldt
> <gah@ugcs.caltech.edu>  wrote:
>> I don't know that I ever heard of a PDP-11 being used in a popular
>> calculator.
>
> According to Bob Supnik, there were some hundreds of thousands of
> T-11 microprocessors shipped. Not an earthshaking quantity, but I
> was interested to see that the applications included the arcade
> video game "Paperboy" by Atari.
>
> http://simh.trailing-edge.com/semi/t11.html

There are a bunch of arcade games that had a T-11 in them, including 
some 3-player car race game that I can't remember the name of right now.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-05  1:51                       ` Richard B. Gilbert
@ 2011-05-06 18:08                         ` G Cornelius
  2011-05-06 18:47                           ` Richard B. Gilbert
  2011-05-06 22:13                           ` Johnny Billquist
  0 siblings, 2 replies; 146+ messages in thread
From: G Cornelius @ 2011-05-06 18:08 UTC (permalink / raw)
  To: rgilbert88

Richard B. Gilbert wrote:
> I have no PDP-11.  I had one at work many long years ago.  I don't miss it.

You must never have worked on an -8!

A 22-bit PDP-11 with RSX-11M+ (I/D space, supervisor mode libraries)
was a huge improvement over the sad little 18-bit beasts (physical
address, of course). And memory resident overlays at least meant
that you did not have to wait for more than a single system call's
overhead for additional segments of your overlaid program to be
accessed. But, oh, the task builder overlay description language
files you had to manage!

The 18-bit physical address space was a broken concept from the
beginning: "Hey, we have all this 18/36 bit stuff already built
for the 10- and 20-series, let's give the 11's two entire bits
of extended physical address!"  To go to 22 bits your device
drivers still had to go through the 18 bit atrocity, with the
extra two bits tucked into the CSR somewhere, just so they could
address a set of "Unibus mapping registers" to extend the map
from 18 bits to 22 bits. In retrospect it all seems to have been
rather poor planning.

If in fact your code fit into the address space and did not need
32 bit arithmetic, it could be fast.  The first time I started
working in a group that had VAXen I noticed two 750's sitting
off to the side because they had not been able to handle the
application load.  Their replacement: a pair of 11/84's.
Granted, this was specialized in that the language interpreter
had to do a lot of single byte operations, resulting in the
initial versions, on 750's at least, being rather inefficient.
Sometimes extra bits just mean extra overhead.

George



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-06 18:08                         ` G Cornelius
@ 2011-05-06 18:47                           ` Richard B. Gilbert
  2011-05-06 22:13                           ` Johnny Billquist
  1 sibling, 0 replies; 146+ messages in thread
From: Richard B. Gilbert @ 2011-05-06 18:47 UTC (permalink / raw)


On 5/6/2011 2:08 PM, G Cornelius wrote:
> Richard B. Gilbert wrote:
>> I have no PDP-11.  I had one at work many long years ago.  I don't miss it.
>
> You must never have worked on an -8!

I did work on a PDP-8 but not much.  The memory issues seemed difficult 
enough that I was surprised that anyone managed to get anything done!

I came to the PDP-8 after working with 24 bit and 32 bit architectures.
I REALLY don't miss the PDP-8!
<snip>


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-06 18:08                         ` G Cornelius
  2011-05-06 18:47                           ` Richard B. Gilbert
@ 2011-05-06 22:13                           ` Johnny Billquist
  2011-05-08  1:00                             ` Rich Alderson
  2011-05-09 15:40                             ` Rob Brown
  1 sibling, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-06 22:13 UTC (permalink / raw)


On 2011-05-06 12.08, G Cornelius wrote:
> Richard B. Gilbert wrote:
>> I have no PDP-11.  I had one at work many long years ago.  I don't miss it.
>
> You must never have worked on an -8!

Heh. Yeah, well, the PDP-8 code is pretty compact in a way, but of 
course you don't write something like SSL for a PDP-8.
Also, on both the PDP-8 and PDP-11 (but especially on the -8) assembly 
language programming was the norm. And you get so much more use out of 
memory that way. (And it also encourages you to keep your programs 
small... ;-) )

> A 22-bit PDP-11 with RSX-11M+ (I/D space, supervisor mode libraries)
> was a huge improvement over the sad little 18-bit beasts (physical
> address, of course). And memory resident overlays at least meant
> that you did not have to wait for more than a single system call's
> overhead for additional segments of your overlaid program to be
> accessed. But, oh, the task builder overlay description language
> files you had to manage!

Yeah. The ODL-files are not that fun, but I agree that M+ on a big 
PDP-11 is a very different experience to some small -11 with some other OS.

> The 18-bit physical address space was a broken concept from the
> beginning: "Hey, we have all this 18/36 bit stuff already built
> for the 10- and 20-series, let's give the 11's two entire bits
> of extended physical address!"  To go to 22 bits your device
> drivers still had to go through the 18 bit atrocity, with the
> extra two bits tucked into the CSR somewhere, just so they could
> address a set of "Unibus mapping registers" to extend the map
> from 18 bits to 22 bits. In retrospect it all seems to have been
> rather poor planning.

Well. The 18-bit thingy was not totally for the PDP-11. The Unibus was 
first done for the PDP-11, true, but the PDP-11 at that time was only 16 
bits (there was no MMU). However, the Unibus was also used in some 
18/36-bit products, where those two extra bits made sense. And sharing a 
bus design between several machines also makes sense (and both address 
and data can be 18 bits).

But yes, having room only for 18-bit addresses on the bus was obviously 
pretty little, and the PDP-11 quickly grew out of that too. Gordon Bell 
have a famous quote for the PDP-11 and address extensions.

The Unibus map is annoying, true, but not really a big issue. It's the 
same thing on a VAX. Except the Unibus map is more fine grained on VAXen.

(That's why the 11/70 had Massbuses... ;-) )

> If in fact your code fit into the address space and did not need
> 32 bit arithmetic, it could be fast.  The first time I started
> working in a group that had VAXen I noticed two 750's sitting
> off to the side because they had not been able to handle the
> application load.  Their replacement: a pair of 11/84's.
> Granted, this was specialized in that the language interpreter
> had to do a lot of single byte operations, resulting in the
> initial versions, on 750's at least, being rather inefficient.
> Sometimes extra bits just mean extra overhead.

Heck. The 11/750 is not a fast machine. It's definitely slower than an 
11/84, unless you do things that the VAX can do natively and the PDP-11 
can't.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-06 22:13                           ` Johnny Billquist
@ 2011-05-08  1:00                             ` Rich Alderson
  2011-05-08  1:51                               ` Johnny Billquist
  2011-05-08 11:19                               ` Richard B. Gilbert
  2011-05-09 15:40                             ` Rob Brown
  1 sibling, 2 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-08  1:00 UTC (permalink / raw)


Johnny Billquist <bqt@update.uu.se> writes:

> On 2011-05-06 12.08, G Cornelius wrote:
>> Richard B. Gilbert wrote:

>> The 18-bit physical address space was a broken concept from the
>> beginning: "Hey, we have all this 18/36 bit stuff already built
>> for the 10- and 20-series, let's give the 11's two entire bits
>> of extended physical address!"  To go to 22 bits your device
>> drivers still had to go through the 18 bit atrocity, with the
>> extra two bits tucked into the CSR somewhere, just so they could
>> address a set of "Unibus mapping registers" to extend the map
>> from 18 bits to 22 bits. In retrospect it all seems to have been
>> rather poor planning.

> Well. The 18-bit thingy was not totally for the PDP-11. The Unibus was 
> first done for the PDP-11, true, but the PDP-11 at that time was only 16 
> bits (there was no MMU). However, the Unibus was also used in some 
> 18/36-bit products, where those two extra bits made sense. And sharing a 
> bus design between several machines also makes sense (and both address 
> and data can be 18 bits).

There wasn't any Unibus in the PDP-10 world until the introduction of the 2020,
which used the Unibus for I/O interfaces.  That was 1978, nearly a decade after
the PDP-11 brought Unibus into being...

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-08  1:00                             ` Rich Alderson
@ 2011-05-08  1:51                               ` Johnny Billquist
  2011-05-08 11:19                               ` Richard B. Gilbert
  1 sibling, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-08  1:51 UTC (permalink / raw)


On 2011-05-07 19.00, Rich Alderson wrote:
> Johnny Billquist<bqt@update.uu.se>  writes:
>
>> On 2011-05-06 12.08, G Cornelius wrote:
>>> Richard B. Gilbert wrote:
>
>>> The 18-bit physical address space was a broken concept from the
>>> beginning: "Hey, we have all this 18/36 bit stuff already built
>>> for the 10- and 20-series, let's give the 11's two entire bits
>>> of extended physical address!"  To go to 22 bits your device
>>> drivers still had to go through the 18 bit atrocity, with the
>>> extra two bits tucked into the CSR somewhere, just so they could
>>> address a set of "Unibus mapping registers" to extend the map
>>> from 18 bits to 22 bits. In retrospect it all seems to have been
>>> rather poor planning.
>
>> Well. The 18-bit thingy was not totally for the PDP-11. The Unibus was
>> first done for the PDP-11, true, but the PDP-11 at that time was only 16
>> bits (there was no MMU). However, the Unibus was also used in some
>> 18/36-bit products, where those two extra bits made sense. And sharing a
>> bus design between several machines also makes sense (and both address
>> and data can be 18 bits).
>
> There wasn't any Unibus in the PDP-10 world until the introduction of the 2020,
> which used the Unibus for I/O interfaces.  That was 1978, nearly a decade after
> the PDP-11 brought Unibus into being...

True. And I did say that the Unibus first came with the PDP-11. And I 
don't know why DEC decided on having 18 address bits on the Unibus, but 
it can't very well have been for just doing a 2-bit expansion of the 
PDP-11 address space in the future, so it seems more likely that they 
were considering the possibility of using it on 18/36 bit products. But 
that is just guessing on my part. (But really, if it were for just -11 
expansion, why on earth only make room for a 2 bit expansion? When it 
was done, it was a totally open and free decision to make provisions for 
a larger expansion. If that was the case, then I would agree with the 
statement that it was very poor planning.)

Also, the fact that you can run 18-bit data on the Unibus is totally 
lost on a PDP-11, since it never use that, but instead use the two 
additional bits for parity of each data byte.

I don't know much details of the Unibus on the PDP-15 either, but that 
came sooner than the -2020.

Also, not totally relevant, but the 11/40 FE of the KL-10 have a Unibus 
as well, and the machine normally use a dual-ported RP06 which is 
formatted in 18-bit mode, that is also accessed by the FE. As such, 
something non entirely -11-normal is done on the RH11 of the FE...
But it's not really the same as any 18/36 bit machine with a Unibus in 
anyway, so it's more of a curious oddball among -11s.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-08  1:00                             ` Rich Alderson
  2011-05-08  1:51                               ` Johnny Billquist
@ 2011-05-08 11:19                               ` Richard B. Gilbert
  2011-05-09 21:32                                 ` Rich Alderson
  1 sibling, 1 reply; 146+ messages in thread
From: Richard B. Gilbert @ 2011-05-08 11:19 UTC (permalink / raw)


On 5/7/2011 9:00 PM, Rich Alderson wrote:
> Johnny Billquist<bqt@update.uu.se>  writes:
>
>> On 2011-05-06 12.08, G Cornelius wrote:
>>> Richard B. Gilbert wrote:
>
>>> The 18-bit physical address space was a broken concept from the
>>> beginning: "Hey, we have all this 18/36 bit stuff already built
>>> for the 10- and 20-series, let's give the 11's two entire bits
>>> of extended physical address!"  To go to 22 bits your device
>>> drivers still had to go through the 18 bit atrocity, with the
>>> extra two bits tucked into the CSR somewhere, just so they could
>>> address a set of "Unibus mapping registers" to extend the map
>>> from 18 bits to 22 bits. In retrospect it all seems to have been
>>> rather poor planning.
>
>> Well. The 18-bit thingy was not totally for the PDP-11. The Unibus was
>> first done for the PDP-11, true, but the PDP-11 at that time was only 16
>> bits (there was no MMU). However, the Unibus was also used in some
>> 18/36-bit products, where those two extra bits made sense. And sharing a
>> bus design between several machines also makes sense (and both address
>> and data can be 18 bits).
>
> There wasn't any Unibus in the PDP-10 world until the introduction of the 2020,
> which used the Unibus for I/O interfaces.  That was 1978, nearly a decade after
> the PDP-11 brought Unibus into being...
>

Please be a little more careful about your attributions.  The above text 
does not contain anything that I wrote!


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-06 22:13                           ` Johnny Billquist
  2011-05-08  1:00                             ` Rich Alderson
@ 2011-05-09 15:40                             ` Rob Brown
  2011-05-09 15:43                               ` Johnny Billquist
  2011-05-09 21:47                               ` vandys
  1 sibling, 2 replies; 146+ messages in thread
From: Rob Brown @ 2011-05-09 15:40 UTC (permalink / raw)



On Fri, 6 May 2011 at 16:13 -0600, Johnny Billquist wrote:

> On 2011-05-06 12.08, G Cornelius wrote:
>
>> If in fact your code fit into the address space and did not need 32 
>> bit arithmetic, it could be fast.  The first time I started working 
>> in a group that had VAXen I noticed two 750's sitting off to the 
>> side because they had not been able to handle the application load. 
>> Their replacement: a pair of 11/84's. Granted, this was specialized 
>> in that the language interpreter had to do a lot of single byte 
>> operations, resulting in the initial versions, on 750's at least, 
>> being rather inefficient. Sometimes extra bits just mean extra 
>> overhead.
>
> Heck. The 11/750 is not a fast machine. It's definitely slower than 
> an 11/84, unless you do things that the VAX can do natively and the 
> PDP-11 can't.

It seemed to me that the 11/750 was even slower than an 11/44, but 
perhaps that had something to do with their respective workloads.


-- 

Rob Brown                        b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd.      (780)438-9343 (voice)
Edmonton                         (780)437-3367 (FAX)
                                  http://gmcl.com/



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 15:40                             ` Rob Brown
@ 2011-05-09 15:43                               ` Johnny Billquist
  2011-05-09 21:47                               ` vandys
  1 sibling, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-09 15:43 UTC (permalink / raw)


On 2011-05-09 09.40, Rob Brown wrote:
>
> On Fri, 6 May 2011 at 16:13 -0600, Johnny Billquist wrote:
>
>> On 2011-05-06 12.08, G Cornelius wrote:
>>
>>> If in fact your code fit into the address space and did not need 32
>>> bit arithmetic, it could be fast. The first time I started working in
>>> a group that had VAXen I noticed two 750's sitting off to the side
>>> because they had not been able to handle the application load. Their
>>> replacement: a pair of 11/84's. Granted, this was specialized in that
>>> the language interpreter had to do a lot of single byte operations,
>>> resulting in the initial versions, on 750's at least, being rather
>>> inefficient. Sometimes extra bits just mean extra overhead.
>>
>> Heck. The 11/750 is not a fast machine. It's definitely slower than an
>> 11/84, unless you do things that the VAX can do natively and the
>> PDP-11 can't.
>
> It seemed to me that the 11/750 was even slower than an 11/44, but
> perhaps that had something to do with their respective workloads.

I don't know for sure, but I would have guessed that they were about 
equal, but maybe with a small edge for the 11/44.

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-08 11:19                               ` Richard B. Gilbert
@ 2011-05-09 21:32                                 ` Rich Alderson
  0 siblings, 0 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-09 21:32 UTC (permalink / raw)


"Richard B. Gilbert" <rgilbert88@comcast.net> writes:

> On 5/7/2011 9:00 PM, Rich Alderson wrote:
>> Johnny Billquist<bqt@update.uu.se>  writes:

>>> On 2011-05-06 12.08, G Cornelius wrote:
>>>> Richard B. Gilbert wrote:

> Please be a little more careful about your attributions.  The above text 
> does not contain anything that I wrote!

My apologies.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 15:40                             ` Rob Brown
  2011-05-09 15:43                               ` Johnny Billquist
@ 2011-05-09 21:47                               ` vandys
  2011-05-09 22:05                                 ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: vandys @ 2011-05-09 21:47 UTC (permalink / raw)


In alt.sys.pdp11 Rob Brown <mylastname@gmcl.com> wrote:
> It seemed to me that the 11/750 was even slower than an 11/44, but 
> perhaps that had something to do with their respective workloads.

For anything not requiring 32 bits, I'm quite sure the 11/70 outran it, in
both integer math and string handling scenarios.  Floating point, I'm not
sure--not an area where I had to deal with performance.

-- 
Andy Valencia
Home page: http://www.vsta.org/andy/
To contact me: http://www.vsta.org/contact/andy.html


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 21:47                               ` vandys
@ 2011-05-09 22:05                                 ` Johnny Billquist
  2011-05-09 23:05                                   ` vandys
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-09 22:05 UTC (permalink / raw)


On 2011-05-09 15.47, vandys@vsta.org wrote:
> In alt.sys.pdp11 Rob Brown<mylastname@gmcl.com>  wrote:
>> It seemed to me that the 11/750 was even slower than an 11/44, but
>> perhaps that had something to do with their respective workloads.
>
> For anything not requiring 32 bits, I'm quite sure the 11/70 outran it, in
> both integer math and string handling scenarios.  Floating point, I'm not
> sure--not an area where I had to deal with performance.

I wouldn't be so sure on string handling, since the VAX have lots of 
native instructions to deal with that, which the 11/70 do not. Integer 
on the other hand, yes.
Floating point as well, unless you want some VAX-specific format.

The 11/44 is a bit slower than the 11/70, but still pretty ok. And for a 
lot of things, the PDP-11 have much lower overhead than a VAX, such as 
subroutine calling and interrupts. I'm not sure if context switching is 
better or worse. The VAX have a single instruction for that, while the 
PDP-11 needs to manually handle both processor registers and MMU 
registers. On the other hand, you don't have the penalty of the TLB 
cache flushes, and I don't know how fast/slow the context save/restore 
on the VAX are.

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 22:05                                 ` Johnny Billquist
@ 2011-05-09 23:05                                   ` vandys
  2011-05-09 23:20                                     ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: vandys @ 2011-05-09 23:05 UTC (permalink / raw)


In alt.sys.pdp11 Johnny Billquist <bqt@softjar.se> wrote:
> I wouldn't be so sure on string handling, since the VAX have lots of 
> native instructions to deal with that, which the 11/70 do not. Integer 
> on the other hand, yes.

I think it was most competetive when you used multiple of its more optimized
instructions.  For instance, my recollection is that the single-instruction
bulk string ops ran slower than the hand coded move/loop constructs.  (Most
of my time was on 750's and the odd 780, and this no doubt changed as DEC
fleshed out their Vax line.)

> The VAX have a single instruction for that, while the 
> PDP-11 needs to manually handle both processor registers and MMU 
> registers.

Having a single instruction does not mean you have a *fast* single
instruction.  That was definitely the case for bulk string ops.  I don't
recall actual task switch performance; that was not an area which caused
me problems.

-- 
Andy Valencia
Home page: http://www.vsta.org/andy/
To contact me: http://www.vsta.org/contact/andy.html


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 23:05                                   ` vandys
@ 2011-05-09 23:20                                     ` Johnny Billquist
  2011-05-10  0:12                                       ` vandys
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-09 23:20 UTC (permalink / raw)


On 2011-05-09 17.05, vandys@vsta.org wrote:
> In alt.sys.pdp11 Johnny Billquist<bqt@softjar.se>  wrote:
>> I wouldn't be so sure on string handling, since the VAX have lots of
>> native instructions to deal with that, which the 11/70 do not. Integer
>> on the other hand, yes.
>
> I think it was most competetive when you used multiple of its more optimized
> instructions.  For instance, my recollection is that the single-instruction
> bulk string ops ran slower than the hand coded move/loop constructs.  (Most
> of my time was on 750's and the odd 780, and this no doubt changed as DEC
> fleshed out their Vax line.)

I know that for some things, actually coding using more primitive 
instructions on the (older) VAXen turned out to be faster than to use 
the fancy instructions, but I would not have thought that was true for 
things like MOVC or LOCC, but I might very well be wrong.

>> The VAX have a single instruction for that, while the
>> PDP-11 needs to manually handle both processor registers and MMU
>> registers.
>
> Having a single instruction does not mean you have a *fast* single
> instruction.  That was definitely the case for bulk string ops.  I don't
> recall actual task switch performance; that was not an area which caused
> me problems.

Indeed. Which is why I said I'm not sure in this area. The save/load 
context instructions are doing a *lot* of things.
But doing a context switch on the PDP-11 is no little task either. But 
from a performance point of view, it is rather relevant, since a lot of 
context switches happens all the time. (The big win, however, was 
obviously the loads of actual code needed to do a context switch which 
was reduced to just a few bytes on a VAX. :-) )

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-09 23:20                                     ` Johnny Billquist
@ 2011-05-10  0:12                                       ` vandys
  2011-05-10  1:36                                         ` Johnny Billquist
                                                           ` (3 more replies)
  0 siblings, 4 replies; 146+ messages in thread
From: vandys @ 2011-05-10  0:12 UTC (permalink / raw)


In alt.sys.pdp11 Johnny Billquist <bqt@softjar.se> wrote:
> I know that for some things, actually coding using more primitive 
> instructions on the (older) VAXen turned out to be faster than to use 
> the fancy instructions, but I would not have thought that was true for 
> things like MOVC or LOCC, but I might very well be wrong.

I'm pretty sure we ended up with a hand coded bcopy() back in the day.
It might've been that we could do optional initial odd, and then move
as words.  I think I heard that later Vaxen microcode would do that too.

>  (The big win, however, was 
> obviously the loads of actual code needed to do a context switch which 
> was reduced to just a few bytes on a VAX. :-) )

I'm pretty sure I remember that BSD on the Vax never ended up using
the high level task instructions.  I can remember trying to make it
line up, and ending up deciding it cost more than it saved.

No doubt VMS did, as otherwise, well, what was the point? :->

This all dribbles back to that old RISC versus CISC argument.  I think the
MIPS context switching I coded was faster than anything comparable on a x86
or Vax.  OTOH, MIPS was never able to beat the TLB miss performance of the
x86.  The ultimate (implied) instruction!

-- 
Andy Valencia
Home page: http://www.vsta.org/andy/
To contact me: http://www.vsta.org/contact/andy.html


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10  0:12                                       ` vandys
@ 2011-05-10  1:36                                         ` Johnny Billquist
  2011-05-10  2:01                                         ` glen herrmannsfeldt
                                                           ` (2 subsequent siblings)
  3 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-10  1:36 UTC (permalink / raw)


On 2011-05-09 18.12, vandys@vsta.org wrote:
> In alt.sys.pdp11 Johnny Billquist<bqt@softjar.se>  wrote:
>> I know that for some things, actually coding using more primitive
>> instructions on the (older) VAXen turned out to be faster than to use
>> the fancy instructions, but I would not have thought that was true for
>> things like MOVC or LOCC, but I might very well be wrong.
>
> I'm pretty sure we ended up with a hand coded bcopy() back in the day.
> It might've been that we could do optional initial odd, and then move
> as words.  I think I heard that later Vaxen microcode would do that too.

Hmm. Memory alignment issues... Good point.
Otherwise, I'm also pretty sure that a function like strcpy() is much 
better to do on your own, as the VAX really don't have a good way of 
implementing that. Doing first a LOCC to get the length, and then a MOVC 
to move the string will surely be less efficient than just doing a MOV 
followed by a conditional branch to loop... Obviously, for C stuff, 
anything dealing with strings is opposed to how a VAX wants things. :-)

>>   (The big win, however, was
>> obviously the loads of actual code needed to do a context switch which
>> was reduced to just a few bytes on a VAX. :-) )
>
> I'm pretty sure I remember that BSD on the Vax never ended up using
> the high level task instructions.  I can remember trying to make it
> line up, and ending up deciding it cost more than it saved.

I know that NetBSD/VAX use those, and I'm almost sure you cannot do a 
context switch without them.

> No doubt VMS did, as otherwise, well, what was the point? :->

:-)

> This all dribbles back to that old RISC versus CISC argument.  I think the
> MIPS context switching I coded was faster than anything comparable on a x86
> or Vax.  OTOH, MIPS was never able to beat the TLB miss performance of the
> x86.  The ultimate (implied) instruction!

Indeed. But context switching goes a bit beyond the RISC/CISC as well. 
It's also a question of how much is held in a context (admittedly, I 
suspect this sortof follows hand in hand with CISC vs. RISC, but 
anyway), if you have lots of context, saving it will take more time than 
if you have just a little. And that means both processor state, as well 
as MMU state, and what else there might be in things like cache 
invalidations.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10  0:12                                       ` vandys
  2011-05-10  1:36                                         ` Johnny Billquist
@ 2011-05-10  2:01                                         ` glen herrmannsfeldt
  2011-05-10 13:31                                         ` Bob Koehler
       [not found]                                         ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
  3 siblings, 0 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-10  2:01 UTC (permalink / raw)


In vmsnet.pdp-11 vandys@vsta.org wrote:
> In alt.sys.pdp11 Johnny Billquist <bqt@softjar.se> wrote:
>> I know that for some things, actually coding using more primitive 
>> instructions on the (older) VAXen turned out to be faster than to use 
>> the fancy instructions, but I would not have thought that was true for 
>> things like MOVC or LOCC, but I might very well be wrong.
 
> I'm pretty sure we ended up with a hand coded bcopy() back in the day.
> It might've been that we could do optional initial odd, and then move
> as words.  I think I heard that later Vaxen microcode would do that too.

I remember stories from near the beginning of the 11/780 about
the polynomial expansion and bounds check instructions being
slower than doing either without those instructions.

I wouldn't be surprised if the string instructions were slower,
but I don't remember any stories about them.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
                                     ` (3 preceding siblings ...)
  2011-05-04 18:10                   ` glen herrmannsfeldt
@ 2011-05-10 13:20                   ` Bob Koehler
  2011-05-10 13:29                   ` Bob Koehler
                                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 13:20 UTC (permalink / raw)


In article <92raajFe87U1@mid.individual.net>, vandys@vsta.org writes:
> 
> I think it was most competetive when you used multiple of its more optimized
> instructions.  For instance, my recollection is that the single-instruction
> bulk string ops ran slower than the hand coded move/loop constructs.  (Most
> of my time was on 750's and the odd 780, and this no doubt changed as DEC
> fleshed out their Vax line.)

   Out experiences on 11/780 were the opposite of that, until we got MV II, 
   where those instructions were emulated.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
                                     ` (4 preceding siblings ...)
  2011-05-10 13:20                   ` Bob Koehler
@ 2011-05-10 13:29                   ` Bob Koehler
  2011-05-10 15:29                     ` Johnny Billquist
  2011-05-10 17:45                   ` Bob Koehler
  2011-05-10 17:58                   ` Bob Koehler
  7 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 13:29 UTC (permalink / raw)


In article <iqa4rr$ebl$1@Iltempo.Update.UU.SE>, Johnny Billquist <bqt@softjar.se> writes:
> 
> Hmm. Memory alignment issues... Good point.
> Otherwise, I'm also pretty sure that a function like strcpy() is much 
> better to do on your own, as the VAX really don't have a good way of 
> implementing that. Doing first a LOCC to get the length, and then a MOVC 
> to move the string will surely be less efficient than just doing a MOV 
> followed by a conditional branch to loop... Obviously, for C stuff, 
> anything dealing with strings is opposed to how a VAX wants things. :-)

   I never did understand why the VAX C RTL did a LOCC first, instead of a
   MOVTUC with a straight-through translation table and null escape
   charater.  I assumed MOVTUC was even slower.

   The need to find that null character, in any case, always seemed to be 
   one more reason to use a better HLL.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10  0:12                                       ` vandys
  2011-05-10  1:36                                         ` Johnny Billquist
  2011-05-10  2:01                                         ` glen herrmannsfeldt
@ 2011-05-10 13:31                                         ` Bob Koehler
       [not found]                                         ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
  3 siblings, 0 replies; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 13:31 UTC (permalink / raw)


In article <iqa6a7$gu8$1@dont-email.me>, glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
> 
> I remember stories from near the beginning of the 11/780 about
> the polynomial expansion and bounds check instructions being
> slower than doing either without those instructions.

   On the 11/780, the speed of several of those instructions depended on 
   whether or not you had a floating point accelerator.  The FPA actually 
   did a lot of integer and address arithmatic, in addition to floating
   point.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 13:29                   ` Bob Koehler
@ 2011-05-10 15:29                     ` Johnny Billquist
  2011-05-10 17:16                       ` G Cornelius
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-10 15:29 UTC (permalink / raw)


On 2011-05-10 07.29, Bob Koehler wrote:
> In article<iqa4rr$ebl$1@Iltempo.Update.UU.SE>, Johnny Billquist<bqt@softjar.se>  writes:
>>
>> Hmm. Memory alignment issues... Good point.
>> Otherwise, I'm also pretty sure that a function like strcpy() is much
>> better to do on your own, as the VAX really don't have a good way of
>> implementing that. Doing first a LOCC to get the length, and then a MOVC
>> to move the string will surely be less efficient than just doing a MOV
>> followed by a conditional branch to loop... Obviously, for C stuff,
>> anything dealing with strings is opposed to how a VAX wants things. :-)
>
>     I never did understand why the VAX C RTL did a LOCC first, instead of a
>     MOVTUC with a straight-through translation table and null escape
>     charater.  I assumed MOVTUC was even slower.

I'm pretty sure that on later machines, MOVTUC is an emulated 
instruction, so you don't want to use it unless you really want the 
special features. For the simple C string case, having that translation 
table is a small memory cost, but it also hurts performance.
But from a purity point of view, yes, MOVTUC should also be able to do it.

>     The need to find that null character, in any case, always seemed to be
>     one more reason to use a better HLL.

:-)

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
       [not found]                                         ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
@ 2011-05-10 16:56                                           ` John Wallace
  2011-05-10 17:50                                             ` Bob Koehler
  0 siblings, 1 reply; 146+ messages in thread
From: John Wallace @ 2011-05-10 16:56 UTC (permalink / raw)


On May 10, 2:31 pm, koeh...@eisner.nospam.encompasserve.org (Bob
Koehler) wrote:
> In article <iqa6a7$gu...@dont-email.me>, glen herrmannsfeldt <g...@ugcs.caltech.edu> writes:
>
> > I remember stories from near the beginning of the 11/780 about
> > the polynomial expansion and bounds check instructions being
> > slower than doing either without those instructions.
>
>    On the 11/780, the speed of several of those instructions depended on
>    whether or not you had a floating point accelerator.  The FPA actually
>    did a lot of integer and address arithmatic, in addition to floating
>    point.

I remember one of my 1980s customers whose hardware service was done
by a 3rd party. Their 2*78x cluster had a problem in that one node
wouldn't mount one of the shared disks. They'd been waiting for their
fixit folks to sort this for months, no progress. Then one day the
other 78x failed, leaving them unable to produce vehicles (cars, and
an IT company in this picture which is now part of HP, work it out).
As a favour, DEC Field Circus came in, ran the usual diagnostics, and
within minutes it emerged that an FPU fault had been preventing the
disk being mounted on the original dodgy 785. It was a bit of a
surprise to me to see an FPU involved in mounting a disk, but
apparently it shouldn't have been a surprise.


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 15:29                     ` Johnny Billquist
@ 2011-05-10 17:16                       ` G Cornelius
  0 siblings, 0 replies; 146+ messages in thread
From: G Cornelius @ 2011-05-10 17:16 UTC (permalink / raw)


Johnny Billquist wrote:
> On 2011-05-10 07.29, Bob Koehler wrote:
>>     I never did understand why the VAX C RTL did a LOCC first, instead
>>     of a MOVTUC with a straight-through translation table and null escape
>>     character.  I assumed MOVTUC was even slower.
> 
> 
> I'm pretty sure that on later machines, MOVTUC is an emulated
> instruction, so you don't want to use it unless you really want the
> special features. For the simple C string case, having that translation
> table is a small memory cost, but it also hurts performance.
> But from a purity point of view, yes, MOVTUC should also be able to do it.

References to a 1-1 MOVTUC table are basically wasted memory
accesses, and, in fact, will be mostly cache misses until a
significant proportion of the table has been loaded.  Not to
mention having flushed information out of cache, resulting in
likely cache misses later.  Also: these are per-byte cache misses,
where actual data fetches should load four, eight, or even more
soon to be used bytes into cache whenever a miss occurs.

George


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
                                     ` (5 preceding siblings ...)
  2011-05-10 13:29                   ` Bob Koehler
@ 2011-05-10 17:45                   ` Bob Koehler
  2011-05-10 21:34                     ` Johnny Billquist
  2011-05-10 17:58                   ` Bob Koehler
  7 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 17:45 UTC (permalink / raw)


In article <iqbllp$u0i$1@Iltempo.Update.UU.SE>, Johnny Billquist <bqt@softjar.se> writes:
> 
> I'm pretty sure that on later machines, MOVTUC is an emulated 
> instruction, so you don't want to use it unless you really want the 
> special features. For the simple C string case, having that translation 
> table is a small memory cost, but it also hurts performance.
> But from a purity point of view, yes, MOVTUC should also be able to do it.

   IIRC, LOCC and MOVCx are in the same VAX instruction subset as
   MOVTUC.  And the rules were you can do all of a subset in hardware,
   or none of the subset in hardware, but you couldn't break it up.

   For example, IIRC, MV II did none of the string instructions in 
   hardware.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 16:56                                           ` John Wallace
@ 2011-05-10 17:50                                             ` Bob Koehler
  2011-05-11 16:04                                               ` G Cornelius
  0 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 17:50 UTC (permalink / raw)


In article <696a284f-1e28-499f-bcec-bb21ccf7cbc9@l14g2000pro.googlegroups.com>, John Wallace <johnwallace4@yahoo.co.uk> writes:
> 
> I remember one of my 1980s customers whose hardware service was done
> by a 3rd party. Their 2*78x cluster had a problem in that one node
> wouldn't mount one of the shared disks. They'd been waiting for their
> fixit folks to sort this for months, no progress. Then one day the
> other 78x failed, leaving them unable to produce vehicles (cars, and
> an IT company in this picture which is now part of HP, work it out).
> As a favour, DEC Field Circus came in, ran the usual diagnostics, and
> within minutes it emerged that an FPU fault had been preventing the
> disk being mounted on the original dodgy 785. It was a bit of a
> surprise to me to see an FPU involved in mounting a disk, but
> apparently it shouldn't have been a surprise.

   The FPA for the VAX-11/780, and I believe for the 785, was part of
   the data path between RAM and CPU.  When the CPU fetched and
   instruction that was implemented in the FPA, the FPA executed it,
   presented an instruction to store the result, and padded with NOPs
   to maintain instruction alignment.

   When the FPA went bad, all kinds of screw ups could happen.  I was
   quite suprized to find an FPA bug that created incorrect behaviour
   in our applications by dropping bits, but allowed VMS itself to
   run all day long.  We finally found the bug by running the Fortran
   compiler repeatedly to put a load on the CPU.  From time to time
   it would die, and we were able to see that a RET had gone to the
   wrong address, one bit different from the saved PC.

   Pulling the FPA made everything work correctly.  We ran without it
   for a couple of days until the replacement showed up (third party
   maintenance, didn't keep one in stock).

   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-04 13:01                 ` Bill Gunshannon
                                     ` (6 preceding siblings ...)
  2011-05-10 17:45                   ` Bob Koehler
@ 2011-05-10 17:58                   ` Bob Koehler
  2011-05-10 21:36                     ` Johnny Billquist
  7 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-10 17:58 UTC (permalink / raw)


In article <4dc972d1$0$73606$815e3792@news.qwest.net>, G Cornelius <cornelius@eisner.decus.org> writes:
> Johnny Billquist wrote:
> 
> References to a 1-1 MOVTUC table are basically wasted memory
> accesses, and, in fact, will be mostly cache misses until a
> significant proportion of the table has been loaded.  Not to
> mention having flushed information out of cache, resulting in
> likely cache misses later.  Also: these are per-byte cache misses,
> where actual data fetches should load four, eight, or even more
> soon to be used bytes into cache whenever a miss occurs.

   Caches have got large, and most likely misses would all be resolved once
   early in program execution.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 17:45                   ` Bob Koehler
@ 2011-05-10 21:34                     ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-10 21:34 UTC (permalink / raw)


On 2011-05-10 11.45, Bob Koehler wrote:
> In article<iqbllp$u0i$1@Iltempo.Update.UU.SE>, Johnny Billquist<bqt@softjar.se>  writes:
>>
>> I'm pretty sure that on later machines, MOVTUC is an emulated
>> instruction, so you don't want to use it unless you really want the
>> special features. For the simple C string case, having that translation
>> table is a small memory cost, but it also hurts performance.
>> But from a purity point of view, yes, MOVTUC should also be able to do it.
>
>     IIRC, LOCC and MOVCx are in the same VAX instruction subset as
>     MOVTUC.  And the rules were you can do all of a subset in hardware,
>     or none of the subset in hardware, but you couldn't break it up.
>
>     For example, IIRC, MV II did none of the string instructions in
>     hardware.

The MVII don't follow later rules about what to emulate and what to do 
in hardware. Those rules came later, and perhaps partly as an analysis 
after the MVII. As such, the MVII do not have LOCC in hardware, nor 
CMPCx, or a bunch of other string instructions that are "now" required. 
But it does have some other instructions that are very optional.

But actually, MOVTUC is in the group of instructions never required to 
be implemented, and which can be handpicked one by one, so it's not even 
in a group of instructions.

MOVCx and LOCC on the other hand are in the required group of 
instructions. So they are not even optional.

(Check chapter 11 of the VARM (DEC STD 032))

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 17:58                   ` Bob Koehler
@ 2011-05-10 21:36                     ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-10 21:36 UTC (permalink / raw)


On 2011-05-10 11.58, Bob Koehler wrote:
> In article<4dc972d1$0$73606$815e3792@news.qwest.net>, G Cornelius<cornelius@eisner.decus.org>  writes:
>>
>> References to a 1-1 MOVTUC table are basically wasted memory
>> accesses, and, in fact, will be mostly cache misses until a
>> significant proportion of the table has been loaded.  Not to
>> mention having flushed information out of cache, resulting in
>> likely cache misses later.  Also: these are per-byte cache misses,
>> where actual data fetches should load four, eight, or even more
>> soon to be used bytes into cache whenever a miss occurs.
>
>     Caches have got large, and most likely misses would all be resolved once
>     early in program execution.

The cache warmup is an issue, since most strings aren't that long, and 
the MOVTUC will probably not hit that many locations that many times 
when implementing a strcpy(). So performance hit is probably very 
measurable.

And the table will most of the time probably not be around in the cache 
by the next time strcpy() got called. Even though caches have grown 
large, so have programs.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-10 17:50                                             ` Bob Koehler
@ 2011-05-11 16:04                                               ` G Cornelius
  0 siblings, 0 replies; 146+ messages in thread
From: G Cornelius @ 2011-05-11 16:04 UTC (permalink / raw)


Bob Koehler wrote:
>    The FPA for the VAX-11/780, and I believe for the 785, was part of
>    the data path between RAM and CPU.  When the CPU fetched and
>    instruction that was implemented in the FPA, the FPA executed it,
>    presented an instruction to store the result, and padded with NOPs
>    to maintain instruction alignment.

It is interesting that in the EV4 Alphas, at least, you could consider
floating point and load/store as a single unit, in that when issuing
instructions - the EV4 was dual-issue - only one load/store/FP class
instruction could be issued in a clock cycle, but it could be issued
simultaneously with, say, an integer arithmetic instruction.

George


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-03 11:28 ` paramucho
  2011-05-03 16:09   ` Jerome H. Fine
@ 2011-05-23  3:41   ` billy
  2011-05-23  4:51     ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: billy @ 2011-05-23  3:41 UTC (permalink / raw)


In vmsnet.pdp-11 paramucho <paramucho@hotmail.com> wrote:

> With MENTEC gone the original version of RT-11 has been orphaned.

Various considerations have been brought up in this thread, but
not having the sources, to say nothing of permission to work on
V5.7 (which has other improvements and bug fixes, and from which
it would be best to continue), is a real show-stopper in itself.

And then, the last support email I received for the RT-11 Kermit
was so long ago (many years) it's now archived, so I can't easily
check the date.  The last for RSX was 11-Aug-2003, and the last
for RSTS was 20-Dec-2006.  My point being I don't think any of
these operating systems are still widely used.  Virtually all
of the inquiries over the last decade have been to ask how to
move data from a PDP-11 to another system.

That said, I still use RT-11 and TSX+, although their days as
videotape edit system controllers are now gone.  Hardly anyone
is even using tape anymore, and more recently even finding tape
(raw stock) for those who do want to use it has become difficult.

The last edit system hardware vendor (Editware), which bought
and took over the Tektronix edit systems, used to have a notice
on their web site telling people -

| At midnight of December 31, 1999, the date will change to
| 01-JAN-:0. Instead of rolling from 99 to 00, it rolls to ":0"
| (colon-zero). Then in 2001, it will roll to ":1" and so on.

They eventually bought V5.7, though.

My feeling is if someone wants to run RT-11 a hundred years from
now, it's highly unlikely it will be to get any real work done,
and they can just set the clock back accordingly.  Or this...

> Thinking about how emulators might be better able to preserve and
> extend the lives of historical operating systems by providing managed
> environments would be more productive IMO.

...would be a heck of a lot easier to do.

There are probably some improvements to be made, and bugs to be
fixed, but I'm happy enough with it now.  The only real problem
I can recall is a handler can not be deassigned while a read
completion routine for it is queued (you must exit the program),
but that's a rather minor thing, and a trade-off I agreed to with
DEC many years ago - that is, fixing this would be more trouble
than it's worth...

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23  3:41   ` billy
@ 2011-05-23  4:51     ` Johnny Billquist
  2011-05-23 14:47       ` jjh
  2011-05-23 14:48       ` Jerome H. Fine
  0 siblings, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-23  4:51 UTC (permalink / raw)


On 2011-05-22 20.41, billy@MIX.COM wrote:
> In vmsnet.pdp-11 paramucho<paramucho@hotmail.com>  wrote:
>
>> With MENTEC gone the original version of RT-11 has been orphaned.

Rumors have it that someone have bought the PDP-11 software from what 
was Mentec...

> Various considerations have been brought up in this thread, but
> not having the sources, to say nothing of permission to work on
> V5.7 (which has other improvements and bug fixes, and from which
> it would be best to continue), is a real show-stopper in itself.

Agree. It seems rather silly to fix code in an old version. It better to 
base the work on the latest release, which have already fixed a number 
of issues, and gives the opportunity to improve instead of repeating things

> And then, the last support email I received for the RT-11 Kermit
> was so long ago (many years) it's now archived, so I can't easily
> check the date.  The last for RSX was 11-Aug-2003, and the last
> for RSTS was 20-Dec-2006.  My point being I don't think any of
> these operating systems are still widely used.  Virtually all
> of the inquiries over the last decade have been to ask how to
> move data from a PDP-11 to another system.

RSX is still used in a whole bunch of places commercially. I know of 
several places in Sweden at least, where RSX is still used for 
production. Mostly embedded, but some interactive use as well.

I do not know of any RT-11 or RSTS/E places, though. But maybe someone 
else do?

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23  4:51     ` Johnny Billquist
@ 2011-05-23 14:47       ` jjh
  2011-05-23 15:04         ` Bill Gunshannon
  2011-05-23 14:48       ` Jerome H. Fine
  1 sibling, 1 reply; 146+ messages in thread
From: jjh @ 2011-05-23 14:47 UTC (permalink / raw)


On May 23, 12:51 am, Johnny Billquist <b...@softjar.se> wrote:
> On 2011-05-22 20.41, bi...@MIX.COM wrote:
>
> > In vmsnet.pdp-11 paramucho<paramu...@hotmail.com>  wrote:
>
> >> With MENTEC gone the original version of RT-11 has been orphaned.
>
> Rumors have it that someone have bought the PDP-11 software from what
> was Mentec...
>
> > Various considerations have been brought up in this thread, but
> > not having the sources, to say nothing of permission to work on
> > V5.7 (which has other improvements and bug fixes, and from which
> > it would be best to continue), is a real show-stopper in itself.
>
> Agree. It seems rather silly to fix code in an old version. It better to
> base the work on the latest release, which have already fixed a number
> of issues, and gives the opportunity to improve instead of repeating things
>
> > And then, the last support email I received for the RT-11 Kermit
> > was so long ago (many years) it's now archived, so I can't easily
> > check the date.  The last for RSX was 11-Aug-2003, and the last
> > for RSTS was 20-Dec-2006.  My point being I don't think any of
> > these operating systems are still widely used.  Virtually all
> > of the inquiries over the last decade have been to ask how to
> > move data from a PDP-11 to another system.
>
> RSX is still used in a whole bunch of places commercially. I know of
> several places in Sweden at least, where RSX is still used for
> production. Mostly embedded, but some interactive use as well.
>
> I do not know of any RT-11 or RSTS/E places, though. But maybe someone
> else do?
>
>         Johnny


Mentec gone? a pointer to details please?  (When?)

Hmmm,  not that I have the cycles for this, but....What are the legal
imediments to making an open source version of RT11, RSX11??
If there were patents, I am sure they would have run out.
(if this has been bantied around before, forgive me for bringing it up
again...)

The technical challenges would be interesting but to paraphrase a
quote from a "Field of Dreams",    If you build it, who would come???



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23  4:51     ` Johnny Billquist
  2011-05-23 14:47       ` jjh
@ 2011-05-23 14:48       ` Jerome H. Fine
  2011-05-23 22:46         ` Johnny Billquist
  2011-05-24  2:54         ` billy
  1 sibling, 2 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-23 14:48 UTC (permalink / raw)


 >Johnny Billquist wrote:

> >On 2011-05-22 20.41, billy@MIX.COM wrote:
>
>> In vmsnet.pdp-11 paramucho<paramucho@hotmail.com>  wrote:
>>
>>> With MENTEC gone the original version of RT-11 has been orphaned.
>>
> Rumors have it that someone have bought the PDP-11 software from what 
> was Mentec...

The rumours are probably correct.
If true, the information must still be VERY private.

>> Various considerations have been brought up in this thread, but
>> not having the sources, to say nothing of permission to work on
>> V5.7 (which has other improvements and bug fixes, and from which
>> it would be best to continue), is a real show-stopper in itself.
>
> Agree. It seems rather silly to fix code in an old version. It better 
> to base the work on the latest release, which have already fixed a 
> number of issues, and gives the opportunity to improve instead of 
> repeating things

Other than Y2K issues, I agree that V05.07 does have a few
items fixed, mostly minor (which experienced RT-11 users
would be able to fix all by themselves), but perhaps not all.
I believe that the ethernet device drivers were fixed by Megan
Gentry, but I don't use them so I can't comment.

While most RT-11 users will not encounter the bugs still
present, there are at least two which cause RT-11 to crash.
There are also many minor bugs which  need to be fixed.
Enhancements are also available, in particular, features which
would greatly help in the development of enhancements.

One enhancement would be an SN(X).SYS (Symbolic
Name Device List Pseudo Device Driver) which would
be similar to the PATH in DOS or the Symbolic Name
List in VMS.  Under RT-11, SN(X).SYS would be
limited to:
(a)  Device names and
(b)  Only the .LookUp EMT request for permanent files.
However, a request to .LookUp file "SN2:FOOBAR.TYP"
would be handled directly by the CSR after the user had
defined a set of device names (up to 16) to be searched.

As far as I know, no one else is interested in maintaining
or enhancing RT-11.  If I am wrong, please correct me.

>> And then, the last support email I received for the RT-11 Kermit
>> was so long ago (many years) it's now archived, so I can't easily
>> check the date.  The last for RSX was 11-Aug-2003, and the last
>> for RSTS was 20-Dec-2006.  My point being I don't think any of
>> these operating systems are still widely used.  Virtually all
>> of the inquiries over the last decade have been to ask how to
>> move data from a PDP-11 to another system.
>
> RSX is still used in a whole bunch of places commercially. I know of 
> several places in Sweden at least, where RSX is still used for 
> production. Mostly embedded, but some interactive use as well.

I suspect that RSX-11 is still used quite extensively, but since I never was
directly involved, I have no specific information.

> I do not know of any RT-11 or RSTS/E places, though. But maybe someone 
> else do?

As far as I know, a number of commercial systems still use RSTS/E
under emulators, in particular Ersatz-11.

As for RT-11 and TSX-Plus, there are also a number of commercial
systems in active operation.

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 14:47       ` jjh
@ 2011-05-23 15:04         ` Bill Gunshannon
  2011-05-23 22:52           ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-23 15:04 UTC (permalink / raw)


In article <d2d268b6-643b-4b9c-8cbe-52ecc18f4482@x6g2000yqj.googlegroups.com>,
	jjh <jjhudak@gmail.com> writes:
> On May 23, 12:51�am, Johnny Billquist <b...@softjar.se> wrote:
>> On 2011-05-22 20.41, bi...@MIX.COM wrote:
>>
>> > In vmsnet.pdp-11 paramucho<paramu...@hotmail.com> �wrote:
>>
>> >> With MENTEC gone the original version of RT-11 has been orphaned.
>>
>> Rumors have it that someone have bought the PDP-11 software from what
>> was Mentec...
>>
>> > Various considerations have been brought up in this thread, but
>> > not having the sources, to say nothing of permission to work on
>> > V5.7 (which has other improvements and bug fixes, and from which
>> > it would be best to continue), is a real show-stopper in itself.
>>
>> Agree. It seems rather silly to fix code in an old version. It better to
>> base the work on the latest release, which have already fixed a number
>> of issues, and gives the opportunity to improve instead of repeating things
>>
>> > And then, the last support email I received for the RT-11 Kermit
>> > was so long ago (many years) it's now archived, so I can't easily
>> > check the date. �The last for RSX was 11-Aug-2003, and the last
>> > for RSTS was 20-Dec-2006. �My point being I don't think any of
>> > these operating systems are still widely used. �Virtually all
>> > of the inquiries over the last decade have been to ask how to
>> > move data from a PDP-11 to another system.
>>
>> RSX is still used in a whole bunch of places commercially. I know of
>> several places in Sweden at least, where RSX is still used for
>> production. Mostly embedded, but some interactive use as well.
>>
>> I do not know of any RT-11 or RSTS/E places, though. But maybe someone
>> else do?
>>
>> � � � � Johnny
> Mentec gone? a pointer to details please?  (When?)

Clarification, Mentec is still around but they have (apparently)
stopped all development and even sales of PDP-11 products.

> Hmmm,  not that I have the cycles for this, but....What are the legal
> imediments to making an open source version of RT11, RSX11??

I guess that depends on what you mean.  If you mean using their code,
it still belongs to them and is not free for use (although some of us
are still hoping that might happen.)  If you mean writting it from
scratch using none of their code, that has always been a possibility.
I once inquired after interest in doing it for RSTS many years ago.
The result was zero interest.  I expect the same would be true today.

> If there were patents, I am sure they would have run out.

Patents, maybe but copyrights will be in effect until long after the
last PDP-11 is long forgotten.

> (if this has been bantied around before, forgive me for bringing it up
> again...)
> The technical challenges would be interesting but to paraphrase a
> quote from a "Field of Dreams",    If you build it, who would come???

Probably depends on just what you build.  A direct clone of any of them
that only ran on PDP-11 hardware would be of little if any value.  Now,
a clone that ran on other hardware and allowed modernization of the OS,
that would be another question.  Possibly no interest there either but
there is always potential.  But, again, it really depends on the if the
OSes do get released and what license they get saddled with.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 14:48       ` Jerome H. Fine
@ 2011-05-23 22:46         ` Johnny Billquist
  2011-05-24  0:19           ` Bill Gunshannon
  2011-05-24  2:54         ` billy
  1 sibling, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-23 22:46 UTC (permalink / raw)


On 2011-05-23 07.48, Jerome H. Fine wrote:
>  >Johnny Billquist wrote:
>
>> >On 2011-05-22 20.41, billy@MIX.COM wrote:
>>
>>> In vmsnet.pdp-11 paramucho<paramucho@hotmail.com> wrote:
>>>
>>>> With MENTEC gone the original version of RT-11 has been orphaned.
>>>
>> Rumors have it that someone have bought the PDP-11 software from what
>> was Mentec...
>
> The rumours are probably correct.

I believe they are.

> If true, the information must still be VERY private.

It would appear so. I would love to get more information out in the open.

>>> And then, the last support email I received for the RT-11 Kermit
>>> was so long ago (many years) it's now archived, so I can't easily
>>> check the date. The last for RSX was 11-Aug-2003, and the last
>>> for RSTS was 20-Dec-2006. My point being I don't think any of
>>> these operating systems are still widely used. Virtually all
>>> of the inquiries over the last decade have been to ask how to
>>> move data from a PDP-11 to another system.
>>
>> RSX is still used in a whole bunch of places commercially. I know of
>> several places in Sweden at least, where RSX is still used for
>> production. Mostly embedded, but some interactive use as well.
>
> I suspect that RSX-11 is still used quite extensively, but since I never
> was
> directly involved, I have no specific information.

But like I said, I do...

>> I do not know of any RT-11 or RSTS/E places, though. But maybe someone
>> else do?
>
> As far as I know, a number of commercial systems still use RSTS/E
> under emulators, in particular Ersatz-11.
>
> As for RT-11 and TSX-Plus, there are also a number of commercial
> systems in active operation.

For RSX, I know of places both still using real hardware, and places 
using emulators. At least one place I know of still run 11/23 models, 
while several run 11/9x machines (I know of both Unibus and Q-bus 
machines). I think all that I know of are using SCSI disks nowadays, 
though. The last RD5x I saw was seven years ago...

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 15:04         ` Bill Gunshannon
@ 2011-05-23 22:52           ` Johnny Billquist
  2011-05-24  0:16             ` Bill Gunshannon
  2011-05-24 12:02             ` paramucho
  0 siblings, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-23 22:52 UTC (permalink / raw)


On 2011-05-23 08.04, Bill Gunshannon wrote:
> In article<d2d268b6-643b-4b9c-8cbe-52ecc18f4482@x6g2000yqj.googlegroups.com>,
> 	jjh<jjhudak@gmail.com>  writes:
>> On May 23, 12:51 am, Johnny Billquist<b...@softjar.se>  wrote:
>>> On 2011-05-22 20.41, bi...@MIX.COM wrote:
>>>
>>>> In vmsnet.pdp-11 paramucho<paramu...@hotmail.com>    wrote:
>>>
>>>>> With MENTEC gone the original version of RT-11 has been orphaned.
>>>
>>> Rumors have it that someone have bought the PDP-11 software from what
>>> was Mentec...
>>>
>>>> Various considerations have been brought up in this thread, but
>>>> not having the sources, to say nothing of permission to work on
>>>> V5.7 (which has other improvements and bug fixes, and from which
>>>> it would be best to continue), is a real show-stopper in itself.
>>>
>>> Agree. It seems rather silly to fix code in an old version. It better to
>>> base the work on the latest release, which have already fixed a number
>>> of issues, and gives the opportunity to improve instead of repeating things
>>>
>>>> And then, the last support email I received for the RT-11 Kermit
>>>> was so long ago (many years) it's now archived, so I can't easily
>>>> check the date.  The last for RSX was 11-Aug-2003, and the last
>>>> for RSTS was 20-Dec-2006.  My point being I don't think any of
>>>> these operating systems are still widely used.  Virtually all
>>>> of the inquiries over the last decade have been to ask how to
>>>> move data from a PDP-11 to another system.
>>>
>>> RSX is still used in a whole bunch of places commercially. I know of
>>> several places in Sweden at least, where RSX is still used for
>>> production. Mostly embedded, but some interactive use as well.
>>>
>>> I do not know of any RT-11 or RSTS/E places, though. But maybe someone
>>> else do?
>>>
>>>          Johnny
>> Mentec gone? a pointer to details please?  (When?)
>
> Clarification, Mentec is still around but they have (apparently)
> stopped all development and even sales of PDP-11 products.

Or we could also say that Mentec Inc. seems to be gone, which was the 
part that actually did the PDP-11 stuff.

Mentec of Ireland is still around, but they have not played with PDP-11s 
in a very long time.

>> Hmmm,  not that I have the cycles for this, but....What are the legal
>> imediments to making an open source version of RT11, RSX11??
>
> I guess that depends on what you mean.  If you mean using their code,
> it still belongs to them and is not free for use (although some of us
> are still hoping that might happen.)  If you mean writting it from
> scratch using none of their code, that has always been a possibility.
> I once inquired after interest in doing it for RSTS many years ago.
> The result was zero interest.  I expect the same would be true today.
>
>> If there were patents, I am sure they would have run out.
>
> Patents, maybe but copyrights will be in effect until long after the
> last PDP-11 is long forgotten.

Yes. That pretty much sums it up. There are no patents involved. You can 
make a clone any day.
The actual code that makes up the OSes today is copyrighted by someone, 
which is what makes it impossible to just make that code "open source". 
Only the owner could make that.

>> (if this has been bantied around before, forgive me for bringing it up
>> again...)
>> The technical challenges would be interesting but to paraphrase a
>> quote from a "Field of Dreams",    If you build it, who would come???
>
> Probably depends on just what you build.  A direct clone of any of them
> that only ran on PDP-11 hardware would be of little if any value.  Now,
> a clone that ran on other hardware and allowed modernization of the OS,
> that would be another question.  Possibly no interest there either but
> there is always potential.  But, again, it really depends on the if the
> OSes do get released and what license they get saddled with.

In a way, a reimplementation of the PDP-11 OSes might be interesting. 
But I doubt many people today would see the point in using anything that 
didn't follow the Unix programming paradigms, no matter if a lot of 
coding problems would be much easier to solve using some other paradigm. 
(Then again, a lot of programming today takes place in HLL, which have 
also adopted to the Unix paradigms, which makes it even harder to use 
any other OS, not to mention that you'd need to develop compilers and so 
on, for this reimplemented OS.)

However, RSTS/E with a Unix RTS would be cool. :-)

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 22:52           ` Johnny Billquist
@ 2011-05-24  0:16             ` Bill Gunshannon
  2011-05-24  0:40               ` Johnny Billquist
  2011-05-24 12:02             ` paramucho
  1 sibling, 1 reply; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24  0:16 UTC (permalink / raw)


In article <ireog6$ksn$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> 
> In a way, a reimplementation of the PDP-11 OSes might be interesting. 
> But I doubt many people today would see the point in using anything that 
> didn't follow the Unix programming paradigms, 

I was waiting for this to come up.  I think most people think that
there are really only two OSes left in the world.  MS and Unix.
BUt, actually, thre are a lot of others out there including some
that predate MS and might even predate Unix and still have loyal
followings. (And I am not talking about VMS. :-)

>                                                no matter if a lot of 
> coding problems would be much easier to solve using some other paradigm. 

And if the paradigm actually made things better?  One has to wonder
how many of the people who eventually moved off of RSTS and RSX did
so because the hardware it ran on was not capable of keeping up with
the demands of their business.  Remember, no one buys an OS for the
OS, "It's the applications!!"  

> (Then again, a lot of programming today takes place in HLL, which have 
> also adopted to the Unix paradigms, which makes it even harder to use 
> any other OS, not to mention that you'd need to develop compilers and so 
> on, for this reimplemented OS.)

Once you moved to a mchine without the memory limitations of the PDP-11
you could use any of the GNU Compilers.  Or pretty much anything else
out there today.  All you would really need to develop would be the
support libraries.  I am still trying to find the time to dig out an
old version of GCC with the PDP-11 support in it to play with, just
lack the time.

> 
> However, RSTS/E with a Unix RTS would be cool. :-)

Had that 30 years ago.  Like so many ideas it was too far ahead of its
time and, withered on the vine, all the work was lost and now we will
have to re-invent the wheel once again.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 22:46         ` Johnny Billquist
@ 2011-05-24  0:19           ` Bill Gunshannon
  2011-05-24  0:43             ` Johnny Billquist
  2011-05-25 18:41             ` Jerome H. Fine
  0 siblings, 2 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24  0:19 UTC (permalink / raw)


In article <ireo44$krk$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> On 2011-05-23 07.48, Jerome H. Fine wrote:
>>  >Johnny Billquist wrote:
>>
>>> >On 2011-05-22 20.41, billy@MIX.COM wrote:
>>>
>>>> In vmsnet.pdp-11 paramucho<paramucho@hotmail.com> wrote:
>>>>
>>>>> With MENTEC gone the original version of RT-11 has been orphaned.
>>>>
>>> Rumors have it that someone have bought the PDP-11 software from what
>>> was Mentec...
>>
>> The rumours are probably correct.
> 
> I believe they are.
> 
>> If true, the information must still be VERY private.
> 
> It would appear so. I would love to get more information out in the open.
> 
>>>> And then, the last support email I received for the RT-11 Kermit
>>>> was so long ago (many years) it's now archived, so I can't easily
>>>> check the date. The last for RSX was 11-Aug-2003, and the last
>>>> for RSTS was 20-Dec-2006. My point being I don't think any of
>>>> these operating systems are still widely used. Virtually all
>>>> of the inquiries over the last decade have been to ask how to
>>>> move data from a PDP-11 to another system.
>>>
>>> RSX is still used in a whole bunch of places commercially. I know of
>>> several places in Sweden at least, where RSX is still used for
>>> production. Mostly embedded, but some interactive use as well.
>>
>> I suspect that RSX-11 is still used quite extensively, but since I never
>> was
>> directly involved, I have no specific information.
> 
> But like I said, I do...
> 
>>> I do not know of any RT-11 or RSTS/E places, though. But maybe someone
>>> else do?
>>
>> As far as I know, a number of commercial systems still use RSTS/E
>> under emulators, in particular Ersatz-11.
>>
>> As for RT-11 and TSX-Plus, there are also a number of commercial
>> systems in active operation.
> 
> For RSX, I know of places both still using real hardware, and places 
> using emulators. At least one place I know of still run 11/23 models, 
> while several run 11/9x machines (I know of both Unibus and Q-bus 
> machines). I think all that I know of are using SCSI disks nowadays, 
> though. The last RD5x I saw was seven years ago...

Just out of curiosity, what do they do on it?  I know a place that was
using PDP-11's running RSTS long after most people thought the PDP was
long dead.  Don't know if they still are, but I kinda doubt it.   But
I can definitely say that if RSTS ran on faster/bigger hardware than
a PDP-11 they probably would never have had a reason to leave it.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24  0:16             ` Bill Gunshannon
@ 2011-05-24  0:40               ` Johnny Billquist
  2011-05-24 12:58                 ` Bill Gunshannon
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24  0:40 UTC (permalink / raw)


On 2011-05-23 17.16, Bill Gunshannon wrote:
> In article<ireog6$ksn$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>>
>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>> But I doubt many people today would see the point in using anything that
>> didn't follow the Unix programming paradigms,
>
> I was waiting for this to come up.  I think most people think that
> there are really only two OSes left in the world.  MS and Unix.
> BUt, actually, thre are a lot of others out there including some
> that predate MS and might even predate Unix and still have loyal
> followings. (And I am not talking about VMS. :-)

Well, Windows more or less allows you to follow the Unix paradigm as 
well, when it comes to writing programs for the net. And so do VMS. And 
all other OSes that I know of. So really, I think that there is 
currently only one paradigm.
(Hello select(), synchronous I/O, getting errors back which basically 
just means that you need to retry, because nothing is wrong, but we just 
got interrupted, and random dynamically allocated file descriptors, and 
all files are just streams of bytes.)

>>                                                 no matter if a lot of
>> coding problems would be much easier to solve using some other paradigm.
>
> And if the paradigm actually made things better?  One has to wonder
> how many of the people who eventually moved off of RSTS and RSX did
> so because the hardware it ran on was not capable of keeping up with
> the demands of their business.  Remember, no one buys an OS for the
> OS, "It's the applications!!"

Many moved off just because of demands for more computing power, cheaper 
hardware, and perhaps even more because the software they needed to run 
didn't run on PDP-11s any more.

It all have very little to do with technical competence of the 
underlying OS.

>> (Then again, a lot of programming today takes place in HLL, which have
>> also adopted to the Unix paradigms, which makes it even harder to use
>> any other OS, not to mention that you'd need to develop compilers and so
>> on, for this reimplemented OS.)
>
> Once you moved to a mchine without the memory limitations of the PDP-11
> you could use any of the GNU Compilers.  Or pretty much anything else
> out there today.

No. You already failed right there. The GNU compilers them self assumes 
a whole lot of Unixy things.

>  All you would really need to develop would be the
> support libraries.  I am still trying to find the time to dig out an
> old version of GCC with the PDP-11 support in it to play with, just
> lack the time.

Support libraries are also an issue, yes. We need all the Unixy 
functions, or else it's pretty useless. :-/
Heck, gcc even have its built-in versions for a bunch of library 
functions, in order to inline them. Making everything even more exciting.

>> However, RSTS/E with a Unix RTS would be cool. :-)
>
> Had that 30 years ago.  Like so many ideas it was too far ahead of its
> time and, withered on the vine, all the work was lost and now we will
> have to re-invent the wheel once again.

Cool. I didn't know that anyone had actually done this, even though it's 
such an obvious thing to do.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24  0:19           ` Bill Gunshannon
@ 2011-05-24  0:43             ` Johnny Billquist
  2011-05-25 18:41             ` Jerome H. Fine
  1 sibling, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24  0:43 UTC (permalink / raw)


On 2011-05-23 17.19, Bill Gunshannon wrote:
> In article<ireo44$krk$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>> For RSX, I know of places both still using real hardware, and places
>> using emulators. At least one place I know of still run 11/23 models,
>> while several run 11/9x machines (I know of both Unibus and Q-bus
>> machines). I think all that I know of are using SCSI disks nowadays,
>> though. The last RD5x I saw was seven years ago...
>
> Just out of curiosity, what do they do on it?  I know a place that was
> using PDP-11's running RSTS long after most people thought the PDP was
> long dead.  Don't know if they still are, but I kinda doubt it.   But
> I can definitely say that if RSTS ran on faster/bigger hardware than
> a PDP-11 they probably would never have had a reason to leave it.

The 11/23 machines I know of are controlling a steel mill.
Other places include paper mills, petrol engine manufacturing (test 
benches), airplane manufacturing (test benches) and public transport.

But I haven't really searched through all of Sweden, but mostly just 
caught places somewhat near to where I used to live.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 14:48       ` Jerome H. Fine
  2011-05-23 22:46         ` Johnny Billquist
@ 2011-05-24  2:54         ` billy
  2011-05-24 13:03           ` Bill Gunshannon
  1 sibling, 1 reply; 146+ messages in thread
From: billy @ 2011-05-24  2:54 UTC (permalink / raw)


In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:

> Other than Y2K issues, I agree that V05.07 does have a few
> items fixed, mostly minor (which experienced RT-11 users
> would be able to fix all by themselves) [...]

How would they do this without having the sources?

I have disassembled a couple things, but even TRANSF, which
is a relatively simple piece of software, took some time to
do.  And that was only so I could stick it, along with Xmodem
and Kermit, into a single program, back when I was offering
dial-up access to the SIG tapes and other such software.

> I believe that the ethernet device drivers were fixed by
> Megan Gentry

Not that I can recall, but possibly...

> While most RT-11 users will not encounter the bugs still
> present, there are at least two which cause RT-11 to crash.

What exactly are these?

> There are also many minor bugs which need to be fixed.

And, what exactly are these?

Again, I'm asking mostly out of curiousity, but I would
like to know.  And, are you speaking about v5.7, or some
earlier release?

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-23 22:52           ` Johnny Billquist
  2011-05-24  0:16             ` Bill Gunshannon
@ 2011-05-24 12:02             ` paramucho
  1 sibling, 0 replies; 146+ messages in thread
From: paramucho @ 2011-05-24 12:02 UTC (permalink / raw)


On Mon, 23 May 2011 15:52:52 -0700, Johnny Billquist <bqt@softjar.se>
wrote:

>> Probably depends on just what you build.  A direct clone of any of them
>> that only ran on PDP-11 hardware would be of little if any value.  Now,
>> a clone that ran on other hardware and allowed modernization of the OS,
>> that would be another question.  Possibly no interest there either but
>> there is always potential.  But, again, it really depends on the if the
>> OSes do get released and what license they get saddled with.

VMS is that, in a way (as was NT for that matter). S&H remimplemented
their DEC-style TSX-plus system for Intel CPUs (TSX32) and have found
a niche market in the robust systems area. One could say that the two
prodominant traditions today are the DEC-based WINDOWS stream and the
Unix-based Linux/Chrome/Mac stream.

>In a way, a reimplementation of the PDP-11 OSes might be interesting. 

I've been slowly modernising my PDP-11 "reimplementation(s)" of RT-11.
These are based on systems my company developed commercially in Europe
in the 1980s. 

The current single-user kit, RUST/SJ, is basically rewritten RT-11,
minus MACRO, LINK and LIBR and plus many other things. The binary kit
is freely available at: http://rust.wikispaces.com/

The multi-user implementation, RUST/XM, is more-or-less ready for
distribution, I just have to find the time. The multi-user
implementation has some ability to run simple RSX apps. Some support
for Unix apps has been developed but never packaged.

I'll eventually upload all the sources. The main issue there is
getting rid of all the gunk which clutters the directories. Like some
other software houses in the period we developed in-house languages
(for the wont of anything better). I've been slowly rewriting the
stuff in the most obscure of the languages along with writing
replacements for the RT-11 drivers and system apps that we didn't
supply on the earlier kits. 

I'm sure there are still some PDP-11s doing meaningful work out there,
but those still using PDP-11s would certainly have had to become
self-reliant in the past two decades. I don't see any capacity for
PDP-11s to capture new customers. I think of PDP-11 systems more as
valuable vintage systems that deserve being kept polished and in
working order. I think that involves a bit more than just having a
period kit available with some cryptic instructions about how to boot
the system.


 




Ian


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24  0:40               ` Johnny Billquist
@ 2011-05-24 12:58                 ` Bill Gunshannon
  2011-05-24 14:02                   ` glen herrmannsfeldt
  2011-05-24 14:36                   ` Johnny Billquist
  0 siblings, 2 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 12:58 UTC (permalink / raw)


In article <ireupe$mqj$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> On 2011-05-23 17.16, Bill Gunshannon wrote:
>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>> 	Johnny Billquist<bqt@softjar.se>  writes:
>>>
>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>> But I doubt many people today would see the point in using anything that
>>> didn't follow the Unix programming paradigms,
>>
>> I was waiting for this to come up.  I think most people think that
>> there are really only two OSes left in the world.  MS and Unix.
>> BUt, actually, thre are a lot of others out there including some
>> that predate MS and might even predate Unix and still have loyal
>> followings. (And I am not talking about VMS. :-)
> 
> Well, Windows more or less allows you to follow the Unix paradigm as 
> well, when it comes to writing programs for the net. 

Minus the security model.  :-)

>                                                       And so do VMS. 

Minus little things like fork();  :-)

>                                                                      And 
> all other OSes that I know of. 

Primos?  (Yes, it is still in use.  I know the guy with the license
to maintain it.)  OS2200?  (I just spoke with people about that and
it is nothing but 1100 Exec all growed up.  Old 1100 code still works
just fine and even all that old old documentation I kept from 30 years
ago is still valid!)  xOS?  (Well, you can run Linux on top of it.)
Ansi-M/Mumps?  (Probably twice as many users as VMS if not much more.
I don't think any one is counting but there are 10's of thousands of
users of just one major application that is written in Ansi-M).

I have had my eyes opened quite a bit in the last year since I started
looking at what was available outside of academia.

<                                  So really, I think that there is 
> currently only one paradigm.

Or so academ,ia would have people believe.  Just like the mantra"COBOL
is Dead".

> (Hello select(), synchronous I/O, getting errors back which basically 
> just means that you need to retry, because nothing is wrong, but we just 
> got interrupted, and random dynamically allocated file descriptors, and 
> all files are just streams of bytes.)

Lot's of systems where that is not necessarily the case.  Definitely not
the case with VMS.

> 
>>>                                                 no matter if a lot of
>>> coding problems would be much easier to solve using some other paradigm.
>>
>> And if the paradigm actually made things better?  One has to wonder
>> how many of the people who eventually moved off of RSTS and RSX did
>> so because the hardware it ran on was not capable of keeping up with
>> the demands of their business.  Remember, no one buys an OS for the
>> OS, "It's the applications!!"
> 
> Many moved off just because of demands for more computing power, cheaper 
> hardware, 

I agree up to here.

>           and perhaps even more because the software they needed to run 
> didn't run on PDP-11s any more.

I would imagine the majority were running applications that were stable
and met their corporate needs just fine as they had been running them
for decades.  The problem was the need to have additional functionality
that the hardware (primarily memory) limitations made impossible.  If
it had been possible to add that functionality I would bet most would
have stayed with the OS they were familiar with.  And, avoided the cost
of not only moving to a new platform but re-writting all their unique
application or changing their business model to match some other piece
of software's idea of how a business should be run.

> 
> It all have very little to do with technical competence of the 
> underlying OS.

Oh, I can agree with that.  As I said, "It's the applications!!"
But, by the same token, the move to a new OS was not because of
a shortcoming in the old OS.  Unisys has been very successful by
making systems that still allow old code to continue to run only
with greater resources available (I remember a particular problem
I had to solve in my Univac COBOL days that was eventually tracked
down specifically to memory availability!!  That same code would
run on OS2200 today without ever exhibiting the problem I had to
fix by modifying the supporting ECL.)  IBM has had great success
by doing the same for SYSTEM-360 programs. 

> 
>>> (Then again, a lot of programming today takes place in HLL, which have
>>> also adopted to the Unix paradigms, which makes it even harder to use
>>> any other OS, not to mention that you'd need to develop compilers and so
>>> on, for this reimplemented OS.)
>>
>> Once you moved to a mchine without the memory limitations of the PDP-11
>> you could use any of the GNU Compilers.  Or pretty much anything else
>> out there today.
> 
> No. You already failed right there. The GNU compilers them self assumes 
> a whole lot of Unixy things.

Hmmm....  Not so sure about that, but even if true I would imagine it
would not be a major undertaking to make the needed modifications.  And,
there are other options.  Again, all of it depends on the model that
needs to be used.  If all the original code were to be released with a
commercial friendly license one could modify the back-end to support
the new architecture.  If you have to start from scratch then you need
to start by finding a suitable compiler (and language).  And, speaking
of language, even if the original code was released much of it is in
PDP-11 Macro and would need to be re-written using the original only
as a model.  That adds the question of what language do you write it
in?  Don't get me wrong, I like C.  I am good at C. I do not make a
lot of the mistakes that C is famous for.  But......  I would probably
not choose C as the language to use for reasons I should not have to
deliniate here!!  :-)

> 
>>  All you would really need to develop would be the
>> support libraries.  I am still trying to find the time to dig out an
>> old version of GCC with the PDP-11 support in it to play with, just
>> lack the time.
> 
> Support libraries are also an issue, yes. We need all the Unixy 
> functions, 

Eventually.  They open up a lot of possibilities.  But then, if 
you are re-writting from scratch it makes it a good time to make 
the needed changes and additions.

>             or else it's pretty useless. :-/

Do your current RSX users find it useless?  Then why are they
still there?  Same goes for all those OSes I mentioned above.
Again, as much as I like Unix (and I have been doing it since
1980) it is not the only answer to any problem.

> Heck, gcc even have its built-in versions for a bunch of library 
> functions, in order to inline them. Making everything even more exciting.

Depending on the function, that's probably not really a problem.
It is likely that in the long run those same functions might be
wanted under RSTS and RSX as well.

> 
>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>
>> Had that 30 years ago.  Like so many ideas it was too far ahead of its
>> time and, withered on the vine, all the work was lost and now we will
>> have to re-invent the wheel once again.
> 
> Cool. I didn't know that anyone had actually done this, even though it's 
> such an obvious thing to do.

OK, to be honest, it was not what you would call an RTS. :-)  I was
refering to one of my pet peeves.  The Software Tools Virtual Operating
System which was probably more of a POSIX-like API than an RTS.  But
the idea was there.  Let Unix software run on non-Unix systems.  And
the list of supported systems is mind-boggling!!

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24  2:54         ` billy
@ 2011-05-24 13:03           ` Bill Gunshannon
  2011-05-24 14:39             ` Johnny Billquist
  2011-05-24 14:42             ` billy
  0 siblings, 2 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 13:03 UTC (permalink / raw)


In article <irf6lk$ckq$1@reader1.panix.com>,
	billy@MIX.COM writes:
> In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> wrote:
> 
>> Other than Y2K issues, I agree that V05.07 does have a few
>> items fixed, mostly minor (which experienced RT-11 users
>> would be able to fix all by themselves) [...]
> 
> How would they do this without having the sources?
> 
> I have disassembled a couple things, but even TRANSF, which
> is a relatively simple piece of software, took some time to
> do.  And that was only so I could stick it, along with Xmodem
> and Kermit, into a single program, back when I was offering
> dial-up access to the SIG tapes and other such software.
 
Do you still offer any kind of access to SIG Tapes? Which ones?
I have some things I am still trying to find that would have
been on SIG Tapes at one point or another.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 12:58                 ` Bill Gunshannon
@ 2011-05-24 14:02                   ` glen herrmannsfeldt
  2011-05-24 14:36                   ` Johnny Billquist
  1 sibling, 0 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-24 14:02 UTC (permalink / raw)


In vmsnet.pdp-11 Bill Gunshannon <billg999@cs.uofs.edu> wrote:

(big snip)

> Oh, I can agree with that.  As I said, "It's the applications!!"
> But, by the same token, the move to a new OS was not because of
> a shortcoming in the old OS.  Unisys has been very successful by
> making systems that still allow old code to continue to run only
> with greater resources available (I remember a particular problem
> I had to solve in my Univac COBOL days that was eventually tracked
> down specifically to memory availability!!  That same code would
> run on OS2200 today without ever exhibiting the problem I had to
> fix by modifying the supporting ECL.)  IBM has had great success
> by doing the same for SYSTEM-360 programs. 

Well, z/OS supports OS/360 programs using the OS/360 addressing.

ESA/390 supports both 24 and 31 bit addressing, such that old
programs (user mode) still run the old way.  z/OS supports 24, 31,
and 64 bit addressing.  Programs compiled (or assembled) and linked
on OS/360 still run on z/OS.  In most cases, though, they have
enough more memory available that they run better.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 12:58                 ` Bill Gunshannon
  2011-05-24 14:02                   ` glen herrmannsfeldt
@ 2011-05-24 14:36                   ` Johnny Billquist
  2011-05-24 16:42                     ` Bill Gunshannon
  2011-05-25  2:59                     ` Jerome H. Fine
  1 sibling, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24 14:36 UTC (permalink / raw)


On 2011-05-24 05.58, Bill Gunshannon wrote:
> In article<ireupe$mqj$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>>
>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>> But I doubt many people today would see the point in using anything that
>>>> didn't follow the Unix programming paradigms,
>>>
>>> I was waiting for this to come up.  I think most people think that
>>> there are really only two OSes left in the world.  MS and Unix.
>>> BUt, actually, thre are a lot of others out there including some
>>> that predate MS and might even predate Unix and still have loyal
>>> followings. (And I am not talking about VMS. :-)
>>
>> Well, Windows more or less allows you to follow the Unix paradigm as
>> well, when it comes to writing programs for the net.
>
> Minus the security model.  :-)

True. But the security model of Unix itself isn't exactly something to 
boast about. :-)

>>                                                        And so do VMS.
>
> Minus little things like fork();  :-)

Good point. There are some things that are more of an headache to emulate.
Still, lots of Unix programs can be compiled and run on VMS systems with 
little, or no change. And Unix programmers can write programs on a VMS 
system without really having to go outside their comfort zone for most 
of the time. It might not be programs that really take any advantage of 
VMS, but then again, they don't care.

>>                                                                       And
>> all other OSes that I know of.

[List of other OSes...]

I don't know for sure how any of those OSes look from a programming 
point of view, but if any work's been done on the core system the last 
20 years, I wouldn't be surprised if it was to make it more Unix-like.

>> (Hello select(), synchronous I/O, getting errors back which basically
>> just means that you need to retry, because nothing is wrong, but we just
>> got interrupted, and random dynamically allocated file descriptors, and
>> all files are just streams of bytes.)
>
> Lot's of systems where that is not necessarily the case.  Definitely not
> the case with VMS.

It's definitely the case with VMS. Yes, the above statements are not 
*neccesarily* true for VMS, but a programmer *can* program with this 
approach on VMS, and almost all programmers today implicitly assumes 
that these statements are truths.

So, even though you have an OS that offers you other possibilities, 
noone knows, or can use them. (Ok, noone is an oversimplification, but 
you get the idea.)

>>>>                                                  no matter if a lot of
>>>> coding problems would be much easier to solve using some other paradigm.
>>>
>>> And if the paradigm actually made things better?  One has to wonder
>>> how many of the people who eventually moved off of RSTS and RSX did
>>> so because the hardware it ran on was not capable of keeping up with
>>> the demands of their business.  Remember, no one buys an OS for the
>>> OS, "It's the applications!!"
>>
>> Many moved off just because of demands for more computing power, cheaper
>> hardware,
>
> I agree up to here.

Since it was more or less what you wrote. ;-)

>>            and perhaps even more because the software they needed to run
>> didn't run on PDP-11s any more.
>
> I would imagine the majority were running applications that were stable
> and met their corporate needs just fine as they had been running them
> for decades.  The problem was the need to have additional functionality
> that the hardware (primarily memory) limitations made impossible.  If
> it had been possible to add that functionality I would bet most would
> have stayed with the OS they were familiar with.  And, avoided the cost
> of not only moving to a new platform but re-writting all their unique
> application or changing their business model to match some other piece
> of software's idea of how a business should be run.

Well, in many cases, new requests for more functions, new features, or 
additional applications do come in. And that's when systems get replaced.

So yes, the current applications are stable and working. But that is not 
enough. If that was all there is, then there wouldn't be any need for 
more computing power either. If the current setup already fulfills the 
needs, that would imply that the current computing power also is 
sufficient, no?

>> It all have very little to do with technical competence of the
>> underlying OS.
>
> Oh, I can agree with that.  As I said, "It's the applications!!"
> But, by the same token, the move to a new OS was not because of
> a shortcoming in the old OS.  Unisys has been very successful by
> making systems that still allow old code to continue to run only
> with greater resources available (I remember a particular problem
> I had to solve in my Univac COBOL days that was eventually tracked
> down specifically to memory availability!!  That same code would
> run on OS2200 today without ever exhibiting the problem I had to
> fix by modifying the supporting ECL.)  IBM has had great success
> by doing the same for SYSTEM-360 programs.

Yes. It's the typical question of being able to run the applications.
Rewriting, and porting applications can be both expensive and difficult. 
Cheaper to continue running on the old systems, when possible.

I guess we forgot about one reason why people move off old OSes. Cost of 
running and maintaining old hardware. At some point it might just become 
impractical to continue running on the old machines.
The PDP-11 was in that aspect perhaps a bit unfortunate, in that there 
was a long gap between when DEC more or less wanted (forced?) people to 
to migrate to VAXen, and before commercial emulators became available. 
Thus forcing a lot of migration to take place, because to viable options 
existed.

>>>> (Then again, a lot of programming today takes place in HLL, which have
>>>> also adopted to the Unix paradigms, which makes it even harder to use
>>>> any other OS, not to mention that you'd need to develop compilers and so
>>>> on, for this reimplemented OS.)
>>>
>>> Once you moved to a mchine without the memory limitations of the PDP-11
>>> you could use any of the GNU Compilers.  Or pretty much anything else
>>> out there today.
>>
>> No. You already failed right there. The GNU compilers them self assumes
>> a whole lot of Unixy things.
>
> Hmmm....  Not so sure about that, but even if true I would imagine it
> would not be a major undertaking to make the needed modifications.

The horrors! I have peeked under the hood of gcc. It's not a piece of 
code I would ever consider easy to modify. :-)

>  And,
> there are other options.  Again, all of it depends on the model that
> needs to be used.  If all the original code were to be released with a
> commercial friendly license one could modify the back-end to support
> the new architecture.  If you have to start from scratch then you need
> to start by finding a suitable compiler (and language).  And, speaking
> of language, even if the original code was released much of it is in
> PDP-11 Macro and would need to be re-written using the original only
> as a model.  That adds the question of what language do you write it
> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
> lot of the mistakes that C is famous for.  But......  I would probably
> not choose C as the language to use for reasons I should not have to
> deliniate here!!  :-)

Good question. I have no idea what I would write in. I love MACRO-11, 
but I'm not sure people in general would want to fool around in 
assembler. And I also agree that C is not always ideal. But I don't know 
what language I would recommend.

>>>   All you would really need to develop would be the
>>> support libraries.  I am still trying to find the time to dig out an
>>> old version of GCC with the PDP-11 support in it to play with, just
>>> lack the time.
>>
>> Support libraries are also an issue, yes. We need all the Unixy
>> functions,
>
> Eventually.  They open up a lot of possibilities.  But then, if
> you are re-writting from scratch it makes it a good time to make
> the needed changes and additions.

Yes. If we do something from scratch, all the options are there. But 
other programmers will probable have a hard time to understand how to 
use it all. They'd try to write the Unix way, I'm afraid. :-)

>>              or else it's pretty useless. :-/
>
> Do your current RSX users find it useless?

Current RSX users do not have gcc. :-)
Very few RSX users even program in C (on RSX).
But the DEC C compiler for RSX does its best to present something that 
is Unix-y, including as much of the standard C libraries as possible. 
Things that are missing is mainly fork(), select() and pipes. And 
anything socket related. But skipping that, you can write a program in 
RSX pretty much the same way as on any Unix system. Not that you take 
any advantage of anything that RSX is good at, but that was my point.

If you provide a C compiler, you pretty much have to provide something 
that smells like Unix, or else it gets pretty useless, since people 
expect any C environment to also work like a Unix environment.

 >  Then why are they
> still there?  Same goes for all those OSes I mentioned above.
> Again, as much as I like Unix (and I have been doing it since
> 1980) it is not the only answer to any problem.

It definitely is not, but that was not my point.

>> Heck, gcc even have its built-in versions for a bunch of library
>> functions, in order to inline them. Making everything even more exciting.
>
> Depending on the function, that's probably not really a problem.
> It is likely that in the long run those same functions might be
> wanted under RSTS and RSX as well.

They are very Unix-y and C-y. But sure, they are useful. Most functions 
in the C library are useful. They just might not match the paradigms of 
a non-Unix environment.
Most typically, that would be such a simple concept as strings for example.

>>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>>
>>> Had that 30 years ago.  Like so many ideas it was too far ahead of its
>>> time and, withered on the vine, all the work was lost and now we will
>>> have to re-invent the wheel once again.
>>
>> Cool. I didn't know that anyone had actually done this, even though it's
>> such an obvious thing to do.
>
> OK, to be honest, it was not what you would call an RTS. :-)  I was
> refering to one of my pet peeves.  The Software Tools Virtual Operating
> System which was probably more of a POSIX-like API than an RTS.  But
> the idea was there.  Let Unix software run on non-Unix systems.  And
> the list of supported systems is mind-boggling!!

Ah. Darn. I was thinking of a real RTS. Just copy your Unix binary onto 
your RSTS/E system, set it to use the right RTS, and then just run it.
That should be very doable (maybe even easy), with the RSTS/E RTS 
design. It's a really cool concept.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 13:03           ` Bill Gunshannon
@ 2011-05-24 14:39             ` Johnny Billquist
  2011-05-24 15:10               ` billy
  2011-05-24 16:54               ` Bill Gunshannon
  2011-05-24 14:42             ` billy
  1 sibling, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24 14:39 UTC (permalink / raw)


On 2011-05-24 06.03, Bill Gunshannon wrote:
> In article<irf6lk$ckq$1@reader1.panix.com>,
> 	billy@MIX.COM writes:
>> In vmsnet.pdp-11 Jerome H. Fine<everyone@nospam.com>  wrote:
>>
>>> Other than Y2K issues, I agree that V05.07 does have a few
>>> items fixed, mostly minor (which experienced RT-11 users
>>> would be able to fix all by themselves) [...]
>>
>> How would they do this without having the sources?
>>
>> I have disassembled a couple things, but even TRANSF, which
>> is a relatively simple piece of software, took some time to
>> do.  And that was only so I could stick it, along with Xmodem
>> and Kermit, into a single program, back when I was offering
>> dial-up access to the SIG tapes and other such software.
>
> Do you still offer any kind of access to SIG Tapes? Which ones?
> I have some things I am still trying to find that would have
> been on SIG Tapes at one point or another.

Have you checked trailing-edge? Or else ftp.update.uu.se. I know we have 
a bunch of old RT-11 sig tapes in there...

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 13:03           ` Bill Gunshannon
  2011-05-24 14:39             ` Johnny Billquist
@ 2011-05-24 14:42             ` billy
  2011-05-24 16:56               ` Bill Gunshannon
  2011-05-25 18:05               ` Jerome H. Fine
  1 sibling, 2 replies; 146+ messages in thread
From: billy @ 2011-05-24 14:42 UTC (permalink / raw)


In vmsnet.pdp-11 Bill Gunshannon <billg999@cs.uofs.edu> wrote:

> Do you still offer any kind of access to SIG Tapes? Which ones?
> I have some things I am still trying to find that would have
> been on SIG Tapes at one point or another.

Tim Shoppa copied my entire collection to the Sunsite at UNC.
That has since become -

http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:39             ` Johnny Billquist
@ 2011-05-24 15:10               ` billy
  2011-05-24 15:48                 ` Johnny Billquist
  2011-05-24 16:54               ` Bill Gunshannon
  1 sibling, 1 reply; 146+ messages in thread
From: billy @ 2011-05-24 15:10 UTC (permalink / raw)


In vmsnet.pdp-11 Johnny Billquist <bqt@softjar.se> wrote:

> Have you checked trailing-edge? Or else ftp.update.uu.se.

I also copied some things to Uppsala University, and in a
quick look I see some misc software not from the SIG tapes
(which I haven't yet found at the UNC site) is there.

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 15:10               ` billy
@ 2011-05-24 15:48                 ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24 15:48 UTC (permalink / raw)


On 2011-05-24 08.10, billy@MIX.COM wrote:
> In vmsnet.pdp-11 Johnny Billquist<bqt@softjar.se>  wrote:
>
>> Have you checked trailing-edge? Or else ftp.update.uu.se.
>
> I also copied some things to Uppsala University, and in a
> quick look I see some misc software not from the SIG tapes
> (which I haven't yet found at the UNC site) is there.

Noone have really been taking care of the RT-11 parts, but the stuff 
there should still be good.
I occasionally try to update the RSX pieces. :-)

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:36                   ` Johnny Billquist
@ 2011-05-24 16:42                     ` Bill Gunshannon
  2011-05-24 18:17                       ` Johnny Billquist
  2011-05-26  8:03                       ` Fritz Wuehler
  2011-05-25  2:59                     ` Jerome H. Fine
  1 sibling, 2 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 16:42 UTC (permalink / raw)


In article <irgfp7$382$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> On 2011-05-24 05.58, Bill Gunshannon wrote:
>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>> 	Johnny Billquist<bqt@softjar.se>  writes:
>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>>>
>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>> But I doubt many people today would see the point in using anything that
>>>>> didn't follow the Unix programming paradigms,
>>>>
>>>> I was waiting for this to come up.  I think most people think that
>>>> there are really only two OSes left in the world.  MS and Unix.
>>>> BUt, actually, thre are a lot of others out there including some
>>>> that predate MS and might even predate Unix and still have loyal
>>>> followings. (And I am not talking about VMS. :-)
>>>
>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>> well, when it comes to writing programs for the net.
>>
>> Minus the security model.  :-)
> 
> True. But the security model of Unix itself isn't exactly something to 
> boast about. :-)

I'll take it over the MS model anyday.

> 
>>>                                                        And so do VMS.
>>
>> Minus little things like fork();  :-)
> 
> Good point. There are some things that are more of an headache to emulate.
> Still, lots of Unix programs can be compiled and run on VMS systems with 
> little, or no change. 

Yes, but not the majority of the ones people actually want.  :-)

>                       And Unix programmers can write programs on a VMS 
> system without really having to go outside their comfort zone for most 
> of the time. 

Mostly depends on the complexity of the program.  Hello World works
just fine on either.  Try UXKermit which falt out requires the
functionality provided by fork() and it is really a trivial program.
or even something like "configure".

>               It might not be programs that really take any advantage of 
> VMS, but then again, they don't care.

And it is probably why so little of the Unix based Open Source stuff
ever makes it to VMS.

> 
>>>                                                                       And
>>> all other OSes that I know of.
> 
> [List of other OSes...]
> 
> I don't know for sure how any of those OSes look from a programming 
> point of view, but if any work's been done on the core system the last 
> 20 years, I wouldn't be surprised if it was to make it more Unix-like.

I can assure you that there have been little if any attempts and probably
no desire for most of them.
Primos.  No real development.  Probably the worst example except for
the fact that as dead as it is (and for as long as it has been)  it
still has a rather large user base.  There was a layered system called
Primix but it has not survived as no one appeared to be interested in
it. (Think Eunice.  :-)

OS2200.  As I said, the only interest was in keeping it compatable
with 1100 Exec from 30 years ago.

One thing these both have in common was that there was a version of
The Software Tools Virtual OS for both of them giving them a Unix-like
API compatable with what Unix was 30 years ago.

ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
contained system with its own DB built in and there is no desire to
have look, run, or be programmed as anything other than MUMPS.  In
all these cases you see the same loyalty I would have had for something
like RSTS if it had grown beyond the limitations of the PDP-11 hard-
ware.  Johnny, I get the feeling from reading your posts that you
probably look on RSX the same way.

> 
>>> (Hello select(), synchronous I/O, getting errors back which basically
>>> just means that you need to retry, because nothing is wrong, but we just
>>> got interrupted, and random dynamically allocated file descriptors, and
>>> all files are just streams of bytes.)
>>
>> Lot's of systems where that is not necessarily the case.  Definitely not
>> the case with VMS.
> 
> It's definitely the case with VMS. Yes, the above statements are not 
> *neccesarily* true for VMS, but a programmer *can* program with this 
> approach on VMS, and almost all programmers today implicitly assumes 
> that these statements are truths.

As one who hung out on c.o.v for a long time and worked with VMS
for a couple of decades I have to disagree.  The idea that files
are streams of bytes without structure at the lowest level has to
be the most touted problem/shortcoming in Unix among that group.

> 
> So, even though you have an OS that offers you other possibilities, 
> noone knows, or can use them. (Ok, noone is an oversimplification, but 
> you get the idea.)

But with the amount of stuff that was already out there......

And let's look at my list again. MUMPS?  How many people use or are
proficient in it?  And yet, it has a massive following and has moved
into niches it was never really intended to go to.

And at a smaller level, what about COBOL?  No longer taught in any
school I can find as more than an afterthought. (We dropped it as a
subject more than 10 years ago and at that point the department chair
cannot remember the last time it was actually offered.  A single
credit's worth of COBOL was included in one course here but even
that was dropped 5 years ago.)  And yet still so much in demand
the a company the size of General Dynamics recently advertised an
Internship where the primary function is to learn to program in
COBOL.  Why?  Because they are still writting and maintaining very
large COBOL systems and academia is not providing people with the
requisite skills so they have to revert back to the methods od the
60's and early 70's and do it themselves.

Not all things are obsolete because one man thinks so, not even
if his name is Gartner.

> 
>>>>>                                                  no matter if a lot of
>>>>> coding problems would be much easier to solve using some other paradigm.
>>>>
>>>> And if the paradigm actually made things better?  One has to wonder
>>>> how many of the people who eventually moved off of RSTS and RSX did
>>>> so because the hardware it ran on was not capable of keeping up with
>>>> the demands of their business.  Remember, no one buys an OS for the
>>>> OS, "It's the applications!!"
>>>
>>> Many moved off just because of demands for more computing power, cheaper
>>> hardware,
>>
>> I agree up to here.
> 
> Since it was more or less what you wrote. ;-)
> 
>>>            and perhaps even more because the software they needed to run
>>> didn't run on PDP-11s any more.
>>
>> I would imagine the majority were running applications that were stable
>> and met their corporate needs just fine as they had been running them
>> for decades.  The problem was the need to have additional functionality
>> that the hardware (primarily memory) limitations made impossible.  If
>> it had been possible to add that functionality I would bet most would
>> have stayed with the OS they were familiar with.  And, avoided the cost
>> of not only moving to a new platform but re-writting all their unique
>> application or changing their business model to match some other piece
>> of software's idea of how a business should be run.
> 
> Well, in many cases, new requests for more functions, new features, or 
> additional applications do come in. And that's when systems get replaced.

But is that replacement because the OS is deficient or because the
hardware running it lacks the capability to handle the expansion?
Simple example.  What about RSTS (not the PDP-11) makes X-11 un-doable?

> 
> So yes, the current applications are stable and working. But that is not 
> enough. If that was all there is, then there wouldn't be any need for 
> more computing power either. If the current setup already fulfills the 
> needs, that would imply that the current computing power also is 
> sufficient, no?

No, not necessarily.  Something as simple as the amount of data
that needs to be handled has increased beyond the addressing
capabilities of the host hardware.  Best example for this is to
drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
break them up into a whole lot of really samll partitions.  Or,
look at Ultrix-11 or BSD-2.11.  What is there about either of
these that would prevent most modern programs from being built
that isn't actually due to a hardware limitation of the platform?
Rhetorical question that is answered by looking at BSD 4.x and
the current crop of BSD's.

> 
>>> It all have very little to do with technical competence of the
>>> underlying OS.
>>
>> Oh, I can agree with that.  As I said, "It's the applications!!"
>> But, by the same token, the move to a new OS was not because of
>> a shortcoming in the old OS.  Unisys has been very successful by
>> making systems that still allow old code to continue to run only
>> with greater resources available (I remember a particular problem
>> I had to solve in my Univac COBOL days that was eventually tracked
>> down specifically to memory availability!!  That same code would
>> run on OS2200 today without ever exhibiting the problem I had to
>> fix by modifying the supporting ECL.)  IBM has had great success
>> by doing the same for SYSTEM-360 programs.
> 
> Yes. It's the typical question of being able to run the applications.
> Rewriting, and porting applications can be both expensive and difficult. 
> Cheaper to continue running on the old systems, when possible.
> 
> I guess we forgot about one reason why people move off old OSes. Cost of 
> running and maintaining old hardware. At some point it might just become 
> impractical to continue running on the old machines.

Which is the point I was trying to make.  Frequently it is not the
application or the OS that causes the impracticality.  It is the 
hardware.  And thus my interest in seeing RSTS and yes, RSX run on
other platforms.  It seems to have worked out quite well for Unisys.

> The PDP-11 was in that aspect perhaps a bit unfortunate, in that there 
> was a long gap between when DEC more or less wanted (forced?) people to 
> to migrate to VAXen, and before commercial emulators became available. 
> Thus forcing a lot of migration to take place, because to viable options 
> existed.

Well, it is probably all academic at this point, but, who knows,
maybe there are still enough people out there doing stuff that
there is a remaining need for a port of RSTS or RSX to modern
hardware.  It would be fun to do in any case.

> 
>>>>> (Then again, a lot of programming today takes place in HLL, which have
>>>>> also adopted to the Unix paradigms, which makes it even harder to use
>>>>> any other OS, not to mention that you'd need to develop compilers and so
>>>>> on, for this reimplemented OS.)
>>>>
>>>> Once you moved to a mchine without the memory limitations of the PDP-11
>>>> you could use any of the GNU Compilers.  Or pretty much anything else
>>>> out there today.
>>>
>>> No. You already failed right there. The GNU compilers them self assumes
>>> a whole lot of Unixy things.
>>
>> Hmmm....  Not so sure about that, but even if true I would imagine it
>> would not be a major undertaking to make the needed modifications.
> 
> The horrors! I have peeked under the hood of gcc. It's not a piece of 
> code I would ever consider easy to modify. :-)

And, depending on the language, there are other alternatives.  Heck,
you want C?  Any guess how hard it would be to write a new backend
for DECUS-C?  :-)  And then we also have Algol. :-)  And isn't there
a Pascal in the DECUS collection?  What other languages are languishing
on tapes in various peoples storage lockers?

> 
>>  And,
>> there are other options.  Again, all of it depends on the model that
>> needs to be used.  If all the original code were to be released with a
>> commercial friendly license one could modify the back-end to support
>> the new architecture.  If you have to start from scratch then you need
>> to start by finding a suitable compiler (and language).  And, speaking
>> of language, even if the original code was released much of it is in
>> PDP-11 Macro and would need to be re-written using the original only
>> as a model.  That adds the question of what language do you write it
>> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
>> lot of the mistakes that C is famous for.  But......  I would probably
>> not choose C as the language to use for reasons I should not have to
>> deliniate here!!  :-)
> 
> Good question. I have no idea what I would write in. I love MACRO-11, 

There is an interesting point in itself.  Is there really any reason
you can think of that would prevent someone from writting something
that took MACRO-11 and output executable code for some other CPU?
Isn;t that what was done ont he VMS move to Alpha? Wasn't there a
program that could take MACRO-32 and generate Alpha binaries?

> but I'm not sure people in general would want to fool around in 
> assembler. And I also agree that C is not always ideal. But I don't know 
> what language I would recommend.

PL/I is pretty good.  Much of Primos was written in a dialect of it.
Ada?  I understand that has become king in Europe.  And I am certainly
comfortable coding in it.  And with a few decent extensions that can
be found in most dialects anyway Pascal is a pretty good system level
language.

> 
>>>>   All you would really need to develop would be the
>>>> support libraries.  I am still trying to find the time to dig out an
>>>> old version of GCC with the PDP-11 support in it to play with, just
>>>> lack the time.
>>>
>>> Support libraries are also an issue, yes. We need all the Unixy
>>> functions,
>>
>> Eventually.  They open up a lot of possibilities.  But then, if
>> you are re-writting from scratch it makes it a good time to make
>> the needed changes and additions.
> 
> Yes. If we do something from scratch, all the options are there. But 
> other programmers will probable have a hard time to understand how to 
> use it all. They'd try to write the Unix way, I'm afraid. :-)

People can be taught and can learn.  I've programmed in a lot
of different environments.  All of them have advantages and
disadvantages.  I still believe that if things continue in the
direction they seem to be heading now the time will come when
necessity will require people taking a new look at things like
security and efficiency.  Much of what is out there today can,
at best, be patched into something that appears to meet those
requirements.  Something done right is always a better bet.
Models and paradigms change constantly.  Many things that were
abandoned long ago have come back into vogue today.  Why can't
RSTS and RSX be the next examples?  ;-)

> 
>>>              or else it's pretty useless. :-/
>>
>> Do your current RSX users find it useless?
> 
> Current RSX users do not have gcc. :-)

But the question really is; Is that a minus or a plus?  :-)

> Very few RSX users even program in C (on RSX).
> But the DEC C compiler for RSX does its best to present something that 
> is Unix-y, including as much of the standard C libraries as possible. 

Isn't the same true of DECUS-C?  (I have it here, but never had the
chance to actually set it up and use it.  As you said about RSX, I
can say the same about RT-11 and RSTS.  Never really did any C other
than playing with Small-C on RT-11.

> Things that are missing is mainly fork(), select() and pipes. And 
> anything socket related. But skipping that, you can write a program in 
> RSX pretty much the same way as on any Unix system. Not that you take 
> any advantage of anything that RSX is good at, but that was my point.

Another reason why I don't necessarily think C is the best choice for
a language to use.  Too much baggage.

> 
> If you provide a C compiler, you pretty much have to provide something 
> that smells like Unix, or else it gets pretty useless, since people 
> expect any C environment to also work like a Unix environment.

See above.  :-)

> 
> >  Then why are they
>> still there?  Same goes for all those OSes I mentioned above.
>> Again, as much as I like Unix (and I have been doing it since
>> 1980) it is not the only answer to any problem.
> 
> It definitely is not, but that was not my point.
> 
>>> Heck, gcc even have its built-in versions for a bunch of library
>>> functions, in order to inline them. Making everything even more exciting.
>>
>> Depending on the function, that's probably not really a problem.
>> It is likely that in the long run those same functions might be
>> wanted under RSTS and RSX as well.
> 
> They are very Unix-y and C-y. But sure, they are useful. Most functions 
> in the C library are useful. They just might not match the paradigms of 
> a non-Unix environment.

OK.  C is out.  :-)

> Most typically, that would be such a simple concept as strings for example.

Well, I would expect that most any language could use (read: would
need) those same string functions.  I have a Pascal Compiler from 
an 80's Z80 system (Alcor Pascal) that has pretty much all the
standard C String functions.

> 
>>>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>>>
>>>> Had that 30 years ago.  Like so many ideas it was too far ahead of its
>>>> time and, withered on the vine, all the work was lost and now we will
>>>> have to re-invent the wheel once again.
>>>
>>> Cool. I didn't know that anyone had actually done this, even though it's
>>> such an obvious thing to do.
>>
>> OK, to be honest, it was not what you would call an RTS. :-)  I was
>> refering to one of my pet peeves.  The Software Tools Virtual Operating
>> System which was probably more of a POSIX-like API than an RTS.  But
>> the idea was there.  Let Unix software run on non-Unix systems.  And
>> the list of supported systems is mind-boggling!!
> 
> Ah. Darn. I was thinking of a real RTS. Just copy your Unix binary onto 
> your RSTS/E system, set it to use the right RTS, and then just run it.
> That should be very doable (maybe even easy), with the RSTS/E RTS 
> design. It's a really cool concept.

I guess the problem with that would be which Unix?  :-)
And even among similar OSes that doesn't always work.  BSD has
"Linux Compatability" but I have seen more programs that didn't
work under it than did.


Oh well, as I said, it is all really academic as:
  1.  I don't expect the source to RSTS or RSX to be released.
  2.  Even if I am wrong about 1. above it is likely to be done
      under a license that is not commercially friendly.
  3.  Given 1. above it is unlikely that any attempt to re-write
      RSTS or RSX is ever likely to happen.
  4.  Even if I am wrong about 3. above it would probably end out
      being something as stupid as FreeVMS which in the long run will
      be nothing but a DCLish shell running on top of Linux which is
      not and never could be any kind of VMS.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:39             ` Johnny Billquist
  2011-05-24 15:10               ` billy
@ 2011-05-24 16:54               ` Bill Gunshannon
  1 sibling, 0 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 16:54 UTC (permalink / raw)


In article <irgfue$382$2@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> On 2011-05-24 06.03, Bill Gunshannon wrote:
>> In article<irf6lk$ckq$1@reader1.panix.com>,
>> 	billy@MIX.COM writes:
>>> In vmsnet.pdp-11 Jerome H. Fine<everyone@nospam.com>  wrote:
>>>
>>>> Other than Y2K issues, I agree that V05.07 does have a few
>>>> items fixed, mostly minor (which experienced RT-11 users
>>>> would be able to fix all by themselves) [...]
>>>
>>> How would they do this without having the sources?
>>>
>>> I have disassembled a couple things, but even TRANSF, which
>>> is a relatively simple piece of software, took some time to
>>> do.  And that was only so I could stick it, along with Xmodem
>>> and Kermit, into a single program, back when I was offering
>>> dial-up access to the SIG tapes and other such software.
>>
>> Do you still offer any kind of access to SIG Tapes? Which ones?
>> I have some things I am still trying to find that would have
>> been on SIG Tapes at one point or another.
> 
> Have you checked trailing-edge? Or else ftp.update.uu.se. I know we have 
> a bunch of old RT-11 sig tapes in there...
> 

Yup.  but a lot of them seem to exist only as a single page telling
you what would be on the tape if they actually had it.  :-(  I have
the RT-11 and RSX CD's from Tim.  Sadly, RSTS seems to be the red-
headed stepchild.  Little if any seems to be available.  And stuff
from other SIGs like PASCAL are just as rare.

Another of my pet peeves.  I keep hearing how "the web" was going to
guarantee the preservation of everything and yet there is so much of
our computing history that has already been lost and more disappearing
every day.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:42             ` billy
@ 2011-05-24 16:56               ` Bill Gunshannon
  2011-05-25 18:05               ` Jerome H. Fine
  1 sibling, 0 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 16:56 UTC (permalink / raw)


In article <irgg3v$3or$1@reader1.panix.com>,
	billy@MIX.COM writes:
> In vmsnet.pdp-11 Bill Gunshannon <billg999@cs.uofs.edu> wrote:
> 
>> Do you still offer any kind of access to SIG Tapes? Which ones?
>> I have some things I am still trying to find that would have
>> been on SIG Tapes at one point or another.
> 
> Tim Shoppa copied my entire collection to the Sunsite at UNC.
> That has since become -
> 
> http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/
> 

In which case I can definitely tell you none of the stuff I have
looked for over the years is there.  :-(

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 16:42                     ` Bill Gunshannon
@ 2011-05-24 18:17                       ` Johnny Billquist
  2011-05-24 20:07                         ` Bill Gunshannon
                                           ` (2 more replies)
  2011-05-26  8:03                       ` Fritz Wuehler
  1 sibling, 3 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-24 18:17 UTC (permalink / raw)


This is turning into a fun and interesting discussion, Bill.
If others feels it's getting too boring, let us know, and we can carry 
on over emails instead...

On 2011-05-24 09.42, Bill Gunshannon wrote:
> In article<irgfp7$382$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>> On 2011-05-24 05.58, Bill Gunshannon wrote:
>>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>>> 	Johnny Billquist<bqt@softjar.se>    writes:
>>>>>>
>>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>>> But I doubt many people today would see the point in using anything that
>>>>>> didn't follow the Unix programming paradigms,
>>>>>
>>>>> I was waiting for this to come up.  I think most people think that
>>>>> there are really only two OSes left in the world.  MS and Unix.
>>>>> BUt, actually, thre are a lot of others out there including some
>>>>> that predate MS and might even predate Unix and still have loyal
>>>>> followings. (And I am not talking about VMS. :-)
>>>>
>>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>>> well, when it comes to writing programs for the net.
>>>
>>> Minus the security model.  :-)
>>
>> True. But the security model of Unix itself isn't exactly something to
>> boast about. :-)
>
> I'll take it over the MS model anyday.

No argument from me there... But just because one sucks, that don't make 
the other one shine. I'd prefer neither...

>>>>                                                         And so do VMS.
>>>
>>> Minus little things like fork();  :-)
>>
>> Good point. There are some things that are more of an headache to emulate.
>> Still, lots of Unix programs can be compiled and run on VMS systems with
>> little, or no change.
>
> Yes, but not the majority of the ones people actually want.  :-)

Seems like quite a lot have been made to run over the years.
tcsh, Apache, Netscape, gcc, emacs... Just to mention a few...

>>                        And Unix programmers can write programs on a VMS
>> system without really having to go outside their comfort zone for most
>> of the time.
>
> Mostly depends on the complexity of the program.  Hello World works
> just fine on either.  Try UXKermit which falt out requires the
> functionality provided by fork() and it is really a trivial program.
> or even something like "configure".

Don't know about UXKermit, but I suspect it's a Kermit. What about 
C-Kermit? That's a Unix-smelly Kermit that also works on VMS.

>>                It might not be programs that really take any advantage of
>> VMS, but then again, they don't care.
>
> And it is probably why so little of the Unix based Open Source stuff
> ever makes it to VMS.

Even so, surprising amounts of Open Source stuff actually do find its 
way to VMS. Not as much as you'd find on Unix or Windows by a longshot, 
but still a noticeable amount.

> ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
> on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
> contained system with its own DB built in and there is no desire to
> have look, run, or be programmed as anything other than MUMPS.  In
> all these cases you see the same loyalty I would have had for something
> like RSTS if it had grown beyond the limitations of the PDP-11 hard-
> ware.  Johnny, I get the feeling from reading your posts that you
> probably look on RSX the same way.

He. I still use RSX on a daily basis... :-)
But MUMPS started on PDP-11s, unless I remember wrong. And as a 
standalone system on the machine as well...
But I digress...

>>>> (Hello select(), synchronous I/O, getting errors back which basically
>>>> just means that you need to retry, because nothing is wrong, but we just
>>>> got interrupted, and random dynamically allocated file descriptors, and
>>>> all files are just streams of bytes.)
>>>
>>> Lot's of systems where that is not necessarily the case.  Definitely not
>>> the case with VMS.
>>
>> It's definitely the case with VMS. Yes, the above statements are not
>> *neccesarily* true for VMS, but a programmer *can* program with this
>> approach on VMS, and almost all programmers today implicitly assumes
>> that these statements are truths.
>
> As one who hung out on c.o.v for a long time and worked with VMS
> for a couple of decades I have to disagree.  The idea that files
> are streams of bytes without structure at the lowest level has to
> be the most touted problem/shortcoming in Unix among that group.

VMS deals with it just fine. It's called STREAM_LF on VMS systems. So 
programmers can pretend they never heard of anything else, even when 
running on VMS.

The people in c.o.vms are not representative of programmers. Most of 
them don't even write programs. They just like to vent their 
frustration. And yes, the stream of bytes concept has it's pros and 
cons. My point was that almost all programmers today just assumes that 
this is the case. So, on systems where this isn't the case, you get 
headaches. But more silly is the case when programmers then start 
implementing something similar to RMS atop of the stream of byte 
concept. Doing that on a system which actually do have structured files 
is both silly, inefficient, and incompatible with every other tool. 
Which just makes it pointless to have a more capable system, because 
noone will use it anyway, and they will continue to program like they 
were running on something that taste like Unix. Which brings me back to 
the start of my argument. The Unix programming paradigm is the only one 
around today.

Personally, I think that having streams of bytes as the only file 
structure sucks. It is one type of structure, and useful sometimes. But 
not the best way at other times. I prefer an OS that gives me many 
tools, and then I can adopt the one that fits my need for every specific 
situation instead of having to roll my own, or use some external library 
which exists in various flavors.

>> So, even though you have an OS that offers you other possibilities,
>> noone knows, or can use them. (Ok, noone is an oversimplification, but
>> you get the idea.)
>
> But with the amount of stuff that was already out there......

No new programs are written using that stuff.

> And let's look at my list again. MUMPS?  How many people use or are
> proficient in it?  And yet, it has a massive following and has moved
> into niches it was never really intended to go to.

No new programs are written for it.

> And at a smaller level, what about COBOL?  No longer taught in any
> school I can find as more than an afterthought. (We dropped it as a
> subject more than 10 years ago and at that point the department chair
> cannot remember the last time it was actually offered.  A single
> credit's worth of COBOL was included in one course here but even
> that was dropped 5 years ago.)  And yet still so much in demand
> the a company the size of General Dynamics recently advertised an
> Internship where the primary function is to learn to program in
> COBOL.  Why?  Because they are still writting and maintaining very
> large COBOL systems and academia is not providing people with the
> requisite skills so they have to revert back to the methods od the
> 60's and early 70's and do it themselves.

No new programs are written in COBOL. You just maintain existing systems.

> Not all things are obsolete because one man thinks so, not even
> if his name is Gartner.

I think the term obsolete is misused. :-)

>>>>             and perhaps even more because the software they needed to run
>>>> didn't run on PDP-11s any more.
>>>
>>> I would imagine the majority were running applications that were stable
>>> and met their corporate needs just fine as they had been running them
>>> for decades.  The problem was the need to have additional functionality
>>> that the hardware (primarily memory) limitations made impossible.  If
>>> it had been possible to add that functionality I would bet most would
>>> have stayed with the OS they were familiar with.  And, avoided the cost
>>> of not only moving to a new platform but re-writting all their unique
>>> application or changing their business model to match some other piece
>>> of software's idea of how a business should be run.
>>
>> Well, in many cases, new requests for more functions, new features, or
>> additional applications do come in. And that's when systems get replaced.
>
> But is that replacement because the OS is deficient or because the
> hardware running it lacks the capability to handle the expansion?
> Simple example.  What about RSTS (not the PDP-11) makes X-11 un-doable?

Nothing. But noone will write something like X11 for RSTS/E. No matter 
what platform. (I admit I have been toying with the idea for RSX, but I 
doubt I'll ever get around to it.)
Which leads us back to that the applications you want to run don't 
exist, so you don't run the OS.
It's the same problem that VMS face. For VMS, the hardware is definitely 
there for all practical purposes. You even have X11. But VMS is a worse 
Unix than Unix, and so it looses. And Unix is a worse Windows than MS 
Windows, and thus have a hard time competing as well. You need *office*. 
:-) (And a whole bunch of other applications.)

And things like office is what pushed PDP11s out in some places.

>> So yes, the current applications are stable and working. But that is not
>> enough. If that was all there is, then there wouldn't be any need for
>> more computing power either. If the current setup already fulfills the
>> needs, that would imply that the current computing power also is
>> sufficient, no?
>
> No, not necessarily.  Something as simple as the amount of data
> that needs to be handled has increased beyond the addressing
> capabilities of the host hardware.  Best example for this is to
> drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
> break them up into a whole lot of really samll partitions.  Or,
> look at Ultrix-11 or BSD-2.11.  What is there about either of
> these that would prevent most modern programs from being built
> that isn't actually due to a hardware limitation of the platform?
> Rhetorical question that is answered by looking at BSD 4.x and
> the current crop of BSD's.

I don't think I really agree. The amount of data don't in most cases 
change that much over time. The requirements for faster processing times 
because all other stages have become faster might play a role sometimes 
though.

RT-11 is a bad example by the way, since it's by far the most limited 
platform on the PDP-11. I can put huge disks on RSX without a problem. 
Using the default parameters, disks gets capped at 8GB though (24 bit 
disk block numbers). But you can change RSX to use 32 bit disk block 
numbers, meaning you get 4 billion disk blocks. That means a limit of 
about 2T disk size. That should last you a while longer... :-)

As for the problems with 2.11BSD, yes, the limit is the 16-bit address 
space, which is a hardware restriction.
But the growth path from 2.11BSD was a simple and easy one, which just 
about everyone have taken long ago. Just continue with another Unix.
But the reason for that migration was new programs. Not that the current 
crop of programs suddenly couldn't run on 2.11BSD anymore.

>>>> It all have very little to do with technical competence of the
>>>> underlying OS.
>>>
>>> Oh, I can agree with that.  As I said, "It's the applications!!"
>>> But, by the same token, the move to a new OS was not because of
>>> a shortcoming in the old OS.  Unisys has been very successful by
>>> making systems that still allow old code to continue to run only
>>> with greater resources available (I remember a particular problem
>>> I had to solve in my Univac COBOL days that was eventually tracked
>>> down specifically to memory availability!!  That same code would
>>> run on OS2200 today without ever exhibiting the problem I had to
>>> fix by modifying the supporting ECL.)  IBM has had great success
>>> by doing the same for SYSTEM-360 programs.
>>
>> Yes. It's the typical question of being able to run the applications.
>> Rewriting, and porting applications can be both expensive and difficult.
>> Cheaper to continue running on the old systems, when possible.
>>
>> I guess we forgot about one reason why people move off old OSes. Cost of
>> running and maintaining old hardware. At some point it might just become
>> impractical to continue running on the old machines.
>
> Which is the point I was trying to make.  Frequently it is not the
> application or the OS that causes the impracticality.  It is the
> hardware.  And thus my interest in seeing RSTS and yes, RSX run on
> other platforms.  It seems to have worked out quite well for Unisys.

An RSX for some other hardware? Well, I doubt you could make it run old 
RSX applications without some big headaches. But it is doable. The 
problem is that there is no real need. The old RSX applications runs 
just fine on the old machine. What need would a port to new hardware 
fill? We've already established that with current emulators speed is no 
longer an issue. Disk space neither. More memory is definitely not 
needed for the old applications. They already work within the current 
memory limits.
So we're talking about totally new applications. I just don't see that 
happening. People will write for Unix instead.

Put another way: the drive for new hardware have mostly been new 
programs. New programs are written for certain OSes.

>> The PDP-11 was in that aspect perhaps a bit unfortunate, in that there
>> was a long gap between when DEC more or less wanted (forced?) people to
>> to migrate to VAXen, and before commercial emulators became available.
>> Thus forcing a lot of migration to take place, because to viable options
>> existed.
>
> Well, it is probably all academic at this point, but, who knows,
> maybe there are still enough people out there doing stuff that
> there is a remaining need for a port of RSTS or RSX to modern
> hardware.  It would be fun to do in any case.

There are still people doing stuff on RSX, but they have no need of a 
new hardware platform for the system.
At least that is my view and belief.
Running on a fast emulator solves the only issues they have/had. Speed, 
cheap hardware, and big disks.

>>>>>> (Then again, a lot of programming today takes place in HLL, which have
>>>>>> also adopted to the Unix paradigms, which makes it even harder to use
>>>>>> any other OS, not to mention that you'd need to develop compilers and so
>>>>>> on, for this reimplemented OS.)
>>>>>
>>>>> Once you moved to a mchine without the memory limitations of the PDP-11
>>>>> you could use any of the GNU Compilers.  Or pretty much anything else
>>>>> out there today.
>>>>
>>>> No. You already failed right there. The GNU compilers them self assumes
>>>> a whole lot of Unixy things.
>>>
>>> Hmmm....  Not so sure about that, but even if true I would imagine it
>>> would not be a major undertaking to make the needed modifications.
>>
>> The horrors! I have peeked under the hood of gcc. It's not a piece of
>> code I would ever consider easy to modify. :-)
>
> And, depending on the language, there are other alternatives.  Heck,
> you want C?  Any guess how hard it would be to write a new backend
> for DECUS-C?  :-)

Don't need to guess. I've done quite a lot of digging inside DECUS C as 
well. :-)
Its intermediate code, as well as backend, is very much tied to the 
PDP-11. But atleast it's pretty clean.
Oh, and most people would be tremendously unhappy with DECUS C. K&R 
style, and no local variables inside blocks...

>  And then we also have Algol. :-)  And isn't there
> a Pascal in the DECUS collection?  What other languages are languishing
> on tapes in various peoples storage lockers?

Gha! Swedish Pascal... Another DECUS program. It's actually kindof neat, 
but I tried modifying it a number of years ago as I wanted it to 
generate code that could be run with split I/D space. I gave up. The 
source code for the compiler is horrible, and generated code is even worse.

I've never played with Algol, so I can't really comment on it.

>>>   And,
>>> there are other options.  Again, all of it depends on the model that
>>> needs to be used.  If all the original code were to be released with a
>>> commercial friendly license one could modify the back-end to support
>>> the new architecture.  If you have to start from scratch then you need
>>> to start by finding a suitable compiler (and language).  And, speaking
>>> of language, even if the original code was released much of it is in
>>> PDP-11 Macro and would need to be re-written using the original only
>>> as a model.  That adds the question of what language do you write it
>>> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
>>> lot of the mistakes that C is famous for.  But......  I would probably
>>> not choose C as the language to use for reasons I should not have to
>>> deliniate here!!  :-)
>>
>> Good question. I have no idea what I would write in. I love MACRO-11,
>
> There is an interesting point in itself.  Is there really any reason
> you can think of that would prevent someone from writting something
> that took MACRO-11 and output executable code for some other CPU?

Nothing prevents it, except that people in general are not happy with 
assembler, and nowadays it seems like almost noone even understand how 
to program in assembler. It's also a lot slower than writing in a HLL.
(But the resulting code might be nicer.)

> Isn;t that what was done ont he VMS move to Alpha? Wasn't there a
> program that could take MACRO-32 and generate Alpha binaries?

Yes. MACRO-32 is still an available compiler, even on Itanium machines.
(Or so I've heard.)

>> but I'm not sure people in general would want to fool around in
>> assembler. And I also agree that C is not always ideal. But I don't know
>> what language I would recommend.
>
> PL/I is pretty good.  Much of Primos was written in a dialect of it.

Never used PL/I.

> Ada?  I understand that has become king in Europe.  And I am certainly
> comfortable coding in it.  And with a few decent extensions that can
> be found in most dialects anyway Pascal is a pretty good system level
> language.

Ada? King of Europe? Where do you hear such things??? :-)
Ada exists, but only among the really obscure places, like the military. 
Where I believe it's also still popular in the US.

I should keep quiet about Pascal, I'll become a ranting, raving lunetic. 
Pascal has been used for system level stuff. It's not something I would 
recommend. :-)
I'd rather do it in Fortran. Not that I'm particularly fond of Fortran...

>>>>>    All you would really need to develop would be the
>>>>> support libraries.  I am still trying to find the time to dig out an
>>>>> old version of GCC with the PDP-11 support in it to play with, just
>>>>> lack the time.
>>>>
>>>> Support libraries are also an issue, yes. We need all the Unixy
>>>> functions,
>>>
>>> Eventually.  They open up a lot of possibilities.  But then, if
>>> you are re-writting from scratch it makes it a good time to make
>>> the needed changes and additions.
>>
>> Yes. If we do something from scratch, all the options are there. But
>> other programmers will probable have a hard time to understand how to
>> use it all. They'd try to write the Unix way, I'm afraid. :-)
>
> People can be taught and can learn.  I've programmed in a lot
> of different environments.  All of them have advantages and
> disadvantages.  I still believe that if things continue in the
> direction they seem to be heading now the time will come when
> necessity will require people taking a new look at things like
> security and efficiency.  Much of what is out there today can,
> at best, be patched into something that appears to meet those
> requirements.  Something done right is always a better bet.
> Models and paradigms change constantly.  Many things that were
> abandoned long ago have come back into vogue today.  Why can't
> RSTS and RSX be the next examples?  ;-)

Really? Have you actually seen people that have been taught? :-)
I think with time, we will only more and more come to a state where 
people have no clue what goes on under the hood, and the solution is to 
just add more layers. I already see a lot of that. (stream communication 
over rpc, using html, which talks over tcp, which is a stream connection 
- wohoo).

>>>>               or else it's pretty useless. :-/
>>>
>>> Do your current RSX users find it useless?
>>
>> Current RSX users do not have gcc. :-)
>
> But the question really is; Is that a minus or a plus?  :-)

Depends on who you ask. :-)

>> Very few RSX users even program in C (on RSX).
>> But the DEC C compiler for RSX does its best to present something that
>> is Unix-y, including as much of the standard C libraries as possible.
>
> Isn't the same true of DECUS-C?  (I have it here, but never had the
> chance to actually set it up and use it.  As you said about RSX, I
> can say the same about RT-11 and RSTS.  Never really did any C other
> than playing with Small-C on RT-11.

To a lesser degree, yes. DECUS C also presents you with an environment 
that taste like Unix. But much less so.
(In DEC C, you can even do things like getenv("HOME") in RSX, and get a 
reasonable answer.)

And most people never did anything sensible in DECUS C. :-)

>> Things that are missing is mainly fork(), select() and pipes. And
>> anything socket related. But skipping that, you can write a program in
>> RSX pretty much the same way as on any Unix system. Not that you take
>> any advantage of anything that RSX is good at, but that was my point.
>
> Another reason why I don't necessarily think C is the best choice for
> a language to use.  Too much baggage.

I probably agree.

>> Most typically, that would be such a simple concept as strings for example.
>
> Well, I would expect that most any language could use (read: would
> need) those same string functions.  I have a Pascal Compiler from
> an 80's Z80 system (Alcor Pascal) that has pretty much all the
> standard C String functions.

Those same string functions? Why? Why would I want a strcpy which copies 
bytes until it hits a NUL character?

>>>>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>>>>
>>>>> Had that 30 years ago.  Like so many ideas it was too far ahead of its
>>>>> time and, withered on the vine, all the work was lost and now we will
>>>>> have to re-invent the wheel once again.
>>>>
>>>> Cool. I didn't know that anyone had actually done this, even though it's
>>>> such an obvious thing to do.
>>>
>>> OK, to be honest, it was not what you would call an RTS. :-)  I was
>>> refering to one of my pet peeves.  The Software Tools Virtual Operating
>>> System which was probably more of a POSIX-like API than an RTS.  But
>>> the idea was there.  Let Unix software run on non-Unix systems.  And
>>> the list of supported systems is mind-boggling!!
>>
>> Ah. Darn. I was thinking of a real RTS. Just copy your Unix binary onto
>> your RSTS/E system, set it to use the right RTS, and then just run it.
>> That should be very doable (maybe even easy), with the RSTS/E RTS
>> design. It's a really cool concept.
>
> I guess the problem with that would be which Unix?  :-)

The ones that were relevant at the time. It gotta be PDP-11 unixes, 
because otherwise the rest of the code wouldn't work anyway. But you 
could have different RTSes for Ultrix, 2BSD, V7 and V6, if needed.
RTSTS/E make that all possible.

> And even among similar OSes that doesn't always work.  BSD has
> "Linux Compatability" but I have seen more programs that didn't
> work under it than did.

I know. That's because the compatibility layer is incomplete, and 
because Linux is such a mess that changes behavior from time to time.

> Oh well, as I said, it is all really academic as:
>    1.  I don't expect the source to RSTS or RSX to be released.

Me neither.

>    2.  Even if I am wrong about 1. above it is likely to be done
>        under a license that is not commercially friendly.

Not sure about that one.

>    3.  Given 1. above it is unlikely that any attempt to re-write
>        RSTS or RSX is ever likely to happen.

If a rewrite took place, 1 and 2 are not really that relevant. You'd 
have to write the whole thing anyway. That's what a rewrite means.

>    4.  Even if I am wrong about 3. above it would probably end out
>        being something as stupid as FreeVMS which in the long run will
>        be nothing but a DCLish shell running on top of Linux which is
>        not and never could be any kind of VMS.

That is probably true. It's more or less not possible to translate some 
of the concepts in RSTS/E or RSX into Unix equivalents. Emulating the 
hardware, and then run everything on top of whatever.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 18:17                       ` Johnny Billquist
@ 2011-05-24 20:07                         ` Bill Gunshannon
  2011-05-25  1:07                           ` Rich Alderson
  2011-05-25 10:34                           ` Johnny Billquist
  2011-05-25  1:01                         ` Rich Alderson
  2011-05-26 12:53                         ` Bob Koehler
  2 siblings, 2 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-24 20:07 UTC (permalink / raw)


In article <irgsnm$7ov$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> This is turning into a fun and interesting discussion, Bill.
> If others feels it's getting too boring, let us know, and we can carry 
> on over emails instead...

Let me re-inforce that.  But it would be nice to hear others comments
as well.


> 
> On 2011-05-24 09.42, Bill Gunshannon wrote:
>> In article<irgfp7$382$1@iltempo.update.uu.se>,
>> 	Johnny Billquist<bqt@softjar.se>  writes:
>>> On 2011-05-24 05.58, Bill Gunshannon wrote:
>>>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>>>> 	Johnny Billquist<bqt@softjar.se>    writes:
>>>>>>>
>>>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>>>> But I doubt many people today would see the point in using anything that
>>>>>>> didn't follow the Unix programming paradigms,
>>>>>>
>>>>>> I was waiting for this to come up.  I think most people think that
>>>>>> there are really only two OSes left in the world.  MS and Unix.
>>>>>> BUt, actually, thre are a lot of others out there including some
>>>>>> that predate MS and might even predate Unix and still have loyal
>>>>>> followings. (And I am not talking about VMS. :-)
>>>>>
>>>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>>>> well, when it comes to writing programs for the net.
>>>>
>>>> Minus the security model.  :-)
>>>
>>> True. But the security model of Unix itself isn't exactly something to
>>> boast about. :-)
>>
>> I'll take it over the MS model anyday.
> 
> No argument from me there... But just because one sucks, that don't make 
> the other one shine. I'd prefer neither...

OK, You got me there.  :-)  But then, isn't that part of the reason
behind this whole discussion?  What we need is other options.  I
just happen to think that the models/paradigms offered by RSTS/RSX
are worth consideration.

> 
>>>>>                                                         And so do VMS.
>>>>
>>>> Minus little things like fork();  :-)
>>>
>>> Good point. There are some things that are more of an headache to emulate.
>>> Still, lots of Unix programs can be compiled and run on VMS systems with
>>> little, or no change.
>>
>> Yes, but not the majority of the ones people actually want.  :-)
> 
> Seems like quite a lot have been made to run over the years.
> tcsh, Apache, Netscape, gcc, emacs... Just to mention a few...

An interesting list.  Especially emacs, which must be one of the most
ported programs in the history of IT.  But, just out of curiosity,
how many of them are at the same release for VMS that they are for
Unix.  Why not?

> 
>>>                        And Unix programmers can write programs on a VMS
>>> system without really having to go outside their comfort zone for most
>>> of the time.
>>
>> Mostly depends on the complexity of the program.  Hello World works
>> just fine on either.  Try UXKermit which falt out requires the
>> functionality provided by fork() and it is really a trivial program.
>> or even something like "configure".
> 
> Don't know about UXKermit, but I suspect it's a Kermit. What about 
> C-Kermit? That's a Unix-smelly Kermit that also works on VMS.

Actually, if I remember correctly, C-Kermit was an attempt (successful)
to make a portable Kermit implementation so it specifically put all of
the system specific stuff in one place and limited requirements tied
to specific OSes like Unix.  I used UXKermit as my example specifically
because it uses fork() a tthe very core.  It spawns separate processes
(the Unix paradigm) to handle character input and output.  Which, of
course, requires the two processes to share things like filehandles
so that they can do input and output to the same tty device.

> 
>>>                It might not be programs that really take any advantage of
>>> VMS, but then again, they don't care.
>>
>> And it is probably why so little of the Unix based Open Source stuff
>> ever makes it to VMS.
> 
> Even so, surprising amounts of Open Source stuff actually do find its 
> way to VMS. Not as much as you'd find on Unix or Windows by a longshot, 
> but still a noticeable amount.

I have been porting Unix stuff to other OSes since the days when
comp.sources.unix was the primary distribution channel and even
most of that wasn't particularly portable to non-Unix OSes.  But
this is pretty much irrelevant in the long run.  If things like
STVOS had not withered on the vine we wuold have had a universal
API that was, by now, very well developed and porting would be
much easier.

> 
>> ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
>> on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
>> contained system with its own DB built in and there is no desire to
>> have look, run, or be programmed as anything other than MUMPS.  In
>> all these cases you see the same loyalty I would have had for something
>> like RSTS if it had grown beyond the limitations of the PDP-11 hard-
>> ware.  Johnny, I get the feeling from reading your posts that you
>> probably look on RSX the same way.
> 
> He. I still use RSX on a daily basis... :-)
> But MUMPS started on PDP-11s, unless I remember wrong. 

No,  PDP-7 was first.  Then PDP-9, PDP-15, PDP-8, Data General,
and then the PDP-11.

>                                                          And as a 
> standalone system on the machine as well...

Yeah, but a very portable one.  :-)

> But I digress...
> 
>>>>> (Hello select(), synchronous I/O, getting errors back which basically
>>>>> just means that you need to retry, because nothing is wrong, but we just
>>>>> got interrupted, and random dynamically allocated file descriptors, and
>>>>> all files are just streams of bytes.)
>>>>
>>>> Lot's of systems where that is not necessarily the case.  Definitely not
>>>> the case with VMS.
>>>
>>> It's definitely the case with VMS. Yes, the above statements are not
>>> *neccesarily* true for VMS, but a programmer *can* program with this
>>> approach on VMS, and almost all programmers today implicitly assumes
>>> that these statements are truths.
>>
>> As one who hung out on c.o.v for a long time and worked with VMS
>> for a couple of decades I have to disagree.  The idea that files
>> are streams of bytes without structure at the lowest level has to
>> be the most touted problem/shortcoming in Unix among that group.
> 
> VMS deals with it just fine. It's called STREAM_LF on VMS systems. So 
> programmers can pretend they never heard of anything else, even when 
> running on VMS.

Wonder when that actually came into VMS?  I would guess around POSIX
time.

> 
> The people in c.o.vms are not representative of programmers. Most of 
> them don't even write programs. They just like to vent their 
> frustration. And yes, the stream of bytes concept has it's pros and 
> cons. My point was that almost all programmers today just assumes that 
> this is the case. 

Yeah, another example of the failings of academia.

>                    So, on systems where this isn't the case, you get 
> headaches. But more silly is the case when programmers then start 
> implementing something similar to RMS atop of the stream of byte 
> concept. Doing that on a system which actually do have structured files 
> is both silly, inefficient, and incompatible with every other tool. 
> Which just makes it pointless to have a more capable system, because 
> noone will use it anyway, and they will continue to program like they 
> were running on something that taste like Unix. Which brings me back to 
> the start of my argument. The Unix programming paradigm is the only one 
> around today.

See comment above.  But people are trainable.

> 
> Personally, I think that having streams of bytes as the only file 
> structure sucks. It is one type of structure, and useful sometimes. But 
> not the best way at other times. I prefer an OS that gives me many 
> tools, and then I can adopt the one that fits my need for every specific 
> situation instead of having to roll my own, or use some external library 
> which exists in various flavors.

Well, I have to admit that I have long been amazed that no one ever
wrote an equivalent to RMS for Unix.  But you do have to admit that
when you come right down to it all anything really is is a stream
of bytes (or bits if you want to go even lower) so having that as
the basis makes some sense.

> 
>>> So, even though you have an OS that offers you other possibilities,
>>> noone knows, or can use them. (Ok, noone is an oversimplification, but
>>> you get the idea.)
>>
>> But with the amount of stuff that was already out there......
> 
> No new programs are written using that stuff.

Well, after a point that probably was right, but if there had been
a future for OSes like RSTS and RSX do you really think that would
be the case?

> 
>> And let's look at my list again. MUMPS?  How many people use or are
>> proficient in it?  And yet, it has a massive following and has moved
>> into niches it was never really intended to go to.
> 
> No new programs are written for it.

You're joking, right?  Mumps (now called ANSI-M) is still very much
in development and not just maintaining old systems.  DSM-11 may have
died, but it certainly didn't take Mumps with it.  I am still doing
my research but in just the one niche where it started (hospitals)
it is the prevalent system in use all over the world.  It has also
established itself in other niches like the financial world.

> 
>> And at a smaller level, what about COBOL?  No longer taught in any
>> school I can find as more than an afterthought. (We dropped it as a
>> subject more than 10 years ago and at that point the department chair
>> cannot remember the last time it was actually offered.  A single
>> credit's worth of COBOL was included in one course here but even
>> that was dropped 5 years ago.)  And yet still so much in demand
>> the a company the size of General Dynamics recently advertised an
>> Internship where the primary function is to learn to program in
>> COBOL.  Why?  Because they are still writting and maintaining very
>> large COBOL systems and academia is not providing people with the
>> requisite skills so they have to revert back to the methods od the
>> 60's and early 70's and do it themselves.
> 
> No new programs are written in COBOL. You just maintain existing systems.

Now you sound like a guy I know in NZ who thinks that COBOL died when
the COBOL Programmers refused to jump on the OO bandwagon.  There are
still a lot of places where COBOL is the primary language of choice
for their market niche, and yes, it is the mainframe world which is
anything but going away.

> 
>> Not all things are obsolete because one man thinks so, not even
>> if his name is Gartner.
> 
> I think the term obsolete is misused. :-)
> 
>>>>>             and perhaps even more because the software they needed to run
>>>>> didn't run on PDP-11s any more.
>>>>
>>>> I would imagine the majority were running applications that were stable
>>>> and met their corporate needs just fine as they had been running them
>>>> for decades.  The problem was the need to have additional functionality
>>>> that the hardware (primarily memory) limitations made impossible.  If
>>>> it had been possible to add that functionality I would bet most would
>>>> have stayed with the OS they were familiar with.  And, avoided the cost
>>>> of not only moving to a new platform but re-writting all their unique
>>>> application or changing their business model to match some other piece
>>>> of software's idea of how a business should be run.
>>>
>>> Well, in many cases, new requests for more functions, new features, or
>>> additional applications do come in. And that's when systems get replaced.
>>
>> But is that replacement because the OS is deficient or because the
>> hardware running it lacks the capability to handle the expansion?
>> Simple example.  What about RSTS (not the PDP-11) makes X-11 un-doable?
> 
> Nothing. But noone will write something like X11 for RSTS/E. No matter 
> what platform. 

I would.

>                 (I admit I have been toying with the idea for RSX, but I 
> doubt I'll ever get around to it.)

Probably for the same reasons that would hold me back at the moment.
No time and no real need.  But what if that need was there?

> Which leads us back to that the applications you want to run don't 
> exist, so you don't run the OS.

Well, this is a chicken/egg thing.  As they exist today the OS is not
capable of it. But if they were not constrained by the hardware they
run on?  And, as far as X11 is concerned, it is getting a little long
in the tooth.  Maybe it is time to think about something better?

> It's the same problem that VMS face. For VMS, the hardware is definitely 
> there for all practical purposes. 

That's arguable.  Many think they backed the wrong horse.

>                                   You even have X11. 

An ancient version that has not been kept up.

>                                                       But VMS is a worse 
> Unix than Unix, and so it looses. 

VMS is rather unique compared to the other OSes I mentioned in that
its owners couldn't care less about it.

>                                   And Unix is a worse Windows than MS 
> Windows, 

Not sure what you mean by this.  There is not much that MS Windows
can do that can't be done using X-11 (well, sound support would have been
nice but we probably won't see that ever finished).

>           and thus have a hard time competing as well. You need *office*. 
>:-) (And a whole bunch of other applications.)

A perfectly good Office Suite is available for Unix.  The only problem
there is lack of real marketing.  But then, when you don't make any
money you don't have any to buy marketing.  ;-)

> 
> And things like office is what pushed PDP11s out in some places.

I agree.  And Office products didn't come about because the hardware
couldn't do it, not because the OS somehow was deficient.  RSTS and
RSX spent their lives tied to an anchor (a nice anchor, but an anchor
just the same).  The only path forward offered by its owner did not
include those OSes.  Interesting to note the difference in the success
(and even existence) of companies who did offer forward paths onto new
hardware compared to those that forced a total change of everything.

> 
>>> So yes, the current applications are stable and working. But that is not
>>> enough. If that was all there is, then there wouldn't be any need for
>>> more computing power either. If the current setup already fulfills the
>>> needs, that would imply that the current computing power also is
>>> sufficient, no?
>>
>> No, not necessarily.  Something as simple as the amount of data
>> that needs to be handled has increased beyond the addressing
>> capabilities of the host hardware.  Best example for this is to
>> drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
>> break them up into a whole lot of really samll partitions.  Or,
>> look at Ultrix-11 or BSD-2.11.  What is there about either of
>> these that would prevent most modern programs from being built
>> that isn't actually due to a hardware limitation of the platform?
>> Rhetorical question that is answered by looking at BSD 4.x and
>> the current crop of BSD's.
> 
> I don't think I really agree. The amount of data don't in most cases 
> change that much over time. 

Say what?  Let me give you just one example.  The Internal Revenue
Service of the US.  A major Unisys - COBOL shop.  The number of
returns they have to deal with has at least doubled in my lifetime
alone.  Thats a lot of data.

>                             The requirements for faster processing times 
> because all other stages have become faster might play a role sometimes 
> though.

And that, too!!!   :-)

> 
> RT-11 is a bad example by the way, since it's by far the most limited 
> platform on the PDP-11. I can put huge disks on RSX without a problem. 
> Using the default parameters, disks gets capped at 8GB though (24 bit 
> disk block numbers). But you can change RSX to use 32 bit disk block 
> numbers, meaning you get 4 billion disk blocks. That means a limit of 
> about 2T disk size. That should last you a while longer... :-)

I was not aware of that with RSX.  I expected the limit was larger
than RT-11 but much smaller than most modern systems.

> 
> As for the problems with 2.11BSD, yes, the limit is the 16-bit address 
> space, which is a hardware restriction.
> But the growth path from 2.11BSD was a simple and easy one, which just 
> about everyone have taken long ago. Just continue with another Unix.
> But the reason for that migration was new programs. Not that the current 
> crop of programs suddenly couldn't run on 2.11BSD anymore.

But what was that migration path?  Unix was made to run on other hardware.
And as the hardware grew so did the OS.  I just wish the same had been
true of RSTS and would like the chance to actually try it.  :-)

> 
>>>>> It all have very little to do with technical competence of the
>>>>> underlying OS.
>>>>
>>>> Oh, I can agree with that.  As I said, "It's the applications!!"
>>>> But, by the same token, the move to a new OS was not because of
>>>> a shortcoming in the old OS.  Unisys has been very successful by
>>>> making systems that still allow old code to continue to run only
>>>> with greater resources available (I remember a particular problem
>>>> I had to solve in my Univac COBOL days that was eventually tracked
>>>> down specifically to memory availability!!  That same code would
>>>> run on OS2200 today without ever exhibiting the problem I had to
>>>> fix by modifying the supporting ECL.)  IBM has had great success
>>>> by doing the same for SYSTEM-360 programs.
>>>
>>> Yes. It's the typical question of being able to run the applications.
>>> Rewriting, and porting applications can be both expensive and difficult.
>>> Cheaper to continue running on the old systems, when possible.
>>>
>>> I guess we forgot about one reason why people move off old OSes. Cost of
>>> running and maintaining old hardware. At some point it might just become
>>> impractical to continue running on the old machines.
>>
>> Which is the point I was trying to make.  Frequently it is not the
>> application or the OS that causes the impracticality.  It is the
>> hardware.  And thus my interest in seeing RSTS and yes, RSX run on
>> other platforms.  It seems to have worked out quite well for Unisys.
> 
> An RSX for some other hardware? Well, I doubt you could make it run old 
> RSX applications without some big headaches. 

Not really my intent although, you have to admit, with built in PDP-11
emulation it probably could and be faster than original hardwar at that.
My desire is source level compatability.  Have a version of RSTS or RSX
for x86/x86-64 that supports everything the PDP-11 versions did.  And
new stuff can be added later.  Who knows, if there actually was interest
I suppose you could VEST old immages.  :-)

>                                               But it is doable. The 
> problem is that there is no real need. The old RSX applications runs 
> just fine on the old machine. What need would a port to new hardware 
> fill? We've already established that with current emulators speed is no 
> longer an issue. Disk space neither. More memory is definitely not 
> needed for the old applications. They already work within the current 
> memory limits.

The desire to add new functionality.  Instead of going to Windows for
new stuff be able to run it under RSTS/RSX.  Is there a need?  Most
people would say, "no".  But then, was there really a need for Unix
when the CSRG started their research?

> So we're talking about totally new applications. I just don't see that 
> happening. People will write for Unix instead.

Some would write for other systems.  And my thought is that there may
be niches that decide they are not happy with the Unix/MS solution. 
Or, it will just be an academic endeavor.

> 
> Put another way: the drive for new hardware have mostly been new 
> programs. New programs are written for certain OSes.

Not sure which is driving which.  :-)  New programs can be written
for anything.  Big push here for teaching Android programming.  Two
yeara ago the only "android" was Data and you couldn't program him.

> 
>>> The PDP-11 was in that aspect perhaps a bit unfortunate, in that there
>>> was a long gap between when DEC more or less wanted (forced?) people to
>>> to migrate to VAXen, and before commercial emulators became available.
>>> Thus forcing a lot of migration to take place, because to viable options
>>> existed.
>>
>> Well, it is probably all academic at this point, but, who knows,
>> maybe there are still enough people out there doing stuff that
>> there is a remaining need for a port of RSTS or RSX to modern
>> hardware.  It would be fun to do in any case.
> 
> There are still people doing stuff on RSX, but they have no need of a 
> new hardware platform for the system.
> At least that is my view and belief.
> Running on a fast emulator solves the only issues they have/had. Speed, 
> cheap hardware, and big disks.

Yeah, both RSTS and RSX are probably real close to true EOL.  I guess
the only saving grace is maybe that will be enough incentive to actually
see the source to all the old Digital stuff released. (But I am not going
to hold my breath waiting.)

> 
>>>>>>> (Then again, a lot of programming today takes place in HLL, which have
>>>>>>> also adopted to the Unix paradigms, which makes it even harder to use
>>>>>>> any other OS, not to mention that you'd need to develop compilers and so
>>>>>>> on, for this reimplemented OS.)
>>>>>>
>>>>>> Once you moved to a mchine without the memory limitations of the PDP-11
>>>>>> you could use any of the GNU Compilers.  Or pretty much anything else
>>>>>> out there today.
>>>>>
>>>>> No. You already failed right there. The GNU compilers them self assumes
>>>>> a whole lot of Unixy things.
>>>>
>>>> Hmmm....  Not so sure about that, but even if true I would imagine it
>>>> would not be a major undertaking to make the needed modifications.
>>>
>>> The horrors! I have peeked under the hood of gcc. It's not a piece of
>>> code I would ever consider easy to modify. :-)
>>
>> And, depending on the language, there are other alternatives.  Heck,
>> you want C?  Any guess how hard it would be to write a new backend
>> for DECUS-C?  :-)
> 
> Don't need to guess. I've done quite a lot of digging inside DECUS C as 
> well. :-)
> Its intermediate code, as well as backend, is very much tied to the 
> PDP-11. But atleast it's pretty clean.
> Oh, and most people would be tremendously unhappy with DECUS C. K&R 
> style, and no local variables inside blocks...

Most, but not all.  :-)  If it ain't K&R is ain't C.  That's my mantra. :-)
And you have to start somewhere, especially if gcc is so bad.

> 
>>  And then we also have Algol. :-)  And isn't there
>> a Pascal in the DECUS collection?  What other languages are languishing
>> on tapes in various peoples storage lockers?
> 
> Gha! Swedish Pascal... Another DECUS program. It's actually kindof neat, 
> but I tried modifying it a number of years ago as I wanted it to 
> generate code that could be run with split I/D space. I gave up. The 
> source code for the compiler is horrible, and generated code is even worse.

Yes, but at least you wouldn't need to worry about Split I&D. :-)

> 
> I've never played with Algol, so I can't really comment on it.
> 
>>>>   And,
>>>> there are other options.  Again, all of it depends on the model that
>>>> needs to be used.  If all the original code were to be released with a
>>>> commercial friendly license one could modify the back-end to support
>>>> the new architecture.  If you have to start from scratch then you need
>>>> to start by finding a suitable compiler (and language).  And, speaking
>>>> of language, even if the original code was released much of it is in
>>>> PDP-11 Macro and would need to be re-written using the original only
>>>> as a model.  That adds the question of what language do you write it
>>>> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
>>>> lot of the mistakes that C is famous for.  But......  I would probably
>>>> not choose C as the language to use for reasons I should not have to
>>>> deliniate here!!  :-)
>>>
>>> Good question. I have no idea what I would write in. I love MACRO-11,
>>
>> There is an interesting point in itself.  Is there really any reason
>> you can think of that would prevent someone from writting something
>> that took MACRO-11 and output executable code for some other CPU?
> 
> Nothing prevents it, except that people in general are not happy with 
> assembler, and nowadays it seems like almost noone even understand how 
> to program in assembler. It's also a lot slower than writing in a HLL.
> (But the resulting code might be nicer.)

But some of us are still OK with it.

> 
>> Isn;t that what was done ont he VMS move to Alpha? Wasn't there a
>> program that could take MACRO-32 and generate Alpha binaries?
> 
> Yes. MACRO-32 is still an available compiler, even on Itanium machines.
> (Or so I've heard.)
> 
>>> but I'm not sure people in general would want to fool around in
>>> assembler. And I also agree that C is not always ideal. But I don't know
>>> what language I would recommend.
>>
>> PL/I is pretty good.  Much of Primos was written in a dialect of it.
> 
> Never used PL/I.
> 
>> Ada?  I understand that has become king in Europe.  And I am certainly
>> comfortable coding in it.  And with a few decent extensions that can
>> be found in most dialects anyway Pascal is a pretty good system level
>> language.
> 
> Ada? King of Europe? Where do you hear such things??? :-)

Well, the only real Ada Conference is now held in Europe (might be
coming up real soon now).  Stuff I read from their website seemed
to at least hint that Europe was big on it.  I thought ESA did most
of their stuff in Ada.  What about Airbus?  Isn't the embedded
stuff  being programmed in Ada?

> Ada exists, but only among the really obscure places, like the military. 
> Where I believe it's also still popular in the US.

Not really.  Some contractors still use it, but I don't think there has
been a contract that required it in ages.  I know of a lot of embedded
stuff still being done in Fortran.

> 
> I should keep quiet about Pascal, I'll become a ranting, raving lunetic. 
> Pascal has been used for system level stuff. It's not something I would 
> recommend. :-)
> I'd rather do it in Fortran. Not that I'm particularly fond of Fortran...

Some of Primos was done in Fortran, but it always required a lot of
non-Fortran routines in order to do serious system level stuff.

> 
>>>>>>    All you would really need to develop would be the
>>>>>> support libraries.  I am still trying to find the time to dig out an
>>>>>> old version of GCC with the PDP-11 support in it to play with, just
>>>>>> lack the time.
>>>>>
>>>>> Support libraries are also an issue, yes. We need all the Unixy
>>>>> functions,
>>>>
>>>> Eventually.  They open up a lot of possibilities.  But then, if
>>>> you are re-writting from scratch it makes it a good time to make
>>>> the needed changes and additions.
>>>
>>> Yes. If we do something from scratch, all the options are there. But
>>> other programmers will probable have a hard time to understand how to
>>> use it all. They'd try to write the Unix way, I'm afraid. :-)
>>
>> People can be taught and can learn.  I've programmed in a lot
>> of different environments.  All of them have advantages and
>> disadvantages.  I still believe that if things continue in the
>> direction they seem to be heading now the time will come when
>> necessity will require people taking a new look at things like
>> security and efficiency.  Much of what is out there today can,
>> at best, be patched into something that appears to meet those
>> requirements.  Something done right is always a better bet.
>> Models and paradigms change constantly.  Many things that were
>> abandoned long ago have come back into vogue today.  Why can't
>> RSTS and RSX be the next examples?  ;-)
> 
> Really? Have you actually seen people that have been taught? :-)

I was, but not under the current teaching paradigm.  :-)

> I think with time, we will only more and more come to a state where 
> people have no clue what goes on under the hood, and the solution is to 
> just add more layers. I already see a lot of that. (stream communication 
> over rpc, using html, which talks over tcp, which is a stream connection 
> - wohoo).

What goes around comes around.  Eventually all of this abstraction is
going to come back to bite the industry.  And I'll have long reired by
then.  :-)

> 
>>>>>               or else it's pretty useless. :-/
>>>>
>>>> Do your current RSX users find it useless?
>>>
>>> Current RSX users do not have gcc. :-)
>>
>> But the question really is; Is that a minus or a plus?  :-)
> 
> Depends on who you ask. :-)
> 
>>> Very few RSX users even program in C (on RSX).
>>> But the DEC C compiler for RSX does its best to present something that
>>> is Unix-y, including as much of the standard C libraries as possible.
>>
>> Isn't the same true of DECUS-C?  (I have it here, but never had the
>> chance to actually set it up and use it.  As you said about RSX, I
>> can say the same about RT-11 and RSTS.  Never really did any C other
>> than playing with Small-C on RT-11.
> 
> To a lesser degree, yes. DECUS C also presents you with an environment 
> that taste like Unix. But much less so.
> (In DEC C, you can even do things like getenv("HOME") in RSX, and get a 
> reasonable answer.)
> 
> And most people never did anything sensible in DECUS C. :-)

What no Rogue?


> 
>>> Things that are missing is mainly fork(), select() and pipes. And
>>> anything socket related. But skipping that, you can write a program in
>>> RSX pretty much the same way as on any Unix system. Not that you take
>>> any advantage of anything that RSX is good at, but that was my point.
>>
>> Another reason why I don't necessarily think C is the best choice for
>> a language to use.  Too much baggage.
> 
> I probably agree.
> 
>>> Most typically, that would be such a simple concept as strings for example.
>>
>> Well, I would expect that most any language could use (read: would
>> need) those same string functions.  I have a Pascal Compiler from
>> an 80's Z80 system (Alcor Pascal) that has pretty much all the
>> standard C String functions.
> 
> Those same string functions? Why? Why would I want a strcpy which copies 
> bytes until it hits a NUL character?

Oh, I didn't mean with all the warts.  I just meant the functionality.  ;-)
The ole' null-termination thing is one reason to avoid C.  Now, granted, I
don't have a problem with it, but a lot of programmers just never did
learn that they are responsible for what their program actually does as
opposed to what they think it does.

> 
>>>>>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>>>>>
>>>>>> Had that 30 years ago.  Like so many ideas it was too far ahead of its
>>>>>> time and, withered on the vine, all the work was lost and now we will
>>>>>> have to re-invent the wheel once again.
>>>>>
>>>>> Cool. I didn't know that anyone had actually done this, even though it's
>>>>> such an obvious thing to do.
>>>>
>>>> OK, to be honest, it was not what you would call an RTS. :-)  I was
>>>> refering to one of my pet peeves.  The Software Tools Virtual Operating
>>>> System which was probably more of a POSIX-like API than an RTS.  But
>>>> the idea was there.  Let Unix software run on non-Unix systems.  And
>>>> the list of supported systems is mind-boggling!!
>>>
>>> Ah. Darn. I was thinking of a real RTS. Just copy your Unix binary onto
>>> your RSTS/E system, set it to use the right RTS, and then just run it.
>>> That should be very doable (maybe even easy), with the RSTS/E RTS
>>> design. It's a really cool concept.
>>
>> I guess the problem with that would be which Unix?  :-)
> 
> The ones that were relevant at the time. It gotta be PDP-11 unixes, 
> because otherwise the rest of the code wouldn't work anyway. But you 
> could have different RTSes for Ultrix, 2BSD, V7 and V6, if needed.
> RTSTS/E make that all possible.

See, I think you have missed the whole point of my side of the discussion.
I am not talking about extending PDP-11 RSTS or RSX.  I want to see it
ported to other hardware, primarily, Intel. (Although a 68K port would be
fun, too, as I actually have a couple of 68K boards that go in the QBUS
and access all the devices that the PDP-11 could. :-)

> 
>> And even among similar OSes that doesn't always work.  BSD has
>> "Linux Compatability" but I have seen more programs that didn't
>> work under it than did.
> 
> I know. That's because the compatibility layer is incomplete, and 
> because Linux is such a mess that changes behavior from time to time.
> 
>> Oh well, as I said, it is all really academic as:
>>    1.  I don't expect the source to RSTS or RSX to be released.
> 
> Me neither.
> 
>>    2.  Even if I am wrong about 1. above it is likely to be done
>>        under a license that is not commercially friendly.
> 
> Not sure about that one.
> 
>>    3.  Given 1. above it is unlikely that any attempt to re-write
>>        RSTS or RSX is ever likely to happen.
> 
> If a rewrite took place, 1 and 2 are not really that relevant. You'd 
> have to write the whole thing anyway. That's what a rewrite means.
> 
>>    4.  Even if I am wrong about 3. above it would probably end out
>>        being something as stupid as FreeVMS which in the long run will
>>        be nothing but a DCLish shell running on top of Linux which is
>>        not and never could be any kind of VMS.
> 
> That is probably true. It's more or less not possible to translate some 
> of the concepts in RSTS/E or RSX into Unix equivalents. Emulating the 
> hardware, and then run everything on top of whatever.

And, as long as we have talked of emulation.  I wonder if anyone has
ever thought of "modifying" the PDP-11 inside an emulator?  Add address
lines.  Give it more memory.  maybe even make the address space flat. :-)

So many projects, so little time.  And to think I thought when I came
to academia that they would support, even push, some of my research
projects.  Go figure.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 18:17                       ` Johnny Billquist
  2011-05-24 20:07                         ` Bill Gunshannon
@ 2011-05-25  1:01                         ` Rich Alderson
  2011-05-26 12:53                         ` Bob Koehler
  2 siblings, 0 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-25  1:01 UTC (permalink / raw)


Johnny Billquist <bqt@softjar.se> writes:

> On 2011-05-24 09.42, Bill Gunshannon wrote:

>> ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
>> on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
>> contained system with its own DB built in and there is no desire to
>> have look, run, or be programmed as anything other than MUMPS.  In
>> all these cases you see the same loyalty I would have had for something
>> like RSTS if it had grown beyond the limitations of the PDP-11 hard-
>> ware.  Johnny, I get the feeling from reading your posts that you
>> probably look on RSX the same way.

> He. I still use RSX on a daily basis... :-)
> But MUMPS started on PDP-11s, unless I remember wrong. And as a 
> standalone system on the machine as well...

Actually, MUMPS originated on the PDP-15.  But then, so did RSX!

Of course, Unix originated on the PDP-7, an earlier part of the same
family. ;->

>> And let's look at my list again. MUMPS?  How many people use or are
>> proficient in it?  And yet, it has a massive following and has moved
>> into niches it was never really intended to go to.

> No new programs are written for it.

Not according to the company that sells it (renamed Cache'), or people I
know who make a living writing it.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 20:07                         ` Bill Gunshannon
@ 2011-05-25  1:07                           ` Rich Alderson
  2011-05-25 10:34                           ` Johnny Billquist
  1 sibling, 0 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-25  1:07 UTC (permalink / raw)


Oops.  As Bill points out, MUMPS originated on the PDP-7 (like Unix).  I had
forgotten that it predated the PDP-15.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:36                   ` Johnny Billquist
  2011-05-24 16:42                     ` Bill Gunshannon
@ 2011-05-25  2:59                     ` Jerome H. Fine
  2011-05-25 10:51                       ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-25  2:59 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 3827 bytes --]

Can Johnny fill out the RSX-11 values and someone else the
RSTS/E values?  Also, add operating system features which
are felt to be important.

There has been some discussion as to the reasons for the
migration to faster hardware with larger disk drives.  Since
Ersatz-11 and SIMH have been available for more than 10
years, a number of commercial users have continued to run
using the PDP-11 architecture.  However, I expect that these
few examples were more the exception than the rule.  With
limited Y2K support that was sometimes available only a
couple of years before the deadline, many users gave up on
DEC with some justification.

One aspect that I find confusing is the size of a device as
opposed to the size of a file.  As far as I understand, the
maximum size of a file under RSTS/E is still 65536 blocks
or 32 MB.  While I agree that RT-11 also limits the device
size to 32 MB, if RSTS/E supports files only up to 32 MB,
how does that make RSTS/E any better than RT-11 in
respect of the size of files if the size limits are the same?

Like many others who have been reading and writing to this
thread, it has been a source of much information.  However,
in reference to the hardware limitations of the PDP-11 under
various operating systems, I only have direct experience with
RT-11, TSX-Plus and a bit of RSTS/E.

In order to understand some of the problems of why migration
to 32 and 64 bit hardware took place, perhaps a table could
be filled in.  Note that my very rough benchmarks running
RT-11 under Ersatz-11 under Windows XP on a core 2 duo
system at 2.63 GHz and 4 GB of physical memory provide
a speed greater than 100 times a PDP-11/93 for the CPU.

Disk I/O throughput is greater than 200 times a SCSI hard
drive on a CQD 220/TM host adapter when SATA II 1 TB
3.5" hard drives are used to copy and compare 32 MB files
on different physical hard drives.  For example, it takes less
than 1 second to copy a 32 MB file under Ersatz-11 vs
about 240 seconds on a real PDP-11/93.

Maximum                       RT-11       TSX-Plus     RSX-11     RSTS/E
----------                       -------       ----------     
--------     ---------

Instructions:                   64 KB          64 KB

Data (No I/D)                INCL           INCL
Data (I/D)                      64 KB          64KB
Data (Ersatz-11)*          >1 GB      >1 GB??

Maximum Jobs:                      8              32
Scheduling:                       Job#     Complex

Device:(Hard Disk)        65536          65536
File:(FS Hard Disk)       65528          65528
Max Files:                         255              255
Synchronous I/O               Yes              Yes
File Sharing                        No              Yes

All Hard Disk sizes are specified in blocks of 512 bytes.

*Ersatz-11 provides EMEM.DLL which has been tested with
  Windows 98 SE and Windows XP.  With a physical memory
   of 768 MB, Windows 98 SE supports >600 MB of access
   to PC memory under RT-11.  With a physical memory of 4 GB,
   Windows XP supports >1280 MB of access to PC memory
   under RT-11.  Fast access to PC memory is best done via
   current USER access to the IOPAGE registers, however fast
   access is also possible with previous USER access to the
   IOPAGE registers using the MFPS and MTPS instructions.
   Benchmarks in respect of access time show that it takes about
   three times as long to access a 16 bit word of PC memory vs
   a normal access of a 16 bit word.  FORTRAN  IV and 77
   functions and subroutines are available which provide the user
   with a convenient, user friendly access to the PC memory.
   Note that under TSX-Plus, only fully tested programs should
   be allowed access and probably additional functions must be
   provided if sharing of PC memory among multiple programs
   is to be provided.

[-- Attachment #2: Type: text/html, Size: 6509 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 20:07                         ` Bill Gunshannon
  2011-05-25  1:07                           ` Rich Alderson
@ 2011-05-25 10:34                           ` Johnny Billquist
  2011-05-25 15:46                             ` Bill Gunshannon
  1 sibling, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-25 10:34 UTC (permalink / raw)


Oh, boy. This is getting to be long posts...
And there isn't that much I can trim, since I have comments on most of 
the stuff... :-/

On 2011-05-24 13.07, Bill Gunshannon wrote:
> In article<irgsnm$7ov$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>> On 2011-05-24 09.42, Bill Gunshannon wrote:
>>> In article<irgfp7$382$1@iltempo.update.uu.se>,
>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>> On 2011-05-24 05.58, Bill Gunshannon wrote:
>>>>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>>>>> 	Johnny Billquist<bqt@softjar.se>    writes:
>>>>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>>>>> 	Johnny Billquist<bqt@softjar.se>     writes:
>>>>>>>>
>>>>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>>>>> But I doubt many people today would see the point in using anything that
>>>>>>>> didn't follow the Unix programming paradigms,
>>>>>>>
>>>>>>> I was waiting for this to come up.  I think most people think that
>>>>>>> there are really only two OSes left in the world.  MS and Unix.
>>>>>>> BUt, actually, thre are a lot of others out there including some
>>>>>>> that predate MS and might even predate Unix and still have loyal
>>>>>>> followings. (And I am not talking about VMS. :-)
>>>>>>
>>>>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>>>>> well, when it comes to writing programs for the net.
>>>>>
>>>>> Minus the security model.  :-)
>>>>
>>>> True. But the security model of Unix itself isn't exactly something to
>>>> boast about. :-)
>>>
>>> I'll take it over the MS model anyday.
>>
>> No argument from me there... But just because one sucks, that don't make
>> the other one shine. I'd prefer neither...
>
> OK, You got me there.  :-)  But then, isn't that part of the reason
> behind this whole discussion?  What we need is other options.  I
> just happen to think that the models/paradigms offered by RSTS/RSX
> are worth consideration.

Hmm. I hadn't thought about that aspect explicitly, but you got a point.

>>>>>>                                                          And so do VMS.
>>>>>
>>>>> Minus little things like fork();  :-)
>>>>
>>>> Good point. There are some things that are more of an headache to emulate.
>>>> Still, lots of Unix programs can be compiled and run on VMS systems with
>>>> little, or no change.
>>>
>>> Yes, but not the majority of the ones people actually want.  :-)
>>
>> Seems like quite a lot have been made to run over the years.
>> tcsh, Apache, Netscape, gcc, emacs... Just to mention a few...
>
> An interesting list.  Especially emacs, which must be one of the most
> ported programs in the history of IT.  But, just out of curiosity,
> how many of them are at the same release for VMS that they are for
> Unix.  Why not?

I'd say none of them are up to date. And the reason being that no one 
really cares enough to do the work. It can obviously be done.

>>> ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
>>> on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
>>> contained system with its own DB built in and there is no desire to
>>> have look, run, or be programmed as anything other than MUMPS.  In
>>> all these cases you see the same loyalty I would have had for something
>>> like RSTS if it had grown beyond the limitations of the PDP-11 hard-
>>> ware.  Johnny, I get the feeling from reading your posts that you
>>> probably look on RSX the same way.
>>
>> He. I still use RSX on a daily basis... :-)
>> But MUMPS started on PDP-11s, unless I remember wrong.
>
> No,  PDP-7 was first.  Then PDP-9, PDP-15, PDP-8, Data General,
> and then the PDP-11.

Oh well. MUMPS is not something I've ever used, or even seen myself. 
Can't blame me for not having all the facts straight there. :-)

>>>>>> (Hello select(), synchronous I/O, getting errors back which basically
>>>>>> just means that you need to retry, because nothing is wrong, but we just
>>>>>> got interrupted, and random dynamically allocated file descriptors, and
>>>>>> all files are just streams of bytes.)
>>>>>
>>>>> Lot's of systems where that is not necessarily the case.  Definitely not
>>>>> the case with VMS.
>>>>
>>>> It's definitely the case with VMS. Yes, the above statements are not
>>>> *neccesarily* true for VMS, but a programmer *can* program with this
>>>> approach on VMS, and almost all programmers today implicitly assumes
>>>> that these statements are truths.
>>>
>>> As one who hung out on c.o.v for a long time and worked with VMS
>>> for a couple of decades I have to disagree.  The idea that files
>>> are streams of bytes without structure at the lowest level has to
>>> be the most touted problem/shortcoming in Unix among that group.
>>
>> VMS deals with it just fine. It's called STREAM_LF on VMS systems. So
>> programmers can pretend they never heard of anything else, even when
>> running on VMS.
>
> Wonder when that actually came into VMS?  I would guess around POSIX
> time.

No, unless I remember wrong, it was there before that. Unfortunately, I 
don't have any dates for it, but I suspect it might almost trace its 
roots back to V1. Actually, RSX have it too, for RMS. But since FCS 
don't support it, noone ever uses it, and you hardly ever see a file 
with those attributes. But I've tested it just to check, and it works 
just fine in RSX too.
(Although the RSX support is somewhat more limited, in that there are 
only STREAM files, not both STREAM_LF, STREAM_CR and god knows what 
other variants).

>> Personally, I think that having streams of bytes as the only file
>> structure sucks. It is one type of structure, and useful sometimes. But
>> not the best way at other times. I prefer an OS that gives me many
>> tools, and then I can adopt the one that fits my need for every specific
>> situation instead of having to roll my own, or use some external library
>> which exists in various flavors.
>
> Well, I have to admit that I have long been amazed that no one ever
> wrote an equivalent to RMS for Unix.  But you do have to admit that
> when you come right down to it all anything really is is a stream
> of bytes (or bits if you want to go even lower) so having that as
> the basis makes some sense.

There are several. For different needs. But berkely db is one pretty 
common part.
But since this needs to be done by libraries, there is no standard, and 
no common concept. Nor any ability to manage such files in any sensible 
way outside of that program.

And no, not everything is a stream of bytes. There are plenty of 
examples of devices which are record oriented, and for which Unix tries 
to hide this from the users. Disks are the most common example. Disks at 
the lowest level always deals with blocks. Tapes is another, where tapes 
have records, but they are of variable length.
And punched cards is yet another example. :-)
Heck, ethernet is not a stream of bytes either, but frames or variable 
length between 64 and 1500 bytes.

So, no, I don't really think it necessarily makes sense.

>>>> So, even though you have an OS that offers you other possibilities,
>>>> noone knows, or can use them. (Ok, noone is an oversimplification, but
>>>> you get the idea.)
>>>
>>> But with the amount of stuff that was already out there......
>>
>> No new programs are written using that stuff.
>
> Well, after a point that probably was right, but if there had been
> a future for OSes like RSTS and RSX do you really think that would
> be the case?

Probably. Developers don't want to develop for several different OSes. 
It's costly. Better to just have to develop for one. So it would 
converge over time anyway. And I don't think it would go much different 
even if you had had more options for OSes on x86 architectures.

>>> And let's look at my list again. MUMPS?  How many people use or are
>>> proficient in it?  And yet, it has a massive following and has moved
>>> into niches it was never really intended to go to.
>>
>> No new programs are written for it.
>
> You're joking, right?  Mumps (now called ANSI-M) is still very much
> in development and not just maintaining old systems.  DSM-11 may have
> died, but it certainly didn't take Mumps with it.  I am still doing
> my research but in just the one niche where it started (hospitals)
> it is the prevalent system in use all over the world.  It has also
> established itself in other niches like the financial world.

I might be wrong about that one, then. I have never seen it, never seen 
it mentioned anywhere, nor ever seen anyone ask for any competence in 
Mumps, so I just assumed that it is dead. But you are right, it might 
very well have a niche market somewhere. Cool in that case.

>>> And at a smaller level, what about COBOL?  No longer taught in any
>>> school I can find as more than an afterthought. (We dropped it as a
>>> subject more than 10 years ago and at that point the department chair
>>> cannot remember the last time it was actually offered.  A single
>>> credit's worth of COBOL was included in one course here but even
>>> that was dropped 5 years ago.)  And yet still so much in demand
>>> the a company the size of General Dynamics recently advertised an
>>> Internship where the primary function is to learn to program in
>>> COBOL.  Why?  Because they are still writting and maintaining very
>>> large COBOL systems and academia is not providing people with the
>>> requisite skills so they have to revert back to the methods od the
>>> 60's and early 70's and do it themselves.
>>
>> No new programs are written in COBOL. You just maintain existing systems.
>
> Now you sound like a guy I know in NZ who thinks that COBOL died when
> the COBOL Programmers refused to jump on the OO bandwagon.  There are
> still a lot of places where COBOL is the primary language of choice
> for their market niche, and yes, it is the mainframe world which is
> anything but going away.

COBOL is not dead. That is not what I said. I just said that no *new* 
programs are written in COBOL. As in from scratch. Lots of code still 
get written. But its for existing systems.

>>                  (I admit I have been toying with the idea for RSX, but I
>> doubt I'll ever get around to it.)
>
> Probably for the same reasons that would hold me back at the moment.
> No time and no real need.  But what if that need was there?

Why would there be a need? An X server is just for handling a display. 
There are plenty of X servers already. There is very little need to 
implement any new X servers. Clients, on the other hand...

>> It's the same problem that VMS face. For VMS, the hardware is definitely
>> there for all practical purposes.
>
> That's arguable.  Many think they backed the wrong horse.

No denying that they backed the wrong horse. But there is also no 
denying that VMS can run on pretty current hardware. You have gigabit 
ethernet, graphics, lots of memory and disk, and pretty fast CPUs. So 
for practical purposes, for VMS you have modern hardware. It's not 
making any difference. People still do not write much software for VMS.

>>                                    You even have X11.
>
> An ancient version that has not been kept up.

I haven't checked lately, but just because it's not Xfree86 with all its 
bells and whistles, don't mean that it don't work just as well anyhow.

>>                                    And Unix is a worse Windows than MS
>> Windows,
>
> Not sure what you mean by this.  There is not much that MS Windows
> can do that can't be done using X-11 (well, sound support would have been
> nice but we probably won't see that ever finished).

It wasn't a question of capabilities, but of applications. Unix is 
trying to emulate Windows as far as applications go, and it's never 
going to beat Windows at its own game. KDE, OpenOffice, and all that 
cruft... Not going to get people turning their heads in any real way.

>>            and thus have a hard time competing as well. You need *office*.
>> :-) (And a whole bunch of other applications.)
>
> A perfectly good Office Suite is available for Unix.  The only problem
> there is lack of real marketing.  But then, when you don't make any
> money you don't have any to buy marketing.  ;-)

What perfectly good Office Suite are you refering to? Open Office is not 
good enough. I've used it, and it has some incompatibilities with MS 
Office, which will bite you. And then you get upset because you do not 
get the same result as the same document viewed under MS Windows, and 
you basically come to realize that you need MS Office.

>> And things like office is what pushed PDP11s out in some places.
>
> I agree.  And Office products didn't come about because the hardware
> couldn't do it, not because the OS somehow was deficient.  RSTS and
> RSX spent their lives tied to an anchor (a nice anchor, but an anchor
> just the same).  The only path forward offered by its owner did not
> include those OSes.  Interesting to note the difference in the success
> (and even existence) of companies who did offer forward paths onto new
> hardware compared to those that forced a total change of everything.

There were word processing and other stuff available for RSX. But it 
wasn't pretty enough. People started wanting very graphical interfaces 
to those things, and at that point it became a question of the hardware 
couldn't do it.
Apart from that (well, and speed), even the old PDP-11s could handle it 
just fine, yes.

Not sure what the point was here, though. I believe the big issue was/is 
that nobody really saw a market in developing and maintaining such 
software for RSX (for example), which caused such software to cease to 
exist. And that caused RSX systems to become less viable.

In my opinion, having the applications is all that counts. If you have 
them, people will run the system. They don't care how the OS really 
looks like. If you don't have the applications people need/use, they 
will not use the OS, no matter how the OS looks like.

>>>> So yes, the current applications are stable and working. But that is not
>>>> enough. If that was all there is, then there wouldn't be any need for
>>>> more computing power either. If the current setup already fulfills the
>>>> needs, that would imply that the current computing power also is
>>>> sufficient, no?
>>>
>>> No, not necessarily.  Something as simple as the amount of data
>>> that needs to be handled has increased beyond the addressing
>>> capabilities of the host hardware.  Best example for this is to
>>> drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
>>> break them up into a whole lot of really samll partitions.  Or,
>>> look at Ultrix-11 or BSD-2.11.  What is there about either of
>>> these that would prevent most modern programs from being built
>>> that isn't actually due to a hardware limitation of the platform?
>>> Rhetorical question that is answered by looking at BSD 4.x and
>>> the current crop of BSD's.
>>
>> I don't think I really agree. The amount of data don't in most cases
>> change that much over time.
>
> Say what?  Let me give you just one example.  The Internal Revenue
> Service of the US.  A major Unisys - COBOL shop.  The number of
> returns they have to deal with has at least doubled in my lifetime
> alone.  Thats a lot of data.

A doubling of data should not be enough to push something over the limit 
of what can be handled.
A doubling of a significant part of a lifetime is not what I'd call any 
larger change.

>> RT-11 is a bad example by the way, since it's by far the most limited
>> platform on the PDP-11. I can put huge disks on RSX without a problem.
>> Using the default parameters, disks gets capped at 8GB though (24 bit
>> disk block numbers). But you can change RSX to use 32 bit disk block
>> numbers, meaning you get 4 billion disk blocks. That means a limit of
>> about 2T disk size. That should last you a while longer... :-)
>
> I was not aware of that with RSX.  I expected the limit was larger
> than RT-11 but much smaller than most modern systems.

RSX is really pretty neat, clean and nice already. There is not much 
that I actually thinks needs to be fixed with it. Not with the hardware 
platform.

>> As for the problems with 2.11BSD, yes, the limit is the 16-bit address
>> space, which is a hardware restriction.
>> But the growth path from 2.11BSD was a simple and easy one, which just
>> about everyone have taken long ago. Just continue with another Unix.
>> But the reason for that migration was new programs. Not that the current
>> crop of programs suddenly couldn't run on 2.11BSD anymore.
>
> But what was that migration path?  Unix was made to run on other hardware.
> And as the hardware grew so did the OS.  I just wish the same had been
> true of RSTS and would like the chance to actually try it.  :-)

One reason why Unix had such an easy migration path was because of no 
assembler. Neither for the OS itself (more or less), but more 
importantly for the applications. You had to recompile, but that was 
about it.
For RSX, that would be more difficult, even if you regarded MACRO-11 as 
a language for which you have a compiler.
Because of the way the system works, RSX programs in general are more 
tied into the system than similar Unix programs, making it harder to 
port them, even to a system using the same design. So many fields, 
pointers, ids and so on which would need to change.
It would be complex to even have a compatibility mode.

RSX have way less abstraction than Unix do. Good in some ways, bad in 
others. For porting, abstraction is very good. For efficiency, 
abstraction is bad.
(But I'm sure you know that.)

>>>>>> It all have very little to do with technical competence of the
>>>>>> underlying OS.
>>>>>
>>>>> Oh, I can agree with that.  As I said, "It's the applications!!"
>>>>> But, by the same token, the move to a new OS was not because of
>>>>> a shortcoming in the old OS.  Unisys has been very successful by
>>>>> making systems that still allow old code to continue to run only
>>>>> with greater resources available (I remember a particular problem
>>>>> I had to solve in my Univac COBOL days that was eventually tracked
>>>>> down specifically to memory availability!!  That same code would
>>>>> run on OS2200 today without ever exhibiting the problem I had to
>>>>> fix by modifying the supporting ECL.)  IBM has had great success
>>>>> by doing the same for SYSTEM-360 programs.
>>>>
>>>> Yes. It's the typical question of being able to run the applications.
>>>> Rewriting, and porting applications can be both expensive and difficult.
>>>> Cheaper to continue running on the old systems, when possible.
>>>>
>>>> I guess we forgot about one reason why people move off old OSes. Cost of
>>>> running and maintaining old hardware. At some point it might just become
>>>> impractical to continue running on the old machines.
>>>
>>> Which is the point I was trying to make.  Frequently it is not the
>>> application or the OS that causes the impracticality.  It is the
>>> hardware.  And thus my interest in seeing RSTS and yes, RSX run on
>>> other platforms.  It seems to have worked out quite well for Unisys.
>>
>> An RSX for some other hardware? Well, I doubt you could make it run old
>> RSX applications without some big headaches.
>
> Not really my intent although, you have to admit, with built in PDP-11
> emulation it probably could and be faster than original hardwar at that.

Probably, yes.

> My desire is source level compatability.  Have a version of RSTS or RSX
> for x86/x86-64 that supports everything the PDP-11 versions did.  And
> new stuff can be added later.  Who knows, if there actually was interest
> I suppose you could VEST old immages.  :-)

Source level compatibility for atleast RSX would be difficult, I think. 
There is just so much more information from the OS that leaks out to 
programs.

>>                                                But it is doable. The
>> problem is that there is no real need. The old RSX applications runs
>> just fine on the old machine. What need would a port to new hardware
>> fill? We've already established that with current emulators speed is no
>> longer an issue. Disk space neither. More memory is definitely not
>> needed for the old applications. They already work within the current
>> memory limits.
>
> The desire to add new functionality.  Instead of going to Windows for
> new stuff be able to run it under RSTS/RSX.  Is there a need?  Most
> people would say, "no".  But then, was there really a need for Unix
> when the CSRG started their research?

First of all, Unix was an already existing OS, which CSRG just picked as 
a good choice for doing research on. CSRG was doing research. That is a 
different ballgame. Research really don't relate to "need" in the same 
way. Research is done for its own purpose. No other need is required.

And research itself wasn't about how to just get Unix running, but it 
was just a platform on which to try implementing new ideas and concepts 
that they came up with.

>> So we're talking about totally new applications. I just don't see that
>> happening. People will write for Unix instead.
>
> Some would write for other systems.  And my thought is that there may
> be niches that decide they are not happy with the Unix/MS solution.
> Or, it will just be an academic endeavor.

I doubt very many (if any) would write for other systems. Any commercial 
developer is going to write for the platform where he sees the most 
customers. The platforms merits are irrelevant (more or less).

>> Put another way: the drive for new hardware have mostly been new
>> programs. New programs are written for certain OSes.
>
> Not sure which is driving which.  :-)  New programs can be written
> for anything.  Big push here for teaching Android programming.  Two
> yeara ago the only "android" was Data and you couldn't program him.

You do know that Android is just Linux, right? Yet another plaform 
following the Unix paradigm.

>>>   And then we also have Algol. :-)  And isn't there
>>> a Pascal in the DECUS collection?  What other languages are languishing
>>> on tapes in various peoples storage lockers?
>>
>> Gha! Swedish Pascal... Another DECUS program. It's actually kindof neat,
>> but I tried modifying it a number of years ago as I wanted it to
>> generate code that could be run with split I/D space. I gave up. The
>> source code for the compiler is horrible, and generated code is even worse.
>
> Yes, but at least you wouldn't need to worry about Split I&D. :-)

If you want to be source compatible, then yes. You could ignore split 
I/D space. However, most modern computers are not very happy with mixing 
code and data. It messes up caches, and can even cause unexpected 
results. So in general, all modern machines requires a kind of split 
between instructions and data for different reasons than why you did it 
on a PDP-11.

>>>>>    And,
>>>>> there are other options.  Again, all of it depends on the model that
>>>>> needs to be used.  If all the original code were to be released with a
>>>>> commercial friendly license one could modify the back-end to support
>>>>> the new architecture.  If you have to start from scratch then you need
>>>>> to start by finding a suitable compiler (and language).  And, speaking
>>>>> of language, even if the original code was released much of it is in
>>>>> PDP-11 Macro and would need to be re-written using the original only
>>>>> as a model.  That adds the question of what language do you write it
>>>>> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
>>>>> lot of the mistakes that C is famous for.  But......  I would probably
>>>>> not choose C as the language to use for reasons I should not have to
>>>>> deliniate here!!  :-)
>>>>
>>>> Good question. I have no idea what I would write in. I love MACRO-11,
>>>
>>> There is an interesting point in itself.  Is there really any reason
>>> you can think of that would prevent someone from writting something
>>> that took MACRO-11 and output executable code for some other CPU?
>>
>> Nothing prevents it, except that people in general are not happy with
>> assembler, and nowadays it seems like almost noone even understand how
>> to program in assembler. It's also a lot slower than writing in a HLL.
>> (But the resulting code might be nicer.)
>
> But some of us are still OK with it.

That is a very small number.

>>> Ada?  I understand that has become king in Europe.  And I am certainly
>>> comfortable coding in it.  And with a few decent extensions that can
>>> be found in most dialects anyway Pascal is a pretty good system level
>>> language.
>>
>> Ada? King of Europe? Where do you hear such things??? :-)
>
> Well, the only real Ada Conference is now held in Europe (might be
> coming up real soon now).  Stuff I read from their website seemed
> to at least hint that Europe was big on it.  I thought ESA did most
> of their stuff in Ada.  What about Airbus?  Isn't the embedded
> stuff  being programmed in Ada?

Most is in C, or getting into C++ nowadays actually. (Ewwww)
I have not seen anyone mention Ada in quite a number of years now.

>> Ada exists, but only among the really obscure places, like the military.
>> Where I believe it's also still popular in the US.
>
> Not really.  Some contractors still use it, but I don't think there has
> been a contract that required it in ages.  I know of a lot of embedded
> stuff still being done in Fortran.

Sounds like a similar scene, then.

>>>> Most typically, that would be such a simple concept as strings for example.
>>>
>>> Well, I would expect that most any language could use (read: would
>>> need) those same string functions.  I have a Pascal Compiler from
>>> an 80's Z80 system (Alcor Pascal) that has pretty much all the
>>> standard C String functions.
>>
>> Those same string functions? Why? Why would I want a strcpy which copies
>> bytes until it hits a NUL character?
>
> Oh, I didn't mean with all the warts.  I just meant the functionality.  ;-)
> The ole' null-termination thing is one reason to avoid C.  Now, granted, I
> don't have a problem with it, but a lot of programmers just never did
> learn that they are responsible for what their program actually does as
> opposed to what they think it does.

But that is what gcc provides for you. It sees you calling strcpy, and 
instead of generating code that actually calls strcpy, it will really 
put in code that implements strcpy for you, at that point in your code.
With the semantics that C and Unix have for strings.

>> The ones that were relevant at the time. It gotta be PDP-11 unixes,
>> because otherwise the rest of the code wouldn't work anyway. But you
>> could have different RTSes for Ultrix, 2BSD, V7 and V6, if needed.
>> RTSTS/E make that all possible.
>
> See, I think you have missed the whole point of my side of the discussion.
> I am not talking about extending PDP-11 RSTS or RSX.  I want to see it
> ported to other hardware, primarily, Intel. (Although a 68K port would be
> fun, too, as I actually have a couple of 68K boards that go in the QBUS
> and access all the devices that the PDP-11 could. :-)

Well, for such a port, obviously it would be cool with RTSes for current 
Unix dialects.

>>> Oh well, as I said, it is all really academic as:
>>>     1.  I don't expect the source to RSTS or RSX to be released.
>>
>> Me neither.
>>
>>>     2.  Even if I am wrong about 1. above it is likely to be done
>>>         under a license that is not commercially friendly.
>>
>> Not sure about that one.
>>
>>>     3.  Given 1. above it is unlikely that any attempt to re-write
>>>         RSTS or RSX is ever likely to happen.
>>
>> If a rewrite took place, 1 and 2 are not really that relevant. You'd
>> have to write the whole thing anyway. That's what a rewrite means.
>>
>>>     4.  Even if I am wrong about 3. above it would probably end out
>>>         being something as stupid as FreeVMS which in the long run will
>>>         be nothing but a DCLish shell running on top of Linux which is
>>>         not and never could be any kind of VMS.
>>
>> That is probably true. It's more or less not possible to translate some
>> of the concepts in RSTS/E or RSX into Unix equivalents. Emulating the
>> hardware, and then run everything on top of whatever.
>
> And, as long as we have talked of emulation.  I wonder if anyone has
> ever thought of "modifying" the PDP-11 inside an emulator?  Add address
> lines.  Give it more memory.  maybe even make the address space flat. :-)

No can do without very serious brain surgery. A lot of OS design details 
depend on the size of physical addresses. And there are no free bits in 
there. So to extend the physical address means redesigning the bit 
layout of the MMU registers. That will carry a big change everywhere. 
Not to mention that you'd need to change all devices to have new bits 
for DMA addresses. Which means you'd have to change all device drivers 
that do DMA.
Changing the virtual address space is perhaps even more exciting. That 
means expanding the word size of the machine. That will break just about 
everything.

Did you know that the memory bus on the PDP-11/70 already specifies a 
24-bit physical address. But the PDP-11/70 always holds the high two 
bits to zero. But you could theoretically have expanded the physical 
memory to 16MB there. But once more, that would have meant changing the 
bit fields in the MMU registers, which would have broken a lot of code.

RSX have a provision for this, but it never have much practical 
importance. In all the MMU-related system calls, you can specify if your 
pages should aligned on 64 byte boundaries, or 256 byte boundaries. With 
256 byte boundaries, you would actually be able to accomodate two more 
physical address bits.

> So many projects, so little time.  And to think I thought when I came
> to academia that they would support, even push, some of my research
> projects.  Go figure.

:-)

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25  2:59                     ` Jerome H. Fine
@ 2011-05-25 10:51                       ` Johnny Billquist
  2011-05-25 12:36                         ` Jerome H. Fine
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-25 10:51 UTC (permalink / raw)


On 2011-05-24 19.59, Jerome H. Fine wrote:
> Can Johnny fill out the RSX-11 values and someone else the
> RSTS/E values? Also, add operating system features which
> are felt to be important.

Not really sure what you want me to fill in, but I'll try to make 
comments on your table.

> Maximum RT-11 TSX-Plus RSX-11 RSTS/E
> ---------- ------- ---------- -------- ---------
>
> Instructions: 64 KB 64 KB

What is this? Addressable virtual address space?

> Data (No I/D) INCL INCL
> Data (I/D) 64 KB 64KB

I guess we're talking about directly addressable virtual address space.
This is not OS dependent. It is a function of the architecture, and will 
be the same on all OSes running on a PDP-11, with the following caveats:
If MMU is not enabled, then you have different rules.
If the OS don't support split I/D-space, then you cannot use it, even if 
the hardware supports it.

I'm not sure if it is relevant to talk about memory spaces in other 
ways. Like, in RSX, you can create big memory areas which you can map 
into and out of your virtual address space. It's sortof like mmap() in 
Unix, except different. But it gives an understanding about what it is 
to talk about mmap here.

> Data (Ersatz-11)* >1 GB >1 GB??

That is a silly piece of information. We're just talking about a device 
here. The limits have nothing to do with anything else than the 
implemented device. It's not related to the OS, nor to anything else 
about a PDP-11.

> Maximum Jobs: 8 32

Maximum jobs for RSX is not fixed. It's basically a question of when you 
run out of system pool.

> Scheduling: Job# Complex

For RSX, the scheduling is basically a strict priority scheduler. The 
task with the highest priority that wants to run gets the CPU.
Within a specific priority level, tasks are scheduled in a simple 
round-robin fashion.
There are 250 priority levels.
And then you also have swapping, which then deals with swapping 
priorities, which schedules when/how a task is brought back into memory 
again when it wants to run, if it is swapped out.

> Device:(Hard Disk) 65536 65536

Hard disks themself don't have a limit. It's just a question of the 
controller and disk. For SCSI disks and controllers, the current disks 
are reaching into the terabyte range.

> File:(FS Hard Disk) 65528 65528

The RSX file system by default limits disks to 8 GB. In disk blocks 
we're talking about 2^24 blocks.

> Max Files: 255 255

Max number of files in an RSX system is 65500 files. But then again, you 
can create virtual disks inside a disk, and each of those can have 65500 
files as well, which means that you can go to very many files on a 
physical disk, by just nesting virtual disks inside it.

> Synchronous I/O Yes Yes

What does this mean? Can RSX do synchronous I/O? Yes, of course. It can 
also do asynchronous I/O.

> File Sharing No Yes

What do you put into the concept of file sharing? RSX can allow 
concurrent read-only access to files. It can allow one writer with many 
readers, and it can also allow multiple writers to a file. It also have 
disk block locking to control concurrent access to a file, so that you 
can have a controlled consistent view of the contents of a file.
Programs also have control over what access they want to allow other 
programs to have to a file.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 10:51                       ` Johnny Billquist
@ 2011-05-25 12:36                         ` Jerome H. Fine
  2011-05-25 17:25                           ` Tom Lake
                                             ` (2 more replies)
  0 siblings, 3 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-25 12:36 UTC (permalink / raw)


 >Johnny Billquist wrote:

> >On 2011-05-24 19.59, Jerome H. Fine wrote:
>
>> Can Johnny fill out the RSX-11 values and someone else the
>> RSTS/E values? Also, add operating system features which
>> are felt to be important.
>
> Not really sure what you want me to fill in, but I'll try to make 
> comments on your table.

Thank you.  I am already aware of some of the values. But others are
beyond my knowledge.  I will attempt to update the table from your
comments.

>> Maximum RT-11 TSX-Plus RSX-11 RSTS/E
>> ---------- ------- ---------- -------- ---------
>>
>> Instructions: 64 KB 64 KB
>
> What is this? Addressable virtual address space?

Yes - I assume that RSX-11S (without an MMU) is less than
64 KB, but when the MMU is available and execution is in
USER space, 64 KB are available.  RT-11 is the same.  Under
RT11FB (and RT11SJ), only about 32 KB are available.  Under
RT11XM and using VBGEXE to initiate a virtual job, 64 KB
are available.  Under the RT-11 RTS under RSTS/E, I have
found that a bit less than 56 KB are available.  Does anyone
who knows RSTS/E well know if a full 64 KB are available
if a RTS is not in use?

>> Data (No I/D) INCL INCL
>> Data (I/D) 64 KB 64KB
>
> I guess we're talking about directly addressable virtual address space.
> This is not OS dependent. It is a function of the architecture, and 
> will be the same on all OSes running on a PDP-11, with the following 
> caveats:
> If MMU is not enabled, then you have different rules.

Obviously.  I presume that RSX-11S and RT-11 with RT11SJ are
examples.  I know that TSX-Plus allows only virtual jobs which
can be allowed the full 64 KB.  I presume that RSTS/E also
allows only virtual jobs.  Can anyone confirm?

> If the OS don't support split I/D-space, then you cannot use it, even 
> if the hardware supports it.

Also true.  Under RT-11, this became available in V05.06
using the RT11ZM monitor.  It is probably used very little
under RT-11.  I know of no applications which have been
written to take advantage of I/D space for RT-11.

> I'm not sure if it is relevant to talk about memory spaces in other 
> ways. Like, in RSX, you can create big memory areas which you can map 
> into and out of your virtual address space. It's sortof like mmap() in 
> Unix, except different. But it gives an understanding about what it is 
> to talk about mmap here.

The same concept can be used in RT-11 under RT11ZM.
However, under the PDP-11 architecture, the maximum
data space at any one time will always be 64 KB.  However,
under RT-11, the MMU can be used directly to access
all 4 MB of memory (with only a small overhead of
changing the MMU each time a different page of memory
is to be accessed).  Probably only the RT-11 operating
system does this 99% of the time since it should be done
only in KERNAL mode and most of the time with interrupts
disabled.

However, in my personal (and probably limited) experience,
whenever I required more than 32 KB of data, I usually needed
orders of magnitude more to be really useful.  I note that one
exception seems to be the MACRO-11 assembler.  For most
programs of reasonable size, 32 KB of data is more than
sufficient and the work space does not need to be read or
written.  Only the very large programs such as the RT-11
Resident Monitor / KMON (which are assembled at the same
time) need a work space greater than 32 KB.

But when I attempt to sieve Prime Numbers, the larger the
work space the better and a GB is not too large.  Which leads
to the next reference ...

>> Data (Ersatz-11)* >1 GB >1 GB?? 
>
> That is a silly piece of information. We're just talking about a 
> device here. The limits have nothing to do with anything else than the 
> implemented device. It's not related to the OS, nor to anything else 
> about a PDP-11.

Well, I just added it in case anyone else is interested.  With
memory now so inexpensive, it would probably be reasonable
to build such a device for a board (Qbus or Unibus) on a
real PDP-11 and make IOPAGE registers available just as
Ersatz-11 does.  Image a real PDP-11 that had a device
which supported 4 GB of memory so that VIRTUAL arrays
in FORTRAN did not need to use PDP-11 memory.  Or
having a VIRTUAL disk which also did not need to use
PDP-11 memory.  In fact, both could be on the same board
with the VIRTUAL disk being of any size and looking as
if it was any type of hard disk drive, but having even better
response time than with the current VIRTUAL disks using
PDP-11 memory if all the MMU interaction was not required.

Since a single PC stick of memory now has 4 GB, it would be
easy to have a dual module for a real PDP-11.  I don't know
enough about hardware to design such a board, but it could
not be that difficult.

>> Maximum Jobs: 8 32 
>
> Maximum jobs for RSX is not fixed. It's basically a question of when 
> you run out of system pool.

For TSX-Plus, I think the limit is a bit more than 32, but
again memory is the problem.

>> Scheduling: Job# Complex
>
> For RSX, the scheduling is basically a strict priority scheduler. The 
> task with the highest priority that wants to run gets the CPU.

Same with TSX-Plus.  However, the priorities are raised
and lowered (within limits) depending on what the job is doing.

> Within a specific priority level, tasks are scheduled in a simple 
> round-robin fashion.
> There are 250 priority levels.
> And then you also have swapping, which then deals with swapping 
> priorities, which schedules when/how a task is brought back into 
> memory again when it wants to run, if it is swapped out.

I think that TSX-Plus has something similar.

Can anyone please comment on RSTS/E scheduling?

>> Device:(Hard Disk) 65536 65536 
>
> Hard disks themself don't have a limit. It's just a question of the 
> controller and disk. For SCSI disks and controllers, the current disks 
> are reaching into the terabyte range.

Amazing!!!!!!!!  I remember when I first purchased a
MAXTOR XT8760E at $ 1 / MB at an EOL sale
probably around 1995.

RT-11 also supports large disk drives, just not easily.
In addition, when DEC wrote the DU(X).SYS device
drivers, the unit numbers up to 65535 were allowed
even though every host adapter for the PDP-11 needs
a maximum of about 16 units.  Far better would have
been to use unit numbers up to 255 and allow the RT-11
partitions up to 65535 instead.  That is one of the
enhancements that needs to be made to RT-11.

>> File:(FS Hard Disk) 65528 65528 
>
> The RSX file system by default limits disks to 8 GB. In disk blocks 
> we're talking about 2^24 blocks.

The same with RT-11 at present for the normal MSCP
access.  Partition numbers up to 255 are supported.

HOWEVER, my actual question was the size of each
individual file.  Is the maximum block number 65535?
Namely, is the standard block number a 16 bit word
(as in RT-11) or does RSX-11 support a 32 bit block
number for a file?  RT-11 does have special code that
supports a 32 bit block number, but it is not as convenient
as normal file access.

>> Max Files: 255 255 
>
> Max number of files in an RSX system is 65500 files. But then again, 
> you can create virtual disks inside a disk, and each of those can have 
> 65500 files as well, which means that you can go to very many files on 
> a physical disk, by just nesting virtual disks inside it.

I was actually asking about the maximum number of
OPEN files at any one time.

However, your answer about the file system is also
important.  RT-11 allows a maximum of  2232 files
in any directory.  However, since every file can
be regarded as a device, there is no actual limit.

Naturally, any file used as a device (subset under
RT-11 or logical disk - LD.SYS is used) is still
limited to 65528 blocks, but with only a maximum
of 2232 files in any directory, splitting a large (for
RT-11 of course) device of 65536 blocks into
a few smaller files which have their own directories
solves many RT-11 problems.  TSX-Plus is identical
since the same directory structure is used.

>> Synchronous I/O Yes Yes 
>
> What does this mean? Can RSX do synchronous I/O? Yes, of course. It 
> can also do asynchronous I/O.

Just asking.  I always assumed that most operating systems
allowed both types of I/O.  I understand that Windows
supports only synchronous I/O.  What about RSTS/E?

>> File Sharing No Yes
>
> What do you put into the concept of file sharing? RSX can allow 
> concurrent read-only access to files. It can allow one writer with 
> many readers, and it can also allow multiple writers to a file. It 
> also have disk block locking to control concurrent access to a file, 
> so that you can have a controlled consistent view of the contents of a 
> file.
> Programs also have control over what access they want to allow other 
> programs to have to a file.

I understand that RSTS/E also supports file sharing?  Can
anyone please confirm?

TSX-Plus has the same sort of capability.  RT-11 does not.

Thank you again, Johnny.  Can anyone with RSTS/E information
please respond?

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 10:34                           ` Johnny Billquist
@ 2011-05-25 15:46                             ` Bill Gunshannon
  2011-05-25 23:00                               ` Johnny Billquist
                                                 ` (3 more replies)
  0 siblings, 4 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-25 15:46 UTC (permalink / raw)


In article <irilvv$p6t$1@iltempo.update.uu.se>,
	Johnny Billquist <bqt@softjar.se> writes:
> Oh, boy. This is getting to be long posts...
> And there isn't that much I can trim, since I have comments on most of 
> the stuff... :-/

Amazing how much opinions can vary on some of this stuff.

> 
> On 2011-05-24 13.07, Bill Gunshannon wrote:
>> In article<irgsnm$7ov$1@iltempo.update.uu.se>,
>> 	Johnny Billquist<bqt@softjar.se>  writes:
>>> On 2011-05-24 09.42, Bill Gunshannon wrote:
>>>> In article<irgfp7$382$1@iltempo.update.uu.se>,
>>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>>> On 2011-05-24 05.58, Bill Gunshannon wrote:
>>>>>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>>>>>> 	Johnny Billquist<bqt@softjar.se>    writes:
>>>>>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>>>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>>>>>> 	Johnny Billquist<bqt@softjar.se>     writes:
>>>>>>>>>
>>>>>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>>>>>> But I doubt many people today would see the point in using anything that
>>>>>>>>> didn't follow the Unix programming paradigms,
>>>>>>>>
>>>>>>>> I was waiting for this to come up.  I think most people think that
>>>>>>>> there are really only two OSes left in the world.  MS and Unix.
>>>>>>>> BUt, actually, thre are a lot of others out there including some
>>>>>>>> that predate MS and might even predate Unix and still have loyal
>>>>>>>> followings. (And I am not talking about VMS. :-)
>>>>>>>
>>>>>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>>>>>> well, when it comes to writing programs for the net.
>>>>>>
>>>>>> Minus the security model.  :-)
>>>>>
>>>>> True. But the security model of Unix itself isn't exactly something to
>>>>> boast about. :-)
>>>>
>>>> I'll take it over the MS model anyday.
>>>
>>> No argument from me there... But just because one sucks, that don't make
>>> the other one shine. I'd prefer neither...
>>
>> OK, You got me there.  :-)  But then, isn't that part of the reason
>> behind this whole discussion?  What we need is other options.  I
>> just happen to think that the models/paradigms offered by RSTS/RSX
>> are worth consideration.
> 
> Hmm. I hadn't thought about that aspect explicitly, but you got a point.

You have to admit it is interesting how so many people (professionals,
not geeks and nerds) complain about the problems; security, performance
development conmplexity, etc. in both Windows and Unix and yet there is
little effort (none in academia where one would expect people with time
and resources for research) to come up with alternatives.  Don't get me
wrong, there was, but sadly just about the time any of these started
getting close to being usable the creators lost interest and walked away.
Plan-9 and Amoeba come immediately to mind.

> 
>>>>>>>                                                          And so do VMS.
>>>>>>
>>>>>> Minus little things like fork();  :-)
>>>>>
>>>>> Good point. There are some things that are more of an headache to emulate.
>>>>> Still, lots of Unix programs can be compiled and run on VMS systems with
>>>>> little, or no change.
>>>>
>>>> Yes, but not the majority of the ones people actually want.  :-)
>>>
>>> Seems like quite a lot have been made to run over the years.
>>> tcsh, Apache, Netscape, gcc, emacs... Just to mention a few...
>>
>> An interesting list.  Especially emacs, which must be one of the most
>> ported programs in the history of IT.  But, just out of curiosity,
>> how many of them are at the same release for VMS that they are for
>> Unix.  Why not?
> 
> I'd say none of them are up to date. And the reason being that no one 
> really cares enough to do the work. It can obviously be done.

Actually, I think there are multiple reasons of which that is only one
and possibly not a real concern.  First would be the lack of interest
of the owners which results in VMS changes not making it into the base
code resulting in having to re-do it everytime a change occurs.  Second
would be the application being so tightly coupled to Unix that making
the necessary changes for VMS is difficult if not impossible.  And then
after doing it for version 1.0 version 2.0 comes out with a change that
totally invalidates your previous VMS work.  I think from the VMS side
there is a strong desire to have a lot of the Open Source stuff but there
is a definite lack of people with the needed cross-platform skills to
actually make the ports work.  Most of the stuff you see that works are
simple data manipulators like ZIP.  emacs being the one exception, but
then, it is probably the most ported package ever.  I have seen versions
of Emacs on more machines than anything else, ever.

> 
>>>> ANSI-M/MUMPS.  Well, not really an OS per se.  It is usually hosted
>>>> on Unix, Windows and, yes, VMS.  Think DSM!!  It is a totally self-
>>>> contained system with its own DB built in and there is no desire to
>>>> have look, run, or be programmed as anything other than MUMPS.  In
>>>> all these cases you see the same loyalty I would have had for something
>>>> like RSTS if it had grown beyond the limitations of the PDP-11 hard-
>>>> ware.  Johnny, I get the feeling from reading your posts that you
>>>> probably look on RSX the same way.
>>>
>>> He. I still use RSX on a daily basis... :-)
>>> But MUMPS started on PDP-11s, unless I remember wrong.
>>
>> No,  PDP-7 was first.  Then PDP-9, PDP-15, PDP-8, Data General,
>> and then the PDP-11.
> 
> Oh well. MUMPS is not something I've ever used, or even seen myself. 
> Can't blame me for not having all the facts straight there. :-)

It's another light under a basket.

> 
>>>>>>> (Hello select(), synchronous I/O, getting errors back which basically
>>>>>>> just means that you need to retry, because nothing is wrong, but we just
>>>>>>> got interrupted, and random dynamically allocated file descriptors, and
>>>>>>> all files are just streams of bytes.)
>>>>>>
>>>>>> Lot's of systems where that is not necessarily the case.  Definitely not
>>>>>> the case with VMS.
>>>>>
>>>>> It's definitely the case with VMS. Yes, the above statements are not
>>>>> *neccesarily* true for VMS, but a programmer *can* program with this
>>>>> approach on VMS, and almost all programmers today implicitly assumes
>>>>> that these statements are truths.
>>>>
>>>> As one who hung out on c.o.v for a long time and worked with VMS
>>>> for a couple of decades I have to disagree.  The idea that files
>>>> are streams of bytes without structure at the lowest level has to
>>>> be the most touted problem/shortcoming in Unix among that group.
>>>
>>> VMS deals with it just fine. It's called STREAM_LF on VMS systems. So
>>> programmers can pretend they never heard of anything else, even when
>>> running on VMS.
>>
>> Wonder when that actually came into VMS?  I would guess around POSIX
>> time.
> 
> No, unless I remember wrong, it was there before that. Unfortunately, I 
> don't have any dates for it, but I suspect it might almost trace its 
> roots back to V1. Actually, RSX have it too, for RMS. But since FCS 
> don't support it, noone ever uses it, and you hardly ever see a file 
> with those attributes. But I've tested it just to check, and it works 
> just fine in RSX too.
> (Although the RSX support is somewhat more limited, in that there are 
> only STREAM files, not both STREAM_LF, STREAM_CR and god knows what 
> other variants).

OK.  I thought it was a later addition as things like RMS pre-date even
VMS so I figured Digital always leaned toward structured files.

> 
>>> Personally, I think that having streams of bytes as the only file
>>> structure sucks. It is one type of structure, and useful sometimes. But
>>> not the best way at other times. I prefer an OS that gives me many
>>> tools, and then I can adopt the one that fits my need for every specific
>>> situation instead of having to roll my own, or use some external library
>>> which exists in various flavors.
>>
>> Well, I have to admit that I have long been amazed that no one ever
>> wrote an equivalent to RMS for Unix.  But you do have to admit that
>> when you come right down to it all anything really is is a stream
>> of bytes (or bits if you want to go even lower) so having that as
>> the basis makes some sense.
> 
> There are several. For different needs. But berkely db is one pretty 
> common part.
> But since this needs to be done by libraries, there is no standard, and 
> no common concept. Nor any ability to manage such files in any sensible 
> way outside of that program.

I never thought of Berkeley DB as more than a poor man's ISAM.  To
be honest, giving it a little thought as we have been going over this
I would guess one of the reasons Unix never had anything like RMS is
because it had DB capabilities from early on.  Ingres was one very
early option.

> 
> And no, not everything is a stream of bytes. There are plenty of 
> examples of devices which are record oriented, and for which Unix tries 
> to hide this from the users. Disks are the most common example. Disks at 
> the lowest level always deals with blocks. Tapes is another, where tapes 
> have records, but they are of variable length.
> And punched cards is yet another example. :-)
> Heck, ethernet is not a stream of bytes either, but frames or variable 
> length between 64 and 1500 bytes.
> 
> So, no, I don't really think it necessarily makes sense.

OK, I guess that is another point of view thing.  While i agree that disks
tend to be blocked they do deliver the raw data when asked and the actual
sectoring never makes it off the disk.  As for tape and ethernet, even
the blocking data is just other byte values.  Now, card, there is the
anomaly.  But I guess in the long run regardless of what the card looked
like the date was delivered as single characters.  (I really wish I
could get a card reader for my collection!!)

> 
>>>>> So, even though you have an OS that offers you other possibilities,
>>>>> noone knows, or can use them. (Ok, noone is an oversimplification, but
>>>>> you get the idea.)
>>>>
>>>> But with the amount of stuff that was already out there......
>>>
>>> No new programs are written using that stuff.
>>
>> Well, after a point that probably was right, but if there had been
>> a future for OSes like RSTS and RSX do you really think that would
>> be the case?
> 
> Probably. Developers don't want to develop for several different OSes. 
> It's costly. Better to just have to develop for one. So it would 
> converge over time anyway. And I don't think it would go much different 
> even if you had had more options for OSes on x86 architectures.

Hmmm...  I guess this is the result of another trend in the modernization
of IT.  The move from locally written and maintained applications to
canned, generalized applications.  I wonder when that pendulum will
swing back the other way?  I have already been to many places that
complan loud and long about how these canned systems do not meet their
needs but as yet no one is go ing back.

> 
>>>> And let's look at my list again. MUMPS?  How many people use or are
>>>> proficient in it?  And yet, it has a massive following and has moved
>>>> into niches it was never really intended to go to.
>>>
>>> No new programs are written for it.
>>
>> You're joking, right?  Mumps (now called ANSI-M) is still very much
>> in development and not just maintaining old systems.  DSM-11 may have
>> died, but it certainly didn't take Mumps with it.  I am still doing
>> my research but in just the one niche where it started (hospitals)
>> it is the prevalent system in use all over the world.  It has also
>> established itself in other niches like the financial world.
> 
> I might be wrong about that one, then. I have never seen it, never seen 
> it mentioned anywhere, nor ever seen anyone ask for any competence in 
> Mumps, 

I have seen some rather high paying jobs offered that required
ANSI-M experience.  I, too, had thought Mumps was long gone but
a little research really opened my eyes.  It is actually my desire
to move on to something better than I have now for that last big
leap before retirement (I really would like to go back to being
an applications programmer and especially if it were with COBOL)
that caused me to look into just how marketable my old skills are.
I have been uterly amazed at how much of the IT world is not what
you read in The Register or Infoweek.

>         so I just assumed that it is dead. But you are right, it might 
> very well have a niche market somewhere. Cool in that case.

Interesting that it started in one niche and actually expanded to
several others when a lot of systems were being squeezed into one
or out entirely.

> 
>>>> And at a smaller level, what about COBOL?  No longer taught in any
>>>> school I can find as more than an afterthought. (We dropped it as a
>>>> subject more than 10 years ago and at that point the department chair
>>>> cannot remember the last time it was actually offered.  A single
>>>> credit's worth of COBOL was included in one course here but even
>>>> that was dropped 5 years ago.)  And yet still so much in demand
>>>> the a company the size of General Dynamics recently advertised an
>>>> Internship where the primary function is to learn to program in
>>>> COBOL.  Why?  Because they are still writting and maintaining very
>>>> large COBOL systems and academia is not providing people with the
>>>> requisite skills so they have to revert back to the methods od the
>>>> 60's and early 70's and do it themselves.
>>>
>>> No new programs are written in COBOL. You just maintain existing systems.
>>
>> Now you sound like a guy I know in NZ who thinks that COBOL died when
>> the COBOL Programmers refused to jump on the OO bandwagon.  There are
>> still a lot of places where COBOL is the primary language of choice
>> for their market niche, and yes, it is the mainframe world which is
>> anything but going away.
> 
> COBOL is not dead. That is not what I said. I just said that no *new* 
> programs are written in COBOL. As in from scratch. Lots of code still 
> get written. But its for existing systems.

Well, I guess it depends on what you consider new.  To my way of
thinking if it isn't maintenance it is new.  A lot of the places
still using COBOL get new requirements for doing business every
day and that requires new programs to manipulate the data and
generate reports.  yes, it is in support of an existing business
but the code is all done from scratch and requires going thru
the SDLC just like anything else.  And, of course, the maintenance
end of COBOL is going to be around long after I am dust.

> 
>>>                  (I admit I have been toying with the idea for RSX, but I
>>> doubt I'll ever get around to it.)
>>
>> Probably for the same reasons that would hold me back at the moment.
>> No time and no real need.  But what if that need was there?
> 
> Why would there be a need? An X server is just for handling a display. 
> There are plenty of X servers already. There is very little need to 
> implement any new X servers. Clients, on the other hand...

Problem of clarity.  Not sure i actually said "server" but either way
what I meant was X-11 as a system so that one coud use X to access
RSTS applications and RSTS applications could display on X.  Then
we could have Open Office on RSTS, too.  :-)

> 
>>> It's the same problem that VMS face. For VMS, the hardware is definitely
>>> there for all practical purposes.
>>
>> That's arguable.  Many think they backed the wrong horse.
> 
> No denying that they backed the wrong horse. But there is also no 
> denying that VMS can run on pretty current hardware. You have gigabit 
> ethernet, graphics, lots of memory and disk, and pretty fast CPUs. So 
> for practical purposes, for VMS you have modern hardware. It's not 
> making any difference. People still do not write much software for VMS.

The question is why?  I think the reasonm we see less and less VMS
software available is that outside its own little clique the world
thinks it is dead.  And its owners are doing nothing to counter that
perception.  I have said it before and I will say it again. "Perception
is Reality".

Just as another point of curiosity, I have copies of one of the last
Software Sourcebooks for the PDP-11 (two volume set!!) and one from
the hey-day of the VAX VMS era.  The PDP-11 had more.  Why did they
all suddenly go away?  Because DEC said "RSTS/RSX/RT is dead, long
live the VMS".  That's the nature of things.  people stop developing
for systems that they see no future in.  But, again, it was not any
shortcoming int he OSes that led to this it was shortcomings in the
hardware.  Too bad DEC didn't just deicde to continue with products
called RT-32, RSTS/32 and RSX32+.  :-)  I would bet those OSes would
have ported really well to the VAX.

> 
>>>                                    You even have X11.
>>
>> An ancient version that has not been kept up.
> 
> I haven't checked lately, but just because it's not Xfree86 with all its 
> bells and whistles, don't mean that it don't work just as well anyhow.

A lot of modern X software will not port to that odl aversion.  But then
that has always been the bane of VMS. 

> 
>>>                                    And Unix is a worse Windows than MS
>>> Windows,
>>
>> Not sure what you mean by this.  There is not much that MS Windows
>> can do that can't be done using X-11 (well, sound support would have been
>> nice but we probably won't see that ever finished).
> 
> It wasn't a question of capabilities, but of applications. Unix is 
> trying to emulate Windows as far as applications go, and it's never 
> going to beat Windows at its own game. KDE, OpenOffice, and all that 
> cruft... Not going to get people turning their heads in any real way.

I don't know about that.  A couple of high-profile cases have already
hit over here and I know one customer in particular whou could have a
major impact.  And may be forced into it for purely financial reasons.
And has the ability to drive change by other people who aren't willing
to back away from the money trough.

> 
>>>            and thus have a hard time competing as well. You need *office*.
>>> :-) (And a whole bunch of other applications.)
>>
>> A perfectly good Office Suite is available for Unix.  The only problem
>> there is lack of real marketing.  But then, when you don't make any
>> money you don't have any to buy marketing.  ;-)
> 
> What perfectly good Office Suite are you refering to? Open Office is not 
> good enough. I've used it, and it has some incompatibilities with MS 
> Office, which will bite you. 

Wait a minute here.  Are we arguing "perfectly good" or "perfectly
MicroSoft"?  I do know of a few incompatabilites but they are
avoidable and if you are willing to not ride MS's coat-tails it
is fine.  And it is much more compatable than it was 5 years ago. ;-)

>                               And then you get upset because you do not 
> get the same result as the same document viewed under MS Windows, and 
> you basically come to realize that you need MS Office.

Or you come to the realization that you need to get others off MS Office.
All depends on who is driving the bus.  All it would take is a couple of
places in control to make the move and others will be forced to follow.
And I know of a couple really large organizations who are in the right
position to drive the bus rather than just riding it.

> 
>>> And things like office is what pushed PDP11s out in some places.
>>
>> I agree.  And Office products didn't come about because the hardware
>> couldn't do it, not because the OS somehow was deficient.  RSTS and
>> RSX spent their lives tied to an anchor (a nice anchor, but an anchor
>> just the same).  The only path forward offered by its owner did not
>> include those OSes.  Interesting to note the difference in the success
>> (and even existence) of companies who did offer forward paths onto new
>> hardware compared to those that forced a total change of everything.
> 
> There were word processing and other stuff available for RSX. But it 
> wasn't pretty enough. People started wanting very graphical interfaces 
> to those things, and at that point it became a question of the hardware 
> couldn't do it.

Well, as far as I, and I would imagine most people today, are concerned
if it isn't WYSIWYG it isn't a "word processor" it is a document processor.
(I still have a professor here, and not some old guy, one of our youngest,
who still does all of his academic stuff in LaTex!)

> Apart from that (well, and speed), even the old PDP-11s could handle it 
> just fine, yes.
> 
> Not sure what the point was here, though. I believe the big issue was/is 
> that nobody really saw a market in developing and maintaining such 
> software for RSX (for example), which caused such software to cease to 
> exist. And that caused RSX systems to become less viable.

I see it the other way around.  there was a rather large Sourcebook for
all the PDP-11 OSes.  All that software went away in a very short period
of time that just happened to coincide with DEC giving up on the PDP-11.
The same thing VMS people are seeing today.  HP shows no interest in
VMS and everyday more and more VARs are moving on to other platforms.

> 
> In my opinion, having the applications is all that counts. If you have 
> them, people will run the system. They don't care how the OS really 
> looks like. If you don't have the applications people need/use, they 
> will not use the OS, no matter how the OS looks like.

Agreed.  And I have said that at least twice in this conversation.  But,
in order to have applications you really need two other things.  The
hardware needs to be capable of handling the demands of what are constantly
growing applications and the developers have to see a future for their
work.  If the OS vendor doesn't present the perception of a future, people
will assume there is none and will invest no effort in continued products.

And, getting back to the original idea (at least for me) in this whole
thread, given a number of possible corolaries is there any possibility
that a premise can be derived that showed a renewed possible future for
something like RSX or RSTS?  A stretch at best, but the IT world is very
fickle and it is hard to tell what will fly tomorrow.  I would have fun
just doing the OS porting part and as I near retirement I get closer
and closer to actually having the time to do it.  There is no doubt I
have the computing resources both old and new.  :-)  All that remains
to be seen is wether or not I am going to have to start from scratch or
if I am going to get to just pick up where DEC/Mentec left off.

> 
>>>>> So yes, the current applications are stable and working. But that is not
>>>>> enough. If that was all there is, then there wouldn't be any need for
>>>>> more computing power either. If the current setup already fulfills the
>>>>> needs, that would imply that the current computing power also is
>>>>> sufficient, no?
>>>>
>>>> No, not necessarily.  Something as simple as the amount of data
>>>> that needs to be handled has increased beyond the addressing
>>>> capabilities of the host hardware.  Best example for this is to
>>>> drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
>>>> break them up into a whole lot of really samll partitions.  Or,
>>>> look at Ultrix-11 or BSD-2.11.  What is there about either of
>>>> these that would prevent most modern programs from being built
>>>> that isn't actually due to a hardware limitation of the platform?
>>>> Rhetorical question that is answered by looking at BSD 4.x and
>>>> the current crop of BSD's.
>>>
>>> I don't think I really agree. The amount of data don't in most cases
>>> change that much over time.
>>
>> Say what?  Let me give you just one example.  The Internal Revenue
>> Service of the US.  A major Unisys - COBOL shop.  The number of
>> returns they have to deal with has at least doubled in my lifetime
>> alone.  Thats a lot of data.
> 
> A doubling of data should not be enough to push something over the limit 
> of what can be handled.
> A doubling of a significant part of a lifetime is not what I'd call any 
> larger change.

Well, looking at the PDP-11 again (as that's are subject case) what happens
when the records you need to work with at any pointin time exceed 64K?
I can assure you that 30 years ago when I was doing COBOL/DMS-11 full-time
we had record descriptions in our working storage that the PDP-11 could
never create.  I expect there are many applications today that deal with
even larger datasets.  Yes, you could probably deal with them in smaller
chunks, but that is not what the customer wants. :-)

> 
>>> RT-11 is a bad example by the way, since it's by far the most limited
>>> platform on the PDP-11. I can put huge disks on RSX without a problem.
>>> Using the default parameters, disks gets capped at 8GB though (24 bit
>>> disk block numbers). But you can change RSX to use 32 bit disk block
>>> numbers, meaning you get 4 billion disk blocks. That means a limit of
>>> about 2T disk size. That should last you a while longer... :-)
>>
>> I was not aware of that with RSX.  I expected the limit was larger
>> than RT-11 but much smaller than most modern systems.
> 
> RSX is really pretty neat, clean and nice already. There is not much 
> that I actually thinks needs to be fixed with it. Not with the hardware 
> platform.

Even more proof that the demise of these OSes was probably unnecessary
and they could have had continued lifetimes.

> 
>>> As for the problems with 2.11BSD, yes, the limit is the 16-bit address
>>> space, which is a hardware restriction.
>>> But the growth path from 2.11BSD was a simple and easy one, which just
>>> about everyone have taken long ago. Just continue with another Unix.
>>> But the reason for that migration was new programs. Not that the current
>>> crop of programs suddenly couldn't run on 2.11BSD anymore.
>>
>> But what was that migration path?  Unix was made to run on other hardware.
>> And as the hardware grew so did the OS.  I just wish the same had been
>> true of RSTS and would like the chance to actually try it.  :-)
> 
> One reason why Unix had such an easy migration path was because of no 
> assembler. Neither for the OS itself (more or less), but more 
> importantly for the applications. You had to recompile, but that was 
> about it.

And I see no problem with that.  If RSTS/RSX had been made available
on the VAX instead of that upstart VMS thing (do I sound like JF now?)
we would have had that big two volume sourcebook of applications that
could have continued to be developed and we wuold not have had to
abandon all of it and start again from scratch.  Again, just out of 
curiosity, you have used both VMS and RSX, correct?  Forgetting the
hardware shortcomings, just what advantage does VMS have over RSX-M+?
I can't think of anything it has over RSTS/E that couldn't have been
added given the new hardware capabilities with much less effort and
for a much lower cost than writting a whole new OS.

> For RSX, that would be more difficult, even if you regarded MACRO-11 as 
> a language for which you have a compiler.
> Because of the way the system works, RSX programs in general are more 
> tied into the system than similar Unix programs, making it harder to 
> port them, even to a system using the same design. So many fields, 
> pointers, ids and so on which would need to change.
> It would be complex to even have a compatibility mode.
> 
> RSX have way less abstraction than Unix do. Good in some ways, bad in 
> others. For porting, abstraction is very good. For efficiency, 
> abstraction is bad.
> (But I'm sure you know that.)

Not the specifics of RSX as I never got beyond the user level but I
understnad what you are saying.  But I still think porting was not
only possible (especially for the initial move tot he VAX, to x86
today would likely be much more difficult) but would have been
justifiable froma business standpoint.  But we all know that by that
time it was more politics than technical fact that drove decisions.
(Just like what is keeping MS on top today.  It is hardly technical
superiority!!)

> 
>>>>>>> It all have very little to do with technical competence of the
>>>>>>> underlying OS.
>>>>>>
>>>>>> Oh, I can agree with that.  As I said, "It's the applications!!"
>>>>>> But, by the same token, the move to a new OS was not because of
>>>>>> a shortcoming in the old OS.  Unisys has been very successful by
>>>>>> making systems that still allow old code to continue to run only
>>>>>> with greater resources available (I remember a particular problem
>>>>>> I had to solve in my Univac COBOL days that was eventually tracked
>>>>>> down specifically to memory availability!!  That same code would
>>>>>> run on OS2200 today without ever exhibiting the problem I had to
>>>>>> fix by modifying the supporting ECL.)  IBM has had great success
>>>>>> by doing the same for SYSTEM-360 programs.
>>>>>
>>>>> Yes. It's the typical question of being able to run the applications.
>>>>> Rewriting, and porting applications can be both expensive and difficult.
>>>>> Cheaper to continue running on the old systems, when possible.
>>>>>
>>>>> I guess we forgot about one reason why people move off old OSes. Cost of
>>>>> running and maintaining old hardware. At some point it might just become
>>>>> impractical to continue running on the old machines.
>>>>
>>>> Which is the point I was trying to make.  Frequently it is not the
>>>> application or the OS that causes the impracticality.  It is the
>>>> hardware.  And thus my interest in seeing RSTS and yes, RSX run on
>>>> other platforms.  It seems to have worked out quite well for Unisys.
>>>
>>> An RSX for some other hardware? Well, I doubt you could make it run old
>>> RSX applications without some big headaches.
>>
>> Not really my intent although, you have to admit, with built in PDP-11
>> emulation it probably could and be faster than original hardwar at that.
> 
> Probably, yes.
> 
>> My desire is source level compatability.  Have a version of RSTS or RSX
>> for x86/x86-64 that supports everything the PDP-11 versions did.  And
>> new stuff can be added later.  Who knows, if there actually was interest
>> I suppose you could VEST old immages.  :-)
> 
> Source level compatibility for atleast RSX would be difficult, I think. 
> There is just so much more information from the OS that leaks out to 
> programs.

That surprise me.  I can see where emulation and compatabilty modes
might be difficult, but I would have thought that programs written
in HLL's would be fine.  Of course applications in MACRo would be
real show-stoppers.  And they were still very common during the
PDP-11 hey-day.

> 
>>>                                                But it is doable. The
>>> problem is that there is no real need. The old RSX applications runs
>>> just fine on the old machine. What need would a port to new hardware
>>> fill? We've already established that with current emulators speed is no
>>> longer an issue. Disk space neither. More memory is definitely not
>>> needed for the old applications. They already work within the current
>>> memory limits.
>>
>> The desire to add new functionality.  Instead of going to Windows for
>> new stuff be able to run it under RSTS/RSX.  Is there a need?  Most
>> people would say, "no".  But then, was there really a need for Unix
>> when the CSRG started their research?
> 
> First of all, Unix was an already existing OS, which CSRG just picked as 
> a good choice for doing research on. 

Yes, an already existing OS that was, by law, not commonly available.
And in the cases where it was made avaialble the price was prohibitive.
I wasn't there so i am just speculating but I think this forced lack
of availability is what made the CSRG pick Unix.  Because they were
not a business they could get it cheap.  Because it was not commercially
viable they could do pretty much anything to it (and they did!!)

>                                       CSRG was doing research. That is a 
> different ballgame. Research really don't relate to "need" in the same 
> way. Research is done for its own purpose. No other need is required.
> 
> And research itself wasn't about how to just get Unix running, but it 
> was just a platform on which to try implementing new ideas and concepts 
> that they came up with.
> 

True.  But I think it was probably not to long into the research when
people started seeing the potential this research had.  And the fact
is it could have been any OS.  And the result would likely have been
the same.  Had they picked RT-11 and come to a similar agreement with
DEC that they had with AT&T we would be running BSD/RT today and it
would be multi-user, multi-tasking with full networking.  :-)
What a different world that would have made!!!

>>> So we're talking about totally new applications. I just don't see that
>>> happening. People will write for Unix instead.
>>
>> Some would write for other systems.  And my thought is that there may
>> be niches that decide they are not happy with the Unix/MS solution.
>> Or, it will just be an academic endeavor.
> 
> I doubt very many (if any) would write for other systems. Any commercial 
> developer is going to write for the platform where he sees the most 
> customers. The platforms merits are irrelevant (more or less).

I guess it depends on where one sees the niche for RSX/RSTS being.
Just like VMS, I don't look into my crystal ball and see it on
every desktop.  But, just like OS2200 and zOS, I can see them as
very viable candidates for the datacenter instead of things like
Windows Server 2003 and 2008 which like NT are really just desktop 
OSes with some of the user cruft hidden away.

> 
>>> Put another way: the drive for new hardware have mostly been new
>>> programs. New programs are written for certain OSes.
>>
>> Not sure which is driving which.  :-)  New programs can be written
>> for anything.  Big push here for teaching Android programming.  Two
>> yeara ago the only "android" was Data and you couldn't program him.
> 
> You do know that Android is just Linux, right? Yet another plaform 
> following the Unix paradigm.

I know it is Linux under the hood, but again, the level of abstraction
is even greater.  I do not know if students learning "Android Programming"
actually know (or care) that it is just Linux.  Kind of like trying to
tell a Mac fanatic that he really is just running BSD.  :-)

> 
>>>>   And then we also have Algol. :-)  And isn't there
>>>> a Pascal in the DECUS collection?  What other languages are languishing
>>>> on tapes in various peoples storage lockers?
>>>
>>> Gha! Swedish Pascal... Another DECUS program. It's actually kindof neat,
>>> but I tried modifying it a number of years ago as I wanted it to
>>> generate code that could be run with split I/D space. I gave up. The
>>> source code for the compiler is horrible, and generated code is even worse.
>>
>> Yes, but at least you wouldn't need to worry about Split I&D. :-)
> 
> If you want to be source compatible, then yes. You could ignore split 
> I/D space. However, most modern computers are not very happy with mixing 
> code and data. It messes up caches, and can even cause unexpected 
> results. So in general, all modern machines requires a kind of split 
> between instructions and data for different reasons than why you did it 
> on a PDP-11.

Yes, but outside the PDP-11, when was the last time you actually had to
worry about it as a programmer?  Or figuring out overlays.  Now there
was a science!!

> 
>>>>>>    And,
>>>>>> there are other options.  Again, all of it depends on the model that
>>>>>> needs to be used.  If all the original code were to be released with a
>>>>>> commercial friendly license one could modify the back-end to support
>>>>>> the new architecture.  If you have to start from scratch then you need
>>>>>> to start by finding a suitable compiler (and language).  And, speaking
>>>>>> of language, even if the original code was released much of it is in
>>>>>> PDP-11 Macro and would need to be re-written using the original only
>>>>>> as a model.  That adds the question of what language do you write it
>>>>>> in?  Don't get me wrong, I like C.  I am good at C. I do not make a
>>>>>> lot of the mistakes that C is famous for.  But......  I would probably
>>>>>> not choose C as the language to use for reasons I should not have to
>>>>>> deliniate here!!  :-)
>>>>>
>>>>> Good question. I have no idea what I would write in. I love MACRO-11,
>>>>
>>>> There is an interesting point in itself.  Is there really any reason
>>>> you can think of that would prevent someone from writting something
>>>> that took MACRO-11 and output executable code for some other CPU?
>>>
>>> Nothing prevents it, except that people in general are not happy with
>>> assembler, and nowadays it seems like almost noone even understand how
>>> to program in assembler. It's also a lot slower than writing in a HLL.
>>> (But the resulting code might be nicer.)
>>
>> But some of us are still OK with it.
> 
> That is a very small number.
> 
>>>> Ada?  I understand that has become king in Europe.  And I am certainly
>>>> comfortable coding in it.  And with a few decent extensions that can
>>>> be found in most dialects anyway Pascal is a pretty good system level
>>>> language.
>>>
>>> Ada? King of Europe? Where do you hear such things??? :-)
>>
>> Well, the only real Ada Conference is now held in Europe (might be
>> coming up real soon now).  Stuff I read from their website seemed
>> to at least hint that Europe was big on it.  I thought ESA did most
>> of their stuff in Ada.  What about Airbus?  Isn't the embedded
>> stuff  being programmed in Ada?
> 
> Most is in C, or getting into C++ nowadays actually. (Ewwww)
> I have not seen anyone mention Ada in quite a number of years now.

Intersting as I just recently got invited to the Conference and, no,
the University won't fund my attending. :-(

> 
>>> Ada exists, but only among the really obscure places, like the military.
>>> Where I believe it's also still popular in the US.
>>
>> Not really.  Some contractors still use it, but I don't think there has
>> been a contract that required it in ages.  I know of a lot of embedded
>> stuff still being done in Fortran.
> 
> Sounds like a similar scene, then.
> 
>>>>> Most typically, that would be such a simple concept as strings for example.
>>>>
>>>> Well, I would expect that most any language could use (read: would
>>>> need) those same string functions.  I have a Pascal Compiler from
>>>> an 80's Z80 system (Alcor Pascal) that has pretty much all the
>>>> standard C String functions.
>>>
>>> Those same string functions? Why? Why would I want a strcpy which copies
>>> bytes until it hits a NUL character?
>>
>> Oh, I didn't mean with all the warts.  I just meant the functionality.  ;-)
>> The ole' null-termination thing is one reason to avoid C.  Now, granted, I
>> don't have a problem with it, but a lot of programmers just never did
>> learn that they are responsible for what their program actually does as
>> opposed to what they think it does.
> 
> But that is what gcc provides for you. It sees you calling strcpy, and 
> instead of generating code that actually calls strcpy, it will really 
> put in code that implements strcpy for you, at that point in your code.
> With the semantics that C and Unix have for strings.
> 
>>> The ones that were relevant at the time. It gotta be PDP-11 unixes,
>>> because otherwise the rest of the code wouldn't work anyway. But you
>>> could have different RTSes for Ultrix, 2BSD, V7 and V6, if needed.
>>> RTSTS/E make that all possible.
>>
>> See, I think you have missed the whole point of my side of the discussion.
>> I am not talking about extending PDP-11 RSTS or RSX.  I want to see it
>> ported to other hardware, primarily, Intel. (Although a 68K port would be
>> fun, too, as I actually have a couple of 68K boards that go in the QBUS
>> and access all the devices that the PDP-11 could. :-)
> 
> Well, for such a port, obviously it would be cool with RTSes for current 
> Unix dialects.

Now that I think i see what you mean, you're right.  But I wonder if
it could be done.  I guess you could always try making an Ultrix-11
RTS as a proof of concept.  Now, if I only had a legitimate RSTS
system to play with.  :-(

> 
>>>> Oh well, as I said, it is all really academic as:
>>>>     1.  I don't expect the source to RSTS or RSX to be released.
>>>
>>> Me neither.
>>>
>>>>     2.  Even if I am wrong about 1. above it is likely to be done
>>>>         under a license that is not commercially friendly.
>>>
>>> Not sure about that one.
>>>
>>>>     3.  Given 1. above it is unlikely that any attempt to re-write
>>>>         RSTS or RSX is ever likely to happen.
>>>
>>> If a rewrite took place, 1 and 2 are not really that relevant. You'd
>>> have to write the whole thing anyway. That's what a rewrite means.
>>>
>>>>     4.  Even if I am wrong about 3. above it would probably end out
>>>>         being something as stupid as FreeVMS which in the long run will
>>>>         be nothing but a DCLish shell running on top of Linux which is
>>>>         not and never could be any kind of VMS.
>>>
>>> That is probably true. It's more or less not possible to translate some
>>> of the concepts in RSTS/E or RSX into Unix equivalents. Emulating the
>>> hardware, and then run everything on top of whatever.
>>
>> And, as long as we have talked of emulation.  I wonder if anyone has
>> ever thought of "modifying" the PDP-11 inside an emulator?  Add address
>> lines.  Give it more memory.  maybe even make the address space flat. :-)
> 
> No can do without very serious brain surgery. A lot of OS design details 
> depend on the size of physical addresses. And there are no free bits in 
> there. So to extend the physical address means redesigning the bit 
> layout of the MMU registers. That will carry a big change everywhere. 
> Not to mention that you'd need to change all devices to have new bits 
> for DMA addresses. Which means you'd have to change all device drivers 
> that do DMA.
> Changing the virtual address space is perhaps even more exciting. That 
> means expanding the word size of the machine. That will break just about 
> everything.
> 
> Did you know that the memory bus on the PDP-11/70 already specifies a 
> 24-bit physical address. But the PDP-11/70 always holds the high two 
> bits to zero. But you could theoretically have expanded the physical 
> memory to 16MB there. But once more, that would have meant changing the 
> bit fields in the MMU registers, which would have broken a lot of code.
> 
> RSX have a provision for this, but it never have much practical 
> importance. In all the MMU-related system calls, you can specify if your 
> pages should aligned on 64 byte boundaries, or 256 byte boundaries. With 
> 256 byte boundaries, you would actually be able to accomodate two more 
> physical address bits.

I guess I worded that wrong.  What I would make wouldn't really be a
PDP-11 any more.  I would want something with greater capabilities 
that still had the PDP-11 Instruction Set.  But, your right about 
the devices.  I had been thinking strictly aboutt he CPU and had
not looked at otehr stuff.  Of course, it is interesting that most
of those same devices worked with the VAX which had a totally different
address map so it is probably doable.

> 
>> So many projects, so little time.  And to think I thought when I came
>> to academia that they would support, even push, some of my research
>> projects.  Go figure.
> 
>:-)

I sure would enjoy meeting you someday.  We must be pretty close in age.
The conversations we could have over tall mugs of pilsner!!

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 12:36                         ` Jerome H. Fine
@ 2011-05-25 17:25                           ` Tom Lake
  2011-05-25 18:01                             ` Jerome H. Fine
  2011-05-25 18:44                           ` Johnny Billquist
  2011-05-26  1:20                           ` Rich Alderson
  2 siblings, 1 reply; 146+ messages in thread
From: Tom Lake @ 2011-05-25 17:25 UTC (permalink / raw)


The same concept can be used in RT-11 under RT11ZM.
However, under the PDP-11 architecture, the maximum
data space at any one time will always be 64 KB.  However,
under RT-11, the MMU can be used directly to access
all 4 MB of memory (with only a small overhead of
changing the MMU each time a different page of memory
is to be accessed).  Probably only the RT-11 operating
system does this 99% of the time since it should be done
only in KERNAL mode and most of the time with interrupts
disabled.

Do you happen to know if BASIC can take advantage of the 
paged memory directly (the SIZE command shows the extra)

Tom Lake




^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 17:25                           ` Tom Lake
@ 2011-05-25 18:01                             ` Jerome H. Fine
  0 siblings, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-25 18:01 UTC (permalink / raw)


 >Tom Lake wrote:

> The same concept can be used in RT-11 under RT11ZM.
> However, under the PDP-11 architecture, the maximum
> data space at any one time will always be 64 KB.  However,
> under RT-11, the MMU can be used directly to access
> all 4 MB of memory (with only a small overhead of
> changing the MMU each time a different page of memory
> is to be accessed).  Probably only the RT-11 operating
> system does this 99% of the time since it should be done
> only in KERNAL mode and most of the time with interrupts
> disabled.
>
> Do you happen to know if BASIC can take advantage of the paged memory 
> directly (the SIZE command shows the extra)


In answer to your actual question, probably not.

Since BASIC supports normal arrays, I assume you
are asking about an array which uses much larger
sizes of memory - probably greater than 64 KB
which is impossible under anything that a PDP-11
can normally support in any case.

FORTRAN uses the virtual statement to support
very large arrays greater than 64 KB, especially
REAL * 8 and COMPLEX * 16.  There is
DECUS code to change from using extended
memory to using the disk drive.

Since I am completely familiar only
with Multi-User Basic, my suggestion would be to
program interface subroutines that parallel the
VIRTUAL statement in FORTRAN and use
that method.  Since BASIC (if I remember
correctly) already includes VIRTUAL arrays
on disk, the code could be modified to be in
extended memory the same way that VIRTUAL
in FORTRAN handles memory.

If you are running under Ersatz-11, my suggestion
would be to use EMEM.DLL and manage the
PC memory directly or using MFPD / MTPD
via previous USER space when you are running
as a virtual job (having used VBGEXE to initiate
a virtual background job under RT11XM).

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 14:42             ` billy
  2011-05-24 16:56               ` Bill Gunshannon
@ 2011-05-25 18:05               ` Jerome H. Fine
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-25 18:05 UTC (permalink / raw)


 >billy@MIX.COM wrote:

>In vmsnet.pdp-11 Bill Gunshannon <billg999@cs.uofs.edu> wrote:
>
>>Do you still offer any kind of access to SIG Tapes? Which ones?
>>I have some things I am still trying to find that would have
>>been on SIG Tapes at one point or another.
>>
>Tim Shoppa copied my entire collection to the Sunsite at UNC.
>That has since become -
>
>http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/
>
Are any of the SIG Tapes for RT-11?

I may also have a few items that never made it to DECUS
Can you specify what you are looking for?

Jerome Fine


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24  0:19           ` Bill Gunshannon
  2011-05-24  0:43             ` Johnny Billquist
@ 2011-05-25 18:41             ` Jerome H. Fine
  1 sibling, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-25 18:41 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]

 >Bill Gunshannon wrote:

>>>On 2011-05-23 07.48, Jerome H. Fine wrote:
>>
>>>As far as I know, a number of commercial systems still use RSTS/E
>>>under emulators, in particular Ersatz-11.
>>>
>>>As for RT-11 and TSX-Plus, there are also a number of commercial
>>>systems in active operation.
>>>
>Just out of curiosity, what do they do on it?  I know a place that was
>using PDP-11's running RSTS long after most people thought the PDP was
>long dead.  Don't know if they still are, but I kinda doubt it.   But
>I can definitely say that if RSTS ran on faster/bigger hardware than
>a PDP-11 they probably would never have had a reason to leave it.
>
When I run RT-11 under Ersatz-11 on a 2.63 GHz core 2 duo with
6 MB of L2 cache, I achieve approximately 100 times the speed
of a PDP-11/93 CPU.  As for disk I/O speeds, they are probably
200 times the speed of a typical SCSI drive (narrow 50 pin of
course) on a Qbus host adapter.  An example would the the
CQD 220/TM using SCSI Seagate disk drives up to 9 GB.

There is at least one commercial RSTS/E system that made the
switch and has continued to support its customers under Ersatz-11.
There are probably many more that I am not aware of.

It was quite obvious to anyone who is able to use Ersatz-11 that
such speeds would be attained and will be exceeded in the future
without any changes to the PDP-11 software.

As for bigger, running Ersatz-11 under Windows XP even with
files limited to a physical size of 2 GB allows the PDP-11 OS
to work with devices many times larger.  However, since even
RSTS/E limits files to 32 MB (or so I seem to remember), there
does not seem to be much reason to work with what RSTS/E
would see as a physical device much greater than 2 GB or 64 of
those 32 MB files.  On the other hand, under Windows XP
and using 2 TB drives, Ersatz-11 could allow RSTS/E to believe
that there were over 1000 devices of 2 GB each with 64 of
those 2 MB files.

And finally, Ersatz-11 also supports raw hard drive partitions
of almost any size. So a 1 TB drive with 2 * 500 GB partitions
can be used by RSTS/E if it actually supports drives of 500 GB.

Note that there are also a number of non-DEC CPUs which directly
execute PDP-11 code many times faster than the PDP-11/73.  QED
comes to mind and Mentec made some PDP-11 compatible CPUs
as well.

However, it is probably too late in most cases - which is actually
quite sad from my point of view.  As you and Johnny have pointed
out, DEC made very wrong choices.  I always thought that DEC
would have been better advised to spin off PDP-11 software and
hardware into a completely separate and independent unit as a
profit centre all on its own in direct competition with the VAX
and VMS.  Not only would it have pushed VAX / VMS to be
better, I suspect that the PDP-11 / RSTS / RSX / RT-11 would
have survived on their own as well and supported their users far
longer.  As an example, MAC finally realized that they had to
use the Intel chip.  Perhaps the Alpha chip could also have been
used to support RSTS/E, RSX-11 and RT-11 if it could have been
sold in sufficient quantity.  The talent at DEC would probably have
been able to port the 16 bit OSs to 64 bit, perhaps running as a
virtual machine, but still using the new instruction set in a 64 bit
environment and memory.  Just thinking (dreaming???) out loud.

Jerome Fine

[-- Attachment #2: Type: text/html, Size: 4159 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 12:36                         ` Jerome H. Fine
  2011-05-25 17:25                           ` Tom Lake
@ 2011-05-25 18:44                           ` Johnny Billquist
  2011-05-26  1:20                           ` Rich Alderson
  2 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-25 18:44 UTC (permalink / raw)


I'll trim this to just the parts that I think are relevant...

On 2011-05-25 05.36, Jerome H. Fine wrote:
>  >Johnny Billquist wrote:
>
>> >On 2011-05-24 19.59, Jerome H. Fine wrote:
>>
>>> Can Johnny fill out the RSX-11 values and someone else the
>>> RSTS/E values? Also, add operating system features which
>>> are felt to be important.
>>
>> Not really sure what you want me to fill in, but I'll try to make
>> comments on your table.
>
> Thank you. I am already aware of some of the values. But others are
> beyond my knowledge. I will attempt to update the table from your
> comments.
>
>>> Maximum RT-11 TSX-Plus RSX-11 RSTS/E
>>> ---------- ------- ---------- -------- ---------
>>>
>>> Instructions: 64 KB 64 KB
>>
>> What is this? Addressable virtual address space?
>
> Yes - I assume that RSX-11S (without an MMU) is less than
> 64 KB, but when the MMU is available and execution is in
> USER space, 64 KB are available. RT-11 is the same. Under
> RT11FB (and RT11SJ), only about 32 KB are available. Under
> RT11XM and using VBGEXE to initiate a virtual job, 64 KB
> are available. Under the RT-11 RTS under RSTS/E, I have
> found that a bit less than 56 KB are available. Does anyone
> who knows RSTS/E well know if a full 64 KB are available
> if a RTS is not in use?

So, just to make this clear: This is pretty much not OS-related. It's a 
hardware questions, and relates to the PDP-11 architecture. I don't see 
the point of having that in a table for various PDP-11 OSes. The numbers 
will be the same for all of them, since this is a PDP-11 question.

To clarify a little about RTST/E for you. You can never not have an RTS 
in use. There is always an RTS. However, one RTS does not occupy any 
memory from the user space, and that is the RSX RTS, which is 
"invisible", since it is implemented as a part of the kernel.

And even with the RT-11 RTS, you 64K of memory. However, 8K of that is 
reserved for the RTS use. But the address space is still there, and is 
still used.

>>> Data (No I/D) INCL INCL
>>> Data (I/D) 64 KB 64KB
>>
>> I guess we're talking about directly addressable virtual address space.
>> This is not OS dependent. It is a function of the architecture, and
>> will be the same on all OSes running on a PDP-11, with the following
>> caveats:
>> If MMU is not enabled, then you have different rules.
>
> Obviously. I presume that RSX-11S and RT-11 with RT11SJ are
> examples. I know that TSX-Plus allows only virtual jobs which
> can be allowed the full 64 KB. I presume that RSTS/E also
> allows only virtual jobs. Can anyone confirm?

Yes. I thought that was obvious. And I started by pointing this out. 
Without the MMU, the rules are different. Both RSX and RSTS/E always 
runs with the MMU on. That sets the stage. So, you have virtual 
addressing, and (obviously) this means that all 16 bits of address space 
can be played with.

>> If the OS don't support split I/D-space, then you cannot use it, even
>> if the hardware supports it.
>
> Also true. Under RT-11, this became available in V05.06
> using the RT11ZM monitor. It is probably used very little
> under RT-11. I know of no applications which have been
> written to take advantage of I/D space for RT-11.

So your list could (should) probable be changed into just a question of 
wether it supports split I/D space.

>> I'm not sure if it is relevant to talk about memory spaces in other
>> ways. Like, in RSX, you can create big memory areas which you can map
>> into and out of your virtual address space. It's sortof like mmap() in
>> Unix, except different. But it gives an understanding about what it is
>> to talk about mmap here.
>
> The same concept can be used in RT-11 under RT11ZM.
> However, under the PDP-11 architecture, the maximum
> data space at any one time will always be 64 KB. However,
> under RT-11, the MMU can be used directly to access
> all 4 MB of memory (with only a small overhead of
> changing the MMU each time a different page of memory
> is to be accessed). Probably only the RT-11 operating
> system does this 99% of the time since it should be done
> only in KERNAL mode and most of the time with interrupts
> disabled.

You didn't listen. I said that RSX can allow programs to use larger 
sections of ram, and it's all done through system calls. You do not play 
with the MMU. But you do have larger memory spaces. However, you have 
something like "windows" that you move around in those larger memory 
spaces, to see different parts of the memory (yes, the underlying 
mechanism used for this is the MMU mappings). This is totally protected 
by the OS, fully and seamlessly managed by tge OS, and it is used a lot. 
All from user space (and interrupts are not disabled). You can choose to 
build your overlaid programs as memory resident, in which case the 
overlay scheme will use this feature of the OS to make your program much 
faster. After all, overlays already resident in memory means you just 
need to change the mapping instead of reading another overlay in from disk.

But it's also used to pass information between programs (one program can 
send mapping information to another program, so that they can share 
memory), and it can be used to store larger data sets than fits into 64K 
of memory.

>>> Scheduling: Job# Complex
>>
>> For RSX, the scheduling is basically a strict priority scheduler. The
>> task with the highest priority that wants to run gets the CPU.
>
> Same with TSX-Plus. However, the priorities are raised
> and lowered (within limits) depending on what the job is doing.

So it's not the same.
RSX does not modify any priorities. If it did, I would have mentioned it.

> Can anyone please comment on RSTS/E scheduling?

As far as I remember, RSTS/E uses a kind of round-robin scheduling. But 
RSTS/E have something called run burst level as well, which decides how 
long a process is on the CPU once it is running. A higher run burst 
means it runs longer before a context switch.
I can't remember there being any scheduling priorities, but it might 
just be that I don't remember.

>>> Device:(Hard Disk) 65536 65536
>>
>> Hard disks themself don't have a limit. It's just a question of the
>> controller and disk. For SCSI disks and controllers, the current disks
>> are reaching into the terabyte range.
>
> Amazing!!!!!!!! I remember when I first purchased a
> MAXTOR XT8760E at $ 1 / MB at an EOL sale
> probably around 1995.

What is amazing about this? We are talking about something that have 
basically nothing to do with PDP-11s. Just go to any disk manufacturer 
today, and you'll see that these are the current disk sizes.

>>> File:(FS Hard Disk) 65528 65528
>>
>> The RSX file system by default limits disks to 8 GB. In disk blocks
>> we're talking about 2^24 blocks.
>
> The same with RT-11 at present for the normal MSCP
> access. Partition numbers up to 255 are supported.
>
> HOWEVER, my actual question was the size of each
> individual file. Is the maximum block number 65535?

Oh. Ok. Yes, individual files in RSX also normally can be regarded as 
having a max of 2^24 blocks. However, I don't know if there is anything 
in there that prevents it from being 2^32. The API itself from programs 
to the device driver passes 32-bit disk block numbers, but I haven't 
checked properly if there might be some field, some where, that are 
limited to 24 bits.

> Namely, is the standard block number a 16 bit word
> (as in RT-11) or does RSX-11 support a 32 bit block
> number for a file?

As said before. The places I can remember off my head actually use 32 
bit block numbers, but I might be forgetting some place where it might 
be just 24 bits. (For a long time, 24 bit block numbers have been a 
norm, so it might be that some field somewhere, in some function, 
actually forces this limit because 24 bit block numbers are what 
internal code was using for such a long time. Support for 32 bit block 
numbers in the internal file system code handling was only tweaked with 
in the last release of RSX.)

I try to emphasis on the two different sides here. The user-interfacing 
parts, which I think are 32 bit clean, and have been so from the stone 
age. And then the internal file system code, which for the longest time 
only supported 24 bit block numbers.
Actually, DEC originally created three schemes for how retrieval 
pointers in RSX could look like. The retrieval pointers are what the 
internal file system code deals with.
The three schemes were called:
2/2
3/1
4/2
This is basically the size of the disk block number, and the disk block 
counts.
So a retrieval pointer for 2/2 would be capable of addressing a start 
block in the 2^16 range, and up to 2^16 consecutive blocks from there.

In reality, only 3/1 was implemented for a long time. 4/2 support was 
implemented, and I think functional, first in RSX-11M+ V4.6, but I have 
not actually tested it.

What kind of retrieval pointers that are in use are indicated in the 
home block of the disk, so you can have different schemes for different 
disks concurrently.
A scheme like 2/2 is only useful for small disks. But since 3/1 takes 
the same amount of space, and can address larger disks, you might as 
well use that for smaller disks as well, so 2/2 would appear to have 
been pretty pointless in the end.

But from the program point of view, all this is hidden. You have no idea 
what type of retrieval pointers are used. You just specify a 32-bit 
block number when you want to read from disk.

>>> Max Files: 255 255
>>
>> Max number of files in an RSX system is 65500 files. But then again,
>> you can create virtual disks inside a disk, and each of those can have
>> 65500 files as well, which means that you can go to very many files on
>> a physical disk, by just nesting virtual disks inside it.
>
> I was actually asking about the maximum number of
> OPEN files at any one time.

Ah. That would be 255 under RSX.

>>> Synchronous I/O Yes Yes
>>
>> What does this mean? Can RSX do synchronous I/O? Yes, of course. It
>> can also do asynchronous I/O.
>
> Just asking. I always assumed that most operating systems
> allowed both types of I/O. I understand that Windows
> supports only synchronous I/O. What about RSTS/E?

No, windows supports both synchronous and asynchronous I/O as well. As 
do Unix. It's just more difficult to do under some OSes, and there might 
be limitations and restrictions.

>>> File Sharing No Yes
>>
>> What do you put into the concept of file sharing? RSX can allow
>> concurrent read-only access to files. It can allow one writer with
>> many readers, and it can also allow multiple writers to a file. It
>> also have disk block locking to control concurrent access to a file,
>> so that you can have a controlled consistent view of the contents of a
>> file.
>> Programs also have control over what access they want to allow other
>> programs to have to a file.
>
> I understand that RSTS/E also supports file sharing? Can
> anyone please confirm?

Yes, it do. Pretty similar to RSX.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 15:46                             ` Bill Gunshannon
@ 2011-05-25 23:00                               ` Johnny Billquist
  2011-05-26 15:50                                 ` Fritz Wuehler
  2011-05-28 18:01                                 ` Bill Gunshannon
  2011-05-26  0:58                               ` Rich Alderson
                                                 ` (2 subsequent siblings)
  3 siblings, 2 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-25 23:00 UTC (permalink / raw)


On 2011-05-25 08.46, Bill Gunshannon wrote:
> In article<irilvv$p6t$1@iltempo.update.uu.se>,
> 	Johnny Billquist<bqt@softjar.se>  writes:
>> Oh, boy. This is getting to be long posts...
>> And there isn't that much I can trim, since I have comments on most of
>> the stuff... :-/
>
> Amazing how much opinions can vary on some of this stuff.

Indeed. But in many cases we're more arguing the finer points than the 
big picture.

>> On 2011-05-24 13.07, Bill Gunshannon wrote:
>>> In article<irgsnm$7ov$1@iltempo.update.uu.se>,
>>> 	Johnny Billquist<bqt@softjar.se>   writes:
>>>> On 2011-05-24 09.42, Bill Gunshannon wrote:
>>>>> In article<irgfp7$382$1@iltempo.update.uu.se>,
>>>>> 	Johnny Billquist<bqt@softjar.se>    writes:
>>>>>> On 2011-05-24 05.58, Bill Gunshannon wrote:
>>>>>>> In article<ireupe$mqj$1@iltempo.update.uu.se>,
>>>>>>> 	Johnny Billquist<bqt@softjar.se>     writes:
>>>>>>>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>>>>>>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>>>>>>>> 	Johnny Billquist<bqt@softjar.se>      writes:
>>>>>>>>>>
>>>>>>>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>>>>>>>> But I doubt many people today would see the point in using anything that
>>>>>>>>>> didn't follow the Unix programming paradigms,
>>>>>>>>>
>>>>>>>>> I was waiting for this to come up.  I think most people think that
>>>>>>>>> there are really only two OSes left in the world.  MS and Unix.
>>>>>>>>> BUt, actually, thre are a lot of others out there including some
>>>>>>>>> that predate MS and might even predate Unix and still have loyal
>>>>>>>>> followings. (And I am not talking about VMS. :-)
>>>>>>>>
>>>>>>>> Well, Windows more or less allows you to follow the Unix paradigm as
>>>>>>>> well, when it comes to writing programs for the net.
>>>>>>>
>>>>>>> Minus the security model.  :-)
>>>>>>
>>>>>> True. But the security model of Unix itself isn't exactly something to
>>>>>> boast about. :-)
>>>>>
>>>>> I'll take it over the MS model anyday.
>>>>
>>>> No argument from me there... But just because one sucks, that don't make
>>>> the other one shine. I'd prefer neither...
>>>
>>> OK, You got me there.  :-)  But then, isn't that part of the reason
>>> behind this whole discussion?  What we need is other options.  I
>>> just happen to think that the models/paradigms offered by RSTS/RSX
>>> are worth consideration.
>>
>> Hmm. I hadn't thought about that aspect explicitly, but you got a point.
>
> You have to admit it is interesting how so many people (professionals,
> not geeks and nerds) complain about the problems; security, performance
> development conmplexity, etc. in both Windows and Unix and yet there is
> little effort (none in academia where one would expect people with time
> and resources for research) to come up with alternatives.  Don't get me
> wrong, there was, but sadly just about the time any of these started
> getting close to being usable the creators lost interest and walked away.
> Plan-9 and Amoeba come immediately to mind.

It's a part of the same issue, in my mind. Everyone is now so set in the 
current paradigms that nothing can shift them.
We're going to be stuck with the Unix ideas for the forseeable future, 
with more and more cruft grafted in to solve the problems. Look at 
various extensions for security that have come, such as capabilities, 
ACLs, doing things over ssh, using SSL, and now also hardware support 
for security issues.

(In a way, the PDP-11 have some of that, since you can have execute-only 
memory, and memory from which you cannot execute. :-) )

>>>>>>>>                                                           And so do VMS.
>>>>>>>
>>>>>>> Minus little things like fork();  :-)
>>>>>>
>>>>>> Good point. There are some things that are more of an headache to emulate.
>>>>>> Still, lots of Unix programs can be compiled and run on VMS systems with
>>>>>> little, or no change.
>>>>>
>>>>> Yes, but not the majority of the ones people actually want.  :-)
>>>>
>>>> Seems like quite a lot have been made to run over the years.
>>>> tcsh, Apache, Netscape, gcc, emacs... Just to mention a few...
>>>
>>> An interesting list.  Especially emacs, which must be one of the most
>>> ported programs in the history of IT.  But, just out of curiosity,
>>> how many of them are at the same release for VMS that they are for
>>> Unix.  Why not?
>>
>> I'd say none of them are up to date. And the reason being that no one
>> really cares enough to do the work. It can obviously be done.
>
> Actually, I think there are multiple reasons of which that is only one
> and possibly not a real concern.  First would be the lack of interest
> of the owners which results in VMS changes not making it into the base
> code resulting in having to re-do it everytime a change occurs.  Second
> would be the application being so tightly coupled to Unix that making
> the necessary changes for VMS is difficult if not impossible.  And then
> after doing it for version 1.0 version 2.0 comes out with a change that
> totally invalidates your previous VMS work.  I think from the VMS side
> there is a strong desire to have a lot of the Open Source stuff but there
> is a definite lack of people with the needed cross-platform skills to
> actually make the ports work.  Most of the stuff you see that works are
> simple data manipulators like ZIP.  emacs being the one exception, but
> then, it is probably the most ported package ever.  I have seen versions
> of Emacs on more machines than anything else, ever.

I don't agree with that. The "fixed" codebase many times make it into 
the central repository. However, new features are added, and they also 
sometimes needs fixing, and the original author have no interest in that 
for VMS. So the original porter gets to fix the new code as well. And at 
some point, the few people who do that tires of it, and stops. Since the 
"hard" work have already been done several times, I think this is proof 
enough that it can be done.

So I think it simply that noone cares enough. And by noone I should 
probably have written noone who have the skill, since otherwise the work 
isn't done anyway.

>>>>>>>> (Hello select(), synchronous I/O, getting errors back which basically
>>>>>>>> just means that you need to retry, because nothing is wrong, but we just
>>>>>>>> got interrupted, and random dynamically allocated file descriptors, and
>>>>>>>> all files are just streams of bytes.)
>>>>>>>
>>>>>>> Lot's of systems where that is not necessarily the case.  Definitely not
>>>>>>> the case with VMS.
>>>>>>
>>>>>> It's definitely the case with VMS. Yes, the above statements are not
>>>>>> *neccesarily* true for VMS, but a programmer *can* program with this
>>>>>> approach on VMS, and almost all programmers today implicitly assumes
>>>>>> that these statements are truths.
>>>>>
>>>>> As one who hung out on c.o.v for a long time and worked with VMS
>>>>> for a couple of decades I have to disagree.  The idea that files
>>>>> are streams of bytes without structure at the lowest level has to
>>>>> be the most touted problem/shortcoming in Unix among that group.
>>>>
>>>> VMS deals with it just fine. It's called STREAM_LF on VMS systems. So
>>>> programmers can pretend they never heard of anything else, even when
>>>> running on VMS.
>>>
>>> Wonder when that actually came into VMS?  I would guess around POSIX
>>> time.
>>
>> No, unless I remember wrong, it was there before that. Unfortunately, I
>> don't have any dates for it, but I suspect it might almost trace its
>> roots back to V1. Actually, RSX have it too, for RMS. But since FCS
>> don't support it, noone ever uses it, and you hardly ever see a file
>> with those attributes. But I've tested it just to check, and it works
>> just fine in RSX too.
>> (Although the RSX support is somewhat more limited, in that there are
>> only STREAM files, not both STREAM_LF, STREAM_CR and god knows what
>> other variants).
>
> OK.  I thought it was a later addition as things like RMS pre-date even
> VMS so I figured Digital always leaned toward structured files.

DEC did not always lean towards structured files. RT-11, RSTS/E, 
TOPS-10, TOPS-20 (and OS/8) are all examples where the equivalent of a 
stream of bytes type of file was the most common thing. It's basically 
RSX (and from that VMS) that is the exception. RMS was available on 
other platforms as well, but there RMS is an addon, that you can skip if 
you want. For VMS it is very mandatory, and for RSX you have FCS, which 
is like a precursor to RMS, and compatible, as far as it goes.

>>>> Personally, I think that having streams of bytes as the only file
>>>> structure sucks. It is one type of structure, and useful sometimes. But
>>>> not the best way at other times. I prefer an OS that gives me many
>>>> tools, and then I can adopt the one that fits my need for every specific
>>>> situation instead of having to roll my own, or use some external library
>>>> which exists in various flavors.
>>>
>>> Well, I have to admit that I have long been amazed that no one ever
>>> wrote an equivalent to RMS for Unix.  But you do have to admit that
>>> when you come right down to it all anything really is is a stream
>>> of bytes (or bits if you want to go even lower) so having that as
>>> the basis makes some sense.
>>
>> There are several. For different needs. But berkely db is one pretty
>> common part.
>> But since this needs to be done by libraries, there is no standard, and
>> no common concept. Nor any ability to manage such files in any sensible
>> way outside of that program.
>
> I never thought of Berkeley DB as more than a poor man's ISAM.  To
> be honest, giving it a little thought as we have been going over this
> I would guess one of the reasons Unix never had anything like RMS is
> because it had DB capabilities from early on.  Ingres was one very
> early option.

The problem with the Unix way is that it is so scattered and 
unsupported. You could say that RMS is just a poor man's ISAM. But if 
you want to play with that, RMS is the way you do it. And there are 
plenty of tools that understand it, can manage it, and manipulate it. 
For Unix, there is no such thing. There are a whole bunch of different 
solutions, all incompatible, all with different capabilities, and all 
working on top of the stream of byte concept. Talk about addition 
another abstraction layer...

>> And no, not everything is a stream of bytes. There are plenty of
>> examples of devices which are record oriented, and for which Unix tries
>> to hide this from the users. Disks are the most common example. Disks at
>> the lowest level always deals with blocks. Tapes is another, where tapes
>> have records, but they are of variable length.
>> And punched cards is yet another example. :-)
>> Heck, ethernet is not a stream of bytes either, but frames or variable
>> length between 64 and 1500 bytes.
>>
>> So, no, I don't really think it necessarily makes sense.
>
> OK, I guess that is another point of view thing.  While i agree that disks
> tend to be blocked they do deliver the raw data when asked and the actual
> sectoring never makes it off the disk.

Say what? When you read from a disk, you always reads a whole block. 
When you write, you always write a whole block. If you want to modify 
just one byte on a disk, you need to read in the whole block, modify the 
single byte, then write the whole block out again.
That is where this whole character/block distinction in device drivers 
in Unix comes in. It is there to abstract away the block characteristics 
of a disk, so that you can pretend it's actually a stream of bytes.

>  As for tape and ethernet, even
> the blocking data is just other byte values.

I don't understand what you said here. On a tape, you read the whole 
block with one read. You can't read just half the block, and then read 
the other half in the next read. Whatever read from the tape block in 
the first read that didn't fit into your buffer is lost. Thrown into the 
big bit bucket. The controller have to throw it away. Because the tape 
drive will deliver all of it with just one operation.

The same is true for ethernet. You need to read the whole packet in one 
go. And then you can start fooling with that whole packet. It's not byte 
values. It's actual blocks.

And each block have some meta-data attached to it. This meta-data for 
tapes is the block length, which is not stored anywhere on tape, but is 
a result of the actual operation.
For ethernet the same is true about block length. But there you in 
addition also have the ethernet header, which gives source, destination 
and protocol (I'm not going to bother with preables, checksums, and so 
on, because that gets stripped away by the controller before being 
delivered to the system).

For both, by the way, you also have an imposed minimum length. For 
tapes, I seem to remember that for tapes this is 14 bytes, while for 
ethernet it is 64 bytes. Nothing shorter than that is allowed.

>  Now, card, there is the
> anomaly.  But I guess in the long run regardless of what the card looked
> like the date was delivered as single characters.  (I really wish I
> could get a card reader for my collection!!)

I don't see how a card differs from a tape block, or an ethernet frame...

>>>>>> So, even though you have an OS that offers you other possibilities,
>>>>>> noone knows, or can use them. (Ok, noone is an oversimplification, but
>>>>>> you get the idea.)
>>>>>
>>>>> But with the amount of stuff that was already out there......
>>>>
>>>> No new programs are written using that stuff.
>>>
>>> Well, after a point that probably was right, but if there had been
>>> a future for OSes like RSTS and RSX do you really think that would
>>> be the case?
>>
>> Probably. Developers don't want to develop for several different OSes.
>> It's costly. Better to just have to develop for one. So it would
>> converge over time anyway. And I don't think it would go much different
>> even if you had had more options for OSes on x86 architectures.
>
> Hmmm...  I guess this is the result of another trend in the modernization
> of IT.  The move from locally written and maintained applications to
> canned, generalized applications.  I wonder when that pendulum will
> swing back the other way?  I have already been to many places that
> complan loud and long about how these canned systems do not meet their
> needs but as yet no one is go ing back.

True. And a good question. But for now, I think that this is an 
essential part why a reimplementation of any non-Unix OS is going to 
fail. And from program development companies point of view, I don't the 
pendulum will swing. Cost of software development is constantly rising. 
One way to keep it down is to use more canned solutions, and develop for 
less and less platforms. One thing that have hurt Unix tremendously is 
all the different dialects. And Linux in itself is hurting itself by all 
the different distributions, which makes it hard to develop and 
distribute programs for it, in binary form.

>>>>> And at a smaller level, what about COBOL?  No longer taught in any
>>>>> school I can find as more than an afterthought. (We dropped it as a
>>>>> subject more than 10 years ago and at that point the department chair
>>>>> cannot remember the last time it was actually offered.  A single
>>>>> credit's worth of COBOL was included in one course here but even
>>>>> that was dropped 5 years ago.)  And yet still so much in demand
>>>>> the a company the size of General Dynamics recently advertised an
>>>>> Internship where the primary function is to learn to program in
>>>>> COBOL.  Why?  Because they are still writting and maintaining very
>>>>> large COBOL systems and academia is not providing people with the
>>>>> requisite skills so they have to revert back to the methods od the
>>>>> 60's and early 70's and do it themselves.
>>>>
>>>> No new programs are written in COBOL. You just maintain existing systems.
>>>
>>> Now you sound like a guy I know in NZ who thinks that COBOL died when
>>> the COBOL Programmers refused to jump on the OO bandwagon.  There are
>>> still a lot of places where COBOL is the primary language of choice
>>> for their market niche, and yes, it is the mainframe world which is
>>> anything but going away.
>>
>> COBOL is not dead. That is not what I said. I just said that no *new*
>> programs are written in COBOL. As in from scratch. Lots of code still
>> get written. But its for existing systems.
>
> Well, I guess it depends on what you consider new.  To my way of
> thinking if it isn't maintenance it is new.  A lot of the places
> still using COBOL get new requirements for doing business every
> day and that requires new programs to manipulate the data and
> generate reports.  yes, it is in support of an existing business
> but the code is all done from scratch and requires going thru
> the SDLC just like anything else.  And, of course, the maintenance
> end of COBOL is going to be around long after I am dust.

Yes. It might be just a different definition of new here then. For me, 
new would be someone starting a new project from scratch, and deciding 
to write it in Cobol. Just doing maintenance, additions, updates and 
bugfixes to an existing system is not new development.

>>>>                   (I admit I have been toying with the idea for RSX, but I
>>>> doubt I'll ever get around to it.)
>>>
>>> Probably for the same reasons that would hold me back at the moment.
>>> No time and no real need.  But what if that need was there?
>>
>> Why would there be a need? An X server is just for handling a display.
>> There are plenty of X servers already. There is very little need to
>> implement any new X servers. Clients, on the other hand...
>
> Problem of clarity.  Not sure i actually said "server" but either way
> what I meant was X-11 as a system so that one coud use X to access
> RSTS applications and RSTS applications could display on X.  Then
> we could have Open Office on RSTS, too.  :-)

Ah. Ok. Yes, doing some X client stuff might be more interesting. I've 
been thinking about that too, but for the same reason I doubt I'll get 
around to it. The X11 protocol is pretty complex and big. Not sure I'd 
be happy with the end result, not to mention having to work on the 
overlays... :-)

However, the biggest reason why I have this so low on my list is that 
HTML have come such a long way that you can do pretty impressive stuff 
with it today, with less overhead than X. So I'm seriously thinking 
about doing a web server for RSX. That one is almost definitely 
happening. And then you can do all kind of fun programs on the PDP-11, 
and present the results graphically, or whatever. Heck, Google have even 
implemented much of an office suite usable over http.

>>>> It's the same problem that VMS face. For VMS, the hardware is definitely
>>>> there for all practical purposes.
>>>
>>> That's arguable.  Many think they backed the wrong horse.
>>
>> No denying that they backed the wrong horse. But there is also no
>> denying that VMS can run on pretty current hardware. You have gigabit
>> ethernet, graphics, lots of memory and disk, and pretty fast CPUs. So
>> for practical purposes, for VMS you have modern hardware. It's not
>> making any difference. People still do not write much software for VMS.
>
> The question is why?  I think the reasonm we see less and less VMS
> software available is that outside its own little clique the world
> thinks it is dead.  And its owners are doing nothing to counter that
> perception.  I have said it before and I will say it again. "Perception
> is Reality".

Could be. But I think it's more that as developers tries to reduce cost, 
they cut the versions that generate the least amount of money. VMS 
basically generates much less money because its much smaller installed 
base than Windows (or Unix). And even in its heyday VMS user base was 
much smaller than Unix or DOS (back in that day).

It's a simple game of numbers. (Sadly enough.) The owners are just 
reacting to that too. I don't doubt that HP would happily have seen VMS 
being a big hit, but it simply is not. And it does not justify plowing 
big money into it, compared to other businesses that HP do, which does 
return much more money.

For DEC, it was partly a different deal. Back in that day, VMS was the 
biggest money thing they had. For HP, it is not.
Companies are money driven. The thing that gives the best return back on 
money invested is the thing they will go for. What that is, is not 
always known, which is why companies do R&D, and have smaller things 
going in various directions. Just in case...

And VMS simple isn't the big fish. Hasn't been since the 80s. And fewer 
software companies today go for niche markets, and when they do, it is 
for some particular reason.

> Just as another point of curiosity, I have copies of one of the last
> Software Sourcebooks for the PDP-11 (two volume set!!) and one from
> the hey-day of the VAX VMS era.  The PDP-11 had more.  Why did they
> all suddenly go away?  Because DEC said "RSTS/RSX/RT is dead, long
> live the VMS".  That's the nature of things.  people stop developing
> for systems that they see no future in.  But, again, it was not any
> shortcoming int he OSes that led to this it was shortcomings in the
> hardware.  Too bad DEC didn't just deicde to continue with products
> called RT-32, RSTS/32 and RSX32+.  :-)  I would bet those OSes would
> have ported really well to the VAX.

No, I don't agree. People didn't stop writing software for PDP-11 
systems. Not until noone bought it anymore. DEC did try to make their 
customers migrate to VAX/VMS though. And even partially successful, that 
diminished the customer base for PDP-11 products. And that got more of 
the ball rolling.

Once again, in my mind, this is all a numbers game.

>>>>                                     And Unix is a worse Windows than MS
>>>> Windows,
>>>
>>> Not sure what you mean by this.  There is not much that MS Windows
>>> can do that can't be done using X-11 (well, sound support would have been
>>> nice but we probably won't see that ever finished).
>>
>> It wasn't a question of capabilities, but of applications. Unix is
>> trying to emulate Windows as far as applications go, and it's never
>> going to beat Windows at its own game. KDE, OpenOffice, and all that
>> cruft... Not going to get people turning their heads in any real way.
>
> I don't know about that.  A couple of high-profile cases have already
> hit over here and I know one customer in particular whou could have a
> major impact.  And may be forced into it for purely financial reasons.
> And has the ability to drive change by other people who aren't willing
> to back away from the money trough.

That is the one thing I think can topple the Microsoft imperium. Cost. 
Even inferior products will win, if the price is right.

Once more, the numbers game.

>>>>             and thus have a hard time competing as well. You need *office*.
>>>> :-) (And a whole bunch of other applications.)
>>>
>>> A perfectly good Office Suite is available for Unix.  The only problem
>>> there is lack of real marketing.  But then, when you don't make any
>>> money you don't have any to buy marketing.  ;-)
>>
>> What perfectly good Office Suite are you refering to? Open Office is not
>> good enough. I've used it, and it has some incompatibilities with MS
>> Office, which will bite you.
>
> Wait a minute here.  Are we arguing "perfectly good" or "perfectly
> MicroSoft"?  I do know of a few incompatabilites but they are
> avoidable and if you are willing to not ride MS's coat-tails it
> is fine.  And it is much more compatable than it was 5 years ago. ;-)

The problem is if everyone else is using Microsoft Office, and pass 
around documents written in there, you need to be fully compatible with 
that, or else you are at a disadvantage.
And so far, Microsoft have been very successful at getting everyone to 
use Microsoft Office.

I think I've argued the whole time that "perfectly good" is not good 
enough. It don't really matter if some software do the job better or 
not. What matters is if it allows you to get the job done, and if it's 
cheap enough. For RSX (to use as a theoretical example) is not good 
enough, because the user base would be too small, and porting too much 
work for developers to ever pay any interest to it. For users, it 
basically just mean that the software isn't there. No matter how good 
the OS is.
For something like office, if everyone else uses Microsoft Office, and 
passes documents around, you need to be able to see those, and get them 
presented the same way on your system too, or else you will probably 
change. Getting everyone else to change is way harder.

But it is interesting to see if this thing about getting everyone else 
changing might actually be happening because of cost issues from the 
user side. That would be a serious problem for Microsoft.

>>>> And things like office is what pushed PDP11s out in some places.
>>>
>>> I agree.  And Office products didn't come about because the hardware
>>> couldn't do it, not because the OS somehow was deficient.  RSTS and
>>> RSX spent their lives tied to an anchor (a nice anchor, but an anchor
>>> just the same).  The only path forward offered by its owner did not
>>> include those OSes.  Interesting to note the difference in the success
>>> (and even existence) of companies who did offer forward paths onto new
>>> hardware compared to those that forced a total change of everything.
>>
>> There were word processing and other stuff available for RSX. But it
>> wasn't pretty enough. People started wanting very graphical interfaces
>> to those things, and at that point it became a question of the hardware
>> couldn't do it.
>
> Well, as far as I, and I would imagine most people today, are concerned
> if it isn't WYSIWYG it isn't a "word processor" it is a document processor.
> (I still have a professor here, and not some old guy, one of our youngest,
> who still does all of his academic stuff in LaTex!)

Anyone remember back when Emacs was defined as WYSIWYG? :-)
Definitions change, all the time.

>> Not sure what the point was here, though. I believe the big issue was/is
>> that nobody really saw a market in developing and maintaining such
>> software for RSX (for example), which caused such software to cease to
>> exist. And that caused RSX systems to become less viable.
>
> I see it the other way around.  there was a rather large Sourcebook for
> all the PDP-11 OSes.  All that software went away in a very short period
> of time that just happened to coincide with DEC giving up on the PDP-11.

We disagree then.

> The same thing VMS people are seeing today.  HP shows no interest in
> VMS and everyday more and more VARs are moving on to other platforms.

Oracle dropping VMS looks more like VARs getting out of VMS before HP. 
HP will be the last guy standing. And this is not because HP said Oracle 
should. I suspect they are actually very unhappy with that announcement 
(as are Intel, I guess). But from Oracles point of view, it probably 
makes great sense. The earnings don't justify the costs anymore. They 
can make better money by another strategy. That's why they drop VMS.

Once more the numbers game in operation.

>> In my opinion, having the applications is all that counts. If you have
>> them, people will run the system. They don't care how the OS really
>> looks like. If you don't have the applications people need/use, they
>> will not use the OS, no matter how the OS looks like.
>
> Agreed.  And I have said that at least twice in this conversation.  But,
> in order to have applications you really need two other things.  The
> hardware needs to be capable of handling the demands of what are constantly
> growing applications and the developers have to see a future for their
> work.  If the OS vendor doesn't present the perception of a future, people
> will assume there is none and will invest no effort in continued products.

I'm not denying that the underlying hardware needs to be capable enough. 
Otherwise the rest is already a lost cause.
But developers go by actual numbers as well as predictions. If it sell, 
they will continue to sell it. If the continued selling is tied to doing 
additional development, they'll do that. But if they have two platforms 
to choose from, and one is selling much better than the other, they will 
always first do the development for the best selling platform, and the 
other will come second. And that in turn can cause an effect of users 
migrating to that primary platform, because that is where all the new 
stuff turn up first.
And this is totally independent of what the perceived or announced 
future of the secondary platform is.
And in time, this can cause the developer to stop development on the 
secondary platform, because almost all customers of that software have 
migrated to the primary platform. And so the ball starts rolling.

And that is what I see have happened, when looking over time.

Which is also why I don't think it would have made a difference if DEC 
had stuck with the PDP-11, or whatever. The biggest platform is normally 
the winner. The game changer can be pricing. The PDP-11 (as well as VMS) 
cannot compete on either of those strengths.

Technical merits comes way down on any list.

> And, getting back to the original idea (at least for me) in this whole
> thread, given a number of possible corolaries is there any possibility
> that a premise can be derived that showed a renewed possible future for
> something like RSX or RSTS?  A stretch at best, but the IT world is very
> fickle and it is hard to tell what will fly tomorrow.  I would have fun
> just doing the OS porting part and as I near retirement I get closer
> and closer to actually having the time to do it.  There is no doubt I
> have the computing resources both old and new.  :-)  All that remains
> to be seen is wether or not I am going to have to start from scratch or
> if I am going to get to just pick up where DEC/Mentec left off.

Well, I still think it's an even more dead horse than just continuing 
development on the PDP-11.
But I will not stop you. :-)

But if you plan on doing a reimplementation on x86, then I don't see why 
you are waiting for the fallout from Mentec. You'll have to write it all 
from scratch anyway. The documentation is out there. That is the base 
for your design. As for actual code, you'll have to write it, no matter 
what you plan.

>>>>>> So yes, the current applications are stable and working. But that is not
>>>>>> enough. If that was all there is, then there wouldn't be any need for
>>>>>> more computing power either. If the current setup already fulfills the
>>>>>> needs, that would imply that the current computing power also is
>>>>>> sufficient, no?
>>>>>
>>>>> No, not necessarily.  Something as simple as the amount of data
>>>>> that needs to be handled has increased beyond the addressing
>>>>> capabilities of the host hardware.  Best example for this is to
>>>>> drop back to RT-11.  I can put SCSI disks on RT-11.  But I have
>>>>> break them up into a whole lot of really samll partitions.  Or,
>>>>> look at Ultrix-11 or BSD-2.11.  What is there about either of
>>>>> these that would prevent most modern programs from being built
>>>>> that isn't actually due to a hardware limitation of the platform?
>>>>> Rhetorical question that is answered by looking at BSD 4.x and
>>>>> the current crop of BSD's.
>>>>
>>>> I don't think I really agree. The amount of data don't in most cases
>>>> change that much over time.
>>>
>>> Say what?  Let me give you just one example.  The Internal Revenue
>>> Service of the US.  A major Unisys - COBOL shop.  The number of
>>> returns they have to deal with has at least doubled in my lifetime
>>> alone.  Thats a lot of data.
>>
>> A doubling of data should not be enough to push something over the limit
>> of what can be handled.
>> A doubling of a significant part of a lifetime is not what I'd call any
>> larger change.
>
> Well, looking at the PDP-11 again (as that's are subject case) what happens
> when the records you need to work with at any pointin time exceed 64K?

A single record? In that case, it would suck. :-)
But then again, at that point, more than just the limited addressing 
space is going to hurt you. The whole design of the OS will not be able 
to deal with it. Records in RMS can't be that big either, for instance.

> I can assure you that 30 years ago when I was doing COBOL/DMS-11 full-time
> we had record descriptions in our working storage that the PDP-11 could
> never create.  I expect there are many applications today that deal with
> even larger datasets.  Yes, you could probably deal with them in smaller
> chunks, but that is not what the customer wants. :-)

If you mean splitting a record into several smaller type of records, I'd 
say much of the time a proper database should do that instead of just 
having gigantic records. Having those gigantic records means you access 
lots of data you are not interested in whenever you do some operation.
I've been playing with some seriously big databases, but it's not that 
single records are that big, just that there over time become so darned 
many records. But that is a question of diskspace, and speed when 
accessing them (both CPU and disk).

>>>> RT-11 is a bad example by the way, since it's by far the most limited
>>>> platform on the PDP-11. I can put huge disks on RSX without a problem.
>>>> Using the default parameters, disks gets capped at 8GB though (24 bit
>>>> disk block numbers). But you can change RSX to use 32 bit disk block
>>>> numbers, meaning you get 4 billion disk blocks. That means a limit of
>>>> about 2T disk size. That should last you a while longer... :-)
>>>
>>> I was not aware of that with RSX.  I expected the limit was larger
>>> than RT-11 but much smaller than most modern systems.
>>
>> RSX is really pretty neat, clean and nice already. There is not much
>> that I actually thinks needs to be fixed with it. Not with the hardware
>> platform.
>
> Even more proof that the demise of these OSes was probably unnecessary
> and they could have had continued lifetimes.

Demise? RSX is still alive. DEC continued development until 1994, at 
which time they sold it to Mentec. Mentec continued development and 
support until atleast 2006 (when I last talked to them and bought 
software). And it would seem that Mentec have since sold the software again.

>>>> As for the problems with 2.11BSD, yes, the limit is the 16-bit address
>>>> space, which is a hardware restriction.
>>>> But the growth path from 2.11BSD was a simple and easy one, which just
>>>> about everyone have taken long ago. Just continue with another Unix.
>>>> But the reason for that migration was new programs. Not that the current
>>>> crop of programs suddenly couldn't run on 2.11BSD anymore.
>>>
>>> But what was that migration path?  Unix was made to run on other hardware.
>>> And as the hardware grew so did the OS.  I just wish the same had been
>>> true of RSTS and would like the chance to actually try it.  :-)
>>
>> One reason why Unix had such an easy migration path was because of no
>> assembler. Neither for the OS itself (more or less), but more
>> importantly for the applications. You had to recompile, but that was
>> about it.
>
> And I see no problem with that.  If RSTS/RSX had been made available
> on the VAX instead of that upstart VMS thing (do I sound like JF now?)
> we would have had that big two volume sourcebook of applications that
> could have continued to be developed and we wuold not have had to
> abandon all of it and start again from scratch.  Again, just out of
> curiosity, you have used both VMS and RSX, correct?  Forgetting the
> hardware shortcomings, just what advantage does VMS have over RSX-M+?
> I can't think of anything it has over RSTS/E that couldn't have been
> added given the new hardware capabilities with much less effort and
> for a much lower cost than writting a whole new OS.

RSX software could run on VMS. You didn't even need to recompile it. It 
was somewhat popular. Heck, in VMS V1, most every application and tool 
were still the RSX programs.
But it was only for userspace code.
I'd say that VMS is very much a logical extension/expansion/continuation 
of RSX on the VAX.

Yes, I've used both VMS and RSX. I'm getting a bit rusty on VMS, since I 
use it pretty seldom nowadays, but I even worked at DEC for a while, 
writing VMS software.

Comparing VMS with RSX? The perhaps most obvious thing that differs, 
that people react to is that RSX seems obscure and weird, while VMS is 
more easy to use, and user friendly.
VMS on the inside is very much RSX, but VMS on the outside is so much 
more like RSTS/E.

Is that an advantage? For me - no. For most other people - yes.
Is there anything that was done in VMS that couldn't have been done in 
RSX, if the memory limitations didn't mess things up? Of course not. Any 
computer can do what any other computer can do. I'm not sure the 
question is helpful, though.

As for comparing RSTS/E with VMS, I can speak of several things in VMS, 
that are really hard to solve in RSTS/E. Mostly are with writing 
software, and what services RSTS/E provides. For example, in VMS (as in 
RSX) all I/O is by default asynchronous, and you get something very 
similar to an interrupt when the I/O completes. But unlike Unix (where 
you have signals for this), VMS and RSX actually have much more fine 
grained control. When you issue an I/O, you actually provide the address 
of a routine to call asynchronously when the I/O completes. So each I/O 
request (even for the same I/O descriptor) can result in a call to a 
different piece of code. Now, how do you do this in RSTS/E (or Unix for 
that matter)? The RSX (and VMS) way is so nice, and so difficult to 
accomplish, or even get close to, in some other OSes.

>> For RSX, that would be more difficult, even if you regarded MACRO-11 as
>> a language for which you have a compiler.
>> Because of the way the system works, RSX programs in general are more
>> tied into the system than similar Unix programs, making it harder to
>> port them, even to a system using the same design. So many fields,
>> pointers, ids and so on which would need to change.
>> It would be complex to even have a compatibility mode.
>>
>> RSX have way less abstraction than Unix do. Good in some ways, bad in
>> others. For porting, abstraction is very good. For efficiency,
>> abstraction is bad.
>> (But I'm sure you know that.)
>
> Not the specifics of RSX as I never got beyond the user level but I
> understnad what you are saying.  But I still think porting was not
> only possible (especially for the initial move tot he VAX, to x86
> today would likely be much more difficult) but would have been
> justifiable froma business standpoint.  But we all know that by that
> time it was more politics than technical fact that drove decisions.
> (Just like what is keeping MS on top today.  It is hardly technical
> superiority!!)

Indeed.

>>> My desire is source level compatability.  Have a version of RSTS or RSX
>>> for x86/x86-64 that supports everything the PDP-11 versions did.  And
>>> new stuff can be added later.  Who knows, if there actually was interest
>>> I suppose you could VEST old immages.  :-)
>>
>> Source level compatibility for atleast RSX would be difficult, I think.
>> There is just so much more information from the OS that leaks out to
>> programs.
>
> That surprise me.  I can see where emulation and compatabilty modes
> might be difficult, but I would have thought that programs written
> in HLL's would be fine.  Of course applications in MACRo would be
> real show-stoppers.  And they were still very common during the
> PDP-11 hey-day.

I'm totally talking about MACRO-11 here, since very little of the 
interesting stuff is written in something else. Sure, HLL programs will 
be just fine. It's the MACRO-11 applications that are the show stoppers, 
and it those that I am talking about.

>>>>                                                 But it is doable. The
>>>> problem is that there is no real need. The old RSX applications runs
>>>> just fine on the old machine. What need would a port to new hardware
>>>> fill? We've already established that with current emulators speed is no
>>>> longer an issue. Disk space neither. More memory is definitely not
>>>> needed for the old applications. They already work within the current
>>>> memory limits.
>>>
>>> The desire to add new functionality.  Instead of going to Windows for
>>> new stuff be able to run it under RSTS/RSX.  Is there a need?  Most
>>> people would say, "no".  But then, was there really a need for Unix
>>> when the CSRG started their research?
>>
>> First of all, Unix was an already existing OS, which CSRG just picked as
>> a good choice for doing research on.
>
> Yes, an already existing OS that was, by law, not commonly available.

Actually, it was by law very available, for CSRG. Which is a good reason 
why they picked it. For free. What better reasons could there be?

> And in the cases where it was made avaialble the price was prohibitive.

For CSRG that was a non-issue.

> I wasn't there so i am just speculating but I think this forced lack
> of availability is what made the CSRG pick Unix.  Because they were
> not a business they could get it cheap.  Because it was not commercially
> viable they could do pretty much anything to it (and they did!!)

I think you got it backwards. The availability for *others* probably 
meant nothing to CSRG. They wanted to do research on OSes. That wasn't 
planned to ever go outside their own walls, except for academic papers 
and so on. So it was fully available, and for free. A perfect fit for 
their needs. No reason to try and look further than that.

>>                                        CSRG was doing research. That is a
>> different ballgame. Research really don't relate to "need" in the same
>> way. Research is done for its own purpose. No other need is required.
>>
>> And research itself wasn't about how to just get Unix running, but it
>> was just a platform on which to try implementing new ideas and concepts
>> that they came up with.
>>
>
> True.  But I think it was probably not to long into the research when
> people started seeing the potential this research had.  And the fact
> is it could have been any OS.  And the result would likely have been
> the same.  Had they picked RT-11 and come to a similar agreement with
> DEC that they had with AT&T we would be running BSD/RT today and it
> would be multi-user, multi-tasking with full networking.  :-)
> What a different world that would have made!!!

I don't think so. Neither that it could have been any OS, nor that the 
results would have been the same.
Part of the reason for the success was that it was written in a HLL. Any 
OS written in assembler would probably not have come to the same results.
Second is that they started with an OS that was multiuser, and so on. 
Basing it on some single-user OS would also have lead to very different 
results (hello windows).

But the basic premises of the whole thing, that AT&T had to give it away 
for free was a very important part here, and I doubt DEC would have been 
interested in doing the same, for any of their software.

>>>> So we're talking about totally new applications. I just don't see that
>>>> happening. People will write for Unix instead.
>>>
>>> Some would write for other systems.  And my thought is that there may
>>> be niches that decide they are not happy with the Unix/MS solution.
>>> Or, it will just be an academic endeavor.
>>
>> I doubt very many (if any) would write for other systems. Any commercial
>> developer is going to write for the platform where he sees the most
>> customers. The platforms merits are irrelevant (more or less).
>
> I guess it depends on where one sees the niche for RSX/RSTS being.
> Just like VMS, I don't look into my crystal ball and see it on
> every desktop.  But, just like OS2200 and zOS, I can see them as
> very viable candidates for the datacenter instead of things like
> Windows Server 2003 and 2008 which like NT are really just desktop
> OSes with some of the user cruft hidden away.

It would take a big effort before it would even become a viable option, 
and even then I don't see anyone even seriously considering it.

>>>>>    And then we also have Algol. :-)  And isn't there
>>>>> a Pascal in the DECUS collection?  What other languages are languishing
>>>>> on tapes in various peoples storage lockers?
>>>>
>>>> Gha! Swedish Pascal... Another DECUS program. It's actually kindof neat,
>>>> but I tried modifying it a number of years ago as I wanted it to
>>>> generate code that could be run with split I/D space. I gave up. The
>>>> source code for the compiler is horrible, and generated code is even worse.
>>>
>>> Yes, but at least you wouldn't need to worry about Split I&D. :-)
>>
>> If you want to be source compatible, then yes. You could ignore split
>> I/D space. However, most modern computers are not very happy with mixing
>> code and data. It messes up caches, and can even cause unexpected
>> results. So in general, all modern machines requires a kind of split
>> between instructions and data for different reasons than why you did it
>> on a PDP-11.
>
> Yes, but outside the PDP-11, when was the last time you actually had to
> worry about it as a programmer?  Or figuring out overlays.  Now there
> was a science!!

I did the overlay schema for DUNGEON V3 for RSX-11M+. That was an 
interesting exercise. Just doing the compilation of the whole thing took 
on the order of two hours on a PDP-11/70.

But yes, writing on any HLL, I never worry about memory layouts, or 
whatever. Not even on a PDP-11 (except for the possible overlay schema). 
But for some compilers I cannot use split I/D space, which upsets me. 
But that then becomes a question of working on the compiler. Not HLL 
code itself is still unaware.

I guess that is the point of HLL.

>>>>> Ada?  I understand that has become king in Europe.  And I am certainly
>>>>> comfortable coding in it.  And with a few decent extensions that can
>>>>> be found in most dialects anyway Pascal is a pretty good system level
>>>>> language.
>>>>
>>>> Ada? King of Europe? Where do you hear such things??? :-)
>>>
>>> Well, the only real Ada Conference is now held in Europe (might be
>>> coming up real soon now).  Stuff I read from their website seemed
>>> to at least hint that Europe was big on it.  I thought ESA did most
>>> of their stuff in Ada.  What about Airbus?  Isn't the embedded
>>> stuff  being programmed in Ada?
>>
>> Most is in C, or getting into C++ nowadays actually. (Ewwww)
>> I have not seen anyone mention Ada in quite a number of years now.
>
> Intersting as I just recently got invited to the Conference and, no,
> the University won't fund my attending. :-(

Which University? And yes, I know there are still some academic interest 
in Ada, but it has lessened significantly over the years. Let me know if 
you are going, and I'll send a hello through you to some people I'm sure 
is going to be there.

>>>> The ones that were relevant at the time. It gotta be PDP-11 unixes,
>>>> because otherwise the rest of the code wouldn't work anyway. But you
>>>> could have different RTSes for Ultrix, 2BSD, V7 and V6, if needed.
>>>> RTSTS/E make that all possible.
>>>
>>> See, I think you have missed the whole point of my side of the discussion.
>>> I am not talking about extending PDP-11 RSTS or RSX.  I want to see it
>>> ported to other hardware, primarily, Intel. (Although a 68K port would be
>>> fun, too, as I actually have a couple of 68K boards that go in the QBUS
>>> and access all the devices that the PDP-11 could. :-)
>>
>> Well, for such a port, obviously it would be cool with RTSes for current
>> Unix dialects.
>
> Now that I think i see what you mean, you're right.  But I wonder if
> it could be done.

Since talk about a theoretical reimplementation of RSTS/E isn't really 
meaningful at this point, I'll just stick with the current RSTS/E on PDP-11.
Of course it can be done. It should in fact be almost trivially straight 
forward. You write the RTS. The RTS have vectors for some various 
instructions, such as EMT. Unix programs do EMTs for system calls. You 
translate the Unix system calls that are possible into RSTS/E calls 
(which means quite a few, but not all, especially not fork()), and then 
you run your programs. Many Ultrix-11 programs should then just run. 
Like magic. :-)

And the kbm could be made to look like a simple shell.

>  I guess you could always try making an Ultrix-11
> RTS as a proof of concept.  Now, if I only had a legitimate RSTS
> system to play with.  :-(

Like I said. This should be pretty easy do to.

>>>> That is probably true. It's more or less not possible to translate some
>>>> of the concepts in RSTS/E or RSX into Unix equivalents. Emulating the
>>>> hardware, and then run everything on top of whatever.
>>>
>>> And, as long as we have talked of emulation.  I wonder if anyone has
>>> ever thought of "modifying" the PDP-11 inside an emulator?  Add address
>>> lines.  Give it more memory.  maybe even make the address space flat. :-)
>>
>> No can do without very serious brain surgery. A lot of OS design details
>> depend on the size of physical addresses. And there are no free bits in
>> there. So to extend the physical address means redesigning the bit
>> layout of the MMU registers. That will carry a big change everywhere.
>> Not to mention that you'd need to change all devices to have new bits
>> for DMA addresses. Which means you'd have to change all device drivers
>> that do DMA.
>> Changing the virtual address space is perhaps even more exciting. That
>> means expanding the word size of the machine. That will break just about
>> everything.
>>
>> Did you know that the memory bus on the PDP-11/70 already specifies a
>> 24-bit physical address. But the PDP-11/70 always holds the high two
>> bits to zero. But you could theoretically have expanded the physical
>> memory to 16MB there. But once more, that would have meant changing the
>> bit fields in the MMU registers, which would have broken a lot of code.
>>
>> RSX have a provision for this, but it never have much practical
>> importance. In all the MMU-related system calls, you can specify if your
>> pages should aligned on 64 byte boundaries, or 256 byte boundaries. With
>> 256 byte boundaries, you would actually be able to accomodate two more
>> physical address bits.
>
> I guess I worded that wrong.  What I would make wouldn't really be a
> PDP-11 any more.  I would want something with greater capabilities
> that still had the PDP-11 Instruction Set.  But, your right about
> the devices.  I had been thinking strictly aboutt he CPU and had
> not looked at otehr stuff.

Why stay with the PDP-11 instruction set in this case? There is nothing 
to actually gain from that. You might as well expand/extend/change that 
too at the same time.
It will only be (at best) semi-compatible with the PDP-11 instruction 
set anyway.

>  Of course, it is interesting that most
> of those same devices worked with the VAX which had a totally different
> address map so it is probably doable.

It's the same problem DEC already had to solve in the PDP-11/70. That is 
what the Unibus map do. A layer between memory and devices, which do 
address remapping between the two domains, so that you can have an 
18-bit Unibus address space go to a 22-bit physical memory space (on 
large PDP-11s) or a 30-bit physical address space (on most VAXen).
Which also means that all device drivers needs to know about, and make 
use of the Unibus map in order to transfer data to/from devices.

A new Unibus map design will require changes to all drivers as well.

>>> So many projects, so little time.  And to think I thought when I came
>>> to academia that they would support, even push, some of my research
>>> projects.  Go figure.
>>
>> :-)
>
> I sure would enjoy meeting you someday.  We must be pretty close in age.
> The conversations we could have over tall mugs of pilsner!!

Apart from that I only drink coke, that would be cool. You don't happen 
to be around San Francisco the next few weeks?

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 15:46                             ` Bill Gunshannon
  2011-05-25 23:00                               ` Johnny Billquist
@ 2011-05-26  0:58                               ` Rich Alderson
  2011-05-26  1:23                                 ` glen herrmannsfeldt
  2011-05-26  1:14                               ` Jerome H. Fine
  2011-05-26 15:50                               ` Fritz Wuehler
  3 siblings, 1 reply; 146+ messages in thread
From: Rich Alderson @ 2011-05-26  0:58 UTC (permalink / raw)


billg999@cs.uofs.edu (Bill Gunshannon) writes:

> OK, I guess that is another point of view thing.  While i agree that disks
> tend to be blocked they do deliver the raw data when asked and the actual
> sectoring never makes it off the disk.  As for tape and ethernet, even
> the blocking data is just other byte values.  Now, card, there is the
> anomaly.  But I guess in the long run regardless of what the card looked
> like the date was delivered as single characters.  (I really wish I
> could get a card reader for my collection!!)

I'd just like to point out that the sectors ("blocks") on a TOPS-20 file
system are 256 18-bit+parity halfwords long, with 4 sectors per page.
Tops-10 works in blocks instead.  Those amounts of data are what show up
in buffers made up of 36-bit words.  So-called "byte" streams are parochial.
:-)

> Well, as far as I, and I would imagine most people today, are concerned
> if it isn't WYSIWYG it isn't a "word processor" it is a document processor.
> (I still have a professor here, and not some old guy, one of our youngest,
> who still does all of his academic stuff in LaTex!)

I write professional documentation in LaTeX.  (Then again, I'm probably
an old guy, so it doesn't count.)  I can move my documentation sources
from Windows (mandated by the IT department) to Mac OS X (at home) to
any Linux or BSD version (JBIFLI), and get the same results on any of them.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 15:46                             ` Bill Gunshannon
  2011-05-25 23:00                               ` Johnny Billquist
  2011-05-26  0:58                               ` Rich Alderson
@ 2011-05-26  1:14                               ` Jerome H. Fine
  2011-05-26  1:32                                 ` glen herrmannsfeldt
  2011-05-26 15:50                               ` Fritz Wuehler
  3 siblings, 1 reply; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-26  1:14 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 3650 bytes --]

  >Bill Gunshannon wrote:

>Yes, but outside the PDP-11, when was the last time you actually had to
>worry about it as a programmer?  Or figuring out overlays.  Now there
>was a science!!
>
Just thought I would add a bit of information about overlays
in response to "Now there was a science!!".

I made some modifications to MACRO-11 which counts the
number of times an overlay is read into memory in addition
to the number of times the overlay is called - the difference
being the number of times the overlay was called, but was
already memory.  The numbers are displayed at the end
of the listing along with the elapsed time.

A sample output follows this post.  Note that the same assembly
takes over 11 minutes on a PDP-11/83.

MACRO-11 has one root section (or permanent overlay) and 13
overlay segments distributed across 3 regions:
Region 1:   1   2   3   4
Region 2:   5   6   7   8   9
Region 3: 10 11 12 13

Outside of initialization and termination code, only overlays 4,
9 and 11 seem to be used or one from each region.

Summarizing the results is very easy.  Most overlays are read
into memory (after being called, of course) a limited number
of times no matter how large the source code.  Overlays 4,
9 and 11 can be called (without being read into memory)
hundreds of thousands of times.  An order of magnitude
estimate is about 1 million total calls for each 1000 blocks
of source code.

BUT,  THE  TOTAL  NUMBER  OF  READS  IS  LESS
THAN  100  FOR  EVERY  EXAMPLE  THAT  WAS
TESTED!!!!!!!!!!!!!!!!!

The overlay handler uses only about a dozen instructions to
call an overlay segment which is already in memory.  So the
overhead in minimal if the subroutine being called does not
need to be read into memory.

I agree that DEC had many decades to optimize MACRO-11.
Perhaps DEC even wrote its own test code which did the same
as my modification.  The counts were not hard to keep once I
saw the expected results - 32 bit count for the number of calls
and a 16 bit counts for the number of reads or 3 words for each
overlay.  For extra insurance, I also kept a 48 bit count for the
total number of calls and the total number of reads (just in case)
since each additional word required only the "AdC  (R0)+"
instruction with no testing or branches after the first word used
"Add  #1,(R0)+" to advance the count.  Since I initially had no
idea how many calls or reads were being made,  a 48 bit
count was guaranteed to be sufficient.  Printing out the results
was the difficult part.

If anyone is interested, let me know.  After I finish the documentation,
I will release the code.  Meanwhile, if you have an example you want
to check, I can download the files if they are more than 1 MB.  Otherwise,
use Zip or BZip2 and e-mail me the files which should reduce them to
less than 1/2 MB.  Please include a SYSMAC.SML file if you need
a particular version.

Jerome Fine

------------------------------------------------------------------------------------------
          Sample Set of Count Values - Approximately 1100 blocks of Source Files

Errors detected:  0

*** Assembler statistics


Work  file  reads: 943
Work  file writes: 756
Size of work file: 38984 Words  ( 153 Pages)
Size of core pool: 21760 Words  ( 85 Pages)
Use  of  Overlays:    1   2   3      4   5   6   7   8      9  10     11  12  13    Total
   Segment  Calls:   11   5   3 528006   1   1   3   7 494138 106 135960  12   0  1158253
   Required Reads:   11   5   3     10   1   1   3   5      6  10     20  10   0       85
Operating  system: RT-11
Program File Name: LD2:MACRO.SAV[93]
Names of .FETCHed: None
   Device Drivers: None

Elapsed time: 00:00:39.07


[-- Attachment #2: Type: text/html, Size: 5011 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 12:36                         ` Jerome H. Fine
  2011-05-25 17:25                           ` Tom Lake
  2011-05-25 18:44                           ` Johnny Billquist
@ 2011-05-26  1:20                           ` Rich Alderson
  2011-05-26 16:53                             ` Rob Brown
  2011-05-26 20:38                             ` Jerome H. Fine
  2 siblings, 2 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-26  1:20 UTC (permalink / raw)


"Jerome H. Fine" <everyone@nospam.com> writes:

> ... I assume that RSX-11S (without an MMU) is less than
> 64 KB, but when the MMU is available and execution is in
> USER space, 64 KB are available.

Jerome,

RSX-11S is a run-time only version of RSX-11M without any user programming
features.  It is intended to provide a substrate for a single application
to run on top of.

Program development, even that deployed on -11S, is done under RSX-11M(+).

Neither RSX-11S nor RSX-11M require an MMU to run, although -11M can make
use of an MMU if present and SYSGEN'd to do so.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  0:58                               ` Rich Alderson
@ 2011-05-26  1:23                                 ` glen herrmannsfeldt
  2011-05-26 13:01                                   ` Bob Koehler
  2011-05-26 20:15                                   ` Rich Alderson
  0 siblings, 2 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-26  1:23 UTC (permalink / raw)


In vmsnet.pdp-11 Rich Alderson <news@alderson.users.panix.com> wrote:
> billg999@cs.uofs.edu (Bill Gunshannon) writes:
 
>> OK, I guess that is another point of view thing.  While i agree that disks
>> tend to be blocked they do deliver the raw data when asked and the actual
>> sectoring never makes it off the disk.  As for tape and ethernet, even
>> the blocking data is just other byte values.  
(snip)

> I'd just like to point out that the sectors ("blocks") on a TOPS-20 file
> system are 256 18-bit+parity halfwords long, with 4 sectors per page.
> Tops-10 works in blocks instead.  Those amounts of data are what show up
> in buffers made up of 36-bit words.  So-called "byte" streams are parochial.
> :-)

It has been a while since I thought about this.  I did used to read
EBCDIC tapes from OS/360 on TOPS-10, with my own conversion program
written in Fortran.  I don't remember how the blocking came out now,
but the favorite format (RECFM) at the time was fixed length 80
byte records, blocked at something like 3200 bytes.
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

I believe it comes out four bytes per PDP-10 word.

I also remember doing direct access files in Fortran, I believe
with records that were multiples of the disk block size.
 
(snip)
 
> I write professional documentation in LaTeX.  (Then again, I'm probably
> an old guy, so it doesn't count.)  I can move my documentation sources
> from Windows (mandated by the IT department) to Mac OS X (at home) to
> any Linux or BSD version (JBIFLI), and get the same results on any of them.

That is part of the design of TeX.  All calculations that affect the
typesetting output are in fixed point.  (With varying numbers of
bits after the binary point, mostly 16.)  Some messages use floating
point, though.  Do you have TeX on TOPS-20?  

There is one place in TeX where it needs to multiply two values
with 16 bits after the binary point, with the result also having 16
bits after the binary point, and similarly for divide.  That isn't
easy (or fast) in Pascal, so it is suggested to use an assembly
routine to do it, as appropriate for the hardware.  Though maybe
machines are fast enough now, that no-one notices.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:14                               ` Jerome H. Fine
@ 2011-05-26  1:32                                 ` glen herrmannsfeldt
  2011-05-26 20:39                                   ` Jerome H. Fine
  0 siblings, 1 reply; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-26  1:32 UTC (permalink / raw)


In alt.sys.pdp11 Jerome H. Fine <everyone@nospam.com> wrote:

(snip)
> I made some modifications to MACRO-11 which counts the
> number of times an overlay is read into memory in addition
> to the number of times the overlay is called - the difference
> being the number of times the overlay was called, but was
> already memory.  The numbers are displayed at the end
> of the listing along with the elapsed time.

I used to know how the overlay for OS/360 worked.  I believe
it is only two instructions if the segment is already in
memory.  It uses self-modifying code to write the load and
branch instructions to not call the overlay handler.
(Branch to an arbitrary address takes two instructions,
load the address into a register, and then branch.)

I do remember using the RT-11 overlay system with Fortran,
but not how many instructions it took.  I would think it could
use something similar to the self modifying branch, though.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 16:42                     ` Bill Gunshannon
  2011-05-24 18:17                       ` Johnny Billquist
@ 2011-05-26  8:03                       ` Fritz Wuehler
  2011-05-26 14:21                         ` paramucho
  2011-05-26 17:04                         ` Johnny Billquist
  1 sibling, 2 replies; 146+ messages in thread
From: Fritz Wuehler @ 2011-05-26  8:03 UTC (permalink / raw)


billg999@cs.uofs.edu (Bill Gunshannon) wrote:

> I guess the problem with that would be which Unix?  :-)
> And even among similar OSes that doesn't always work.  BSD has
> "Linux Compatability" but I have seen more programs that didn't
> work under it than did.

That doesn't make sense. As far as I know it works 100%.

> Oh well, as I said, it is all really academic as:
>   1.  I don't expect the source to RSTS or RSX to be released.
>   2.  Even if I am wrong about 1. above it is likely to be done
>       under a license that is not commercially friendly.
>   3.  Given 1. above it is unlikely that any attempt to re-write
>       RSTS or RSX is ever likely to happen.

That is counter-intuitive. Given that RSTS or RSX aren't released in source,
isn't that the perfect reason to re (write) them?

>   4.  Even if I am wrong about 3. above it would probably end out
>       being something as stupid as FreeVMS which in the long run will
>       be nothing but a DCLish shell running on top of Linux which is
>       not and never could be any kind of VMS.

I wouldn't be so sure. Look at the hardware emulators people have written
for things like z/Arch and x86 and even PDP-11 etc. If they can write that,
they can write an OS that works like an existing OS. It's not any harder. In
the case of UNIX it was easier to write the OS than write an emulator. In
the case of z/Arch it was easier to write the emulator than the OS. But you
can do anything if you have enough time, money, and good people. Oh yeah,
and demand. Or somebody just crazy enough to do it.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-24 18:17                       ` Johnny Billquist
  2011-05-24 20:07                         ` Bill Gunshannon
  2011-05-25  1:01                         ` Rich Alderson
@ 2011-05-26 12:53                         ` Bob Koehler
  2011-05-26 16:59                           ` Johnny Billquist
  2 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-26 12:53 UTC (permalink / raw)


billg999@cs.uofs.edu (Bill Gunshannon) writes:
 
> OK, I guess that is another point of view thing.  While i agree that disks
> tend to be blocked they do deliver the raw data when asked and the actual
> sectoring never makes it off the disk.  As for tape and ethernet, even
> the blocking data is just other byte values.  Now, card, there is the
> anomaly.  But I guess in the long run regardless of what the card looked
> like the date was delivered as single characters.  (I really wish I
> could get a card reader for my collection!!)
  
   I've worked with bocked and unblocked tapes, and I know 8mm drives
   have to do things to make them look blocked, but on 9-track tape the
   blocking data is not a byte value.  A data block on a 9 track tape 
   starts with a physical sync pattern, then the data, ends with a sync
   pattern, and is followed by erased space before the next block.

   Larger blocks on tape are done by writing physically longer
   collections of bits between the sync patterns.

   How this is done got more sophisticated over the years, with 6250 BPI
   tapes actually recorded at about 9000 bits per inch, using the extra
   bits to provide the redundancy to recover from errors expected at
   that high a dentity.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:23                                 ` glen herrmannsfeldt
@ 2011-05-26 13:01                                   ` Bob Koehler
  2011-05-27  0:54                                     ` glen herrmannsfeldt
  2011-05-26 20:15                                   ` Rich Alderson
  1 sibling, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-26 13:01 UTC (permalink / raw)


In article <irka34$sqr$1@dont-email.me>, glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
> 
> It has been a while since I thought about this.  I did used to read
> EBCDIC tapes from OS/360 on TOPS-10, with my own conversion program
> written in Fortran.  I don't remember how the blocking came out now,
> but the favorite format (RECFM) at the time was fixed length 80
> byte records, blocked at something like 3200 bytes.
> DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

   Once upon a time 80 byte EBCDIC records (one per block) on an 800
   BPI tape was the all-purpose media for data exchange.  A VAX 11/780
   running VMS 1.x was the first system I ran into that didn't ship with
   an EBCDIC tape reading progream.  The next 11/780 I ran into went
   into a shop with 3 IBM 360, so the local DEC office gave us a
   program that would read and write EBCDIC tapes.
   
> 
> I also remember doing direct access files in Fortran, I believe
> with records that were multiples of the disk block size.

   I've done a lot of direct access in Fortran, and never had to worry
   about the disk block size.  I was suprized to discover that the
   IBM Fortran H Extended Enhanced I/O subsystem would do direct access
   on a veriable-length record file, but not a fixed length record file.
   Perhaps IBM figured they only had to do the harder part.

   We had an IBM Macro routine that would do direct access on a fixed
   length record file.  It had a variable calling sequence.  When we
   ported the code to our VAX, I wrote a Fortran subroutine to do the
   direct access file I/O and a Macro-32 routine to accept the variable
   length argument list and fill in the arguments to the Fortran
   subroutine.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  8:03                       ` Fritz Wuehler
@ 2011-05-26 14:21                         ` paramucho
  2011-05-26 18:50                           ` billy
  2011-05-26 17:04                         ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: paramucho @ 2011-05-26 14:21 UTC (permalink / raw)


On Thu, 26 May 2011 10:03:27 +0200, Fritz Wuehler
<fritz@spamexpire-201105.rodent.frell.theremailer.net> wrote:

>billg999@cs.uofs.edu (Bill Gunshannon) wrote:
>
>> I guess the problem with that would be which Unix?  :-)
>> And even among similar OSes that doesn't always work.  BSD has
>> "Linux Compatability" but I have seen more programs that didn't
>> work under it than did.
>
>That doesn't make sense. As far as I know it works 100%.
>
>> Oh well, as I said, it is all really academic as:
>>   1.  I don't expect the source to RSTS or RSX to be released.
>>   2.  Even if I am wrong about 1. above it is likely to be done
>>       under a license that is not commercially friendly.
>>   3.  Given 1. above it is unlikely that any attempt to re-write
>>       RSTS or RSX is ever likely to happen.
>
>That is counter-intuitive. Given that RSTS or RSX aren't released in source,
>isn't that the perfect reason to re (write) them?

Precisely. It's quite possible that none of the DEC sources for their
major systems will ever be officially placed in the public domain.

>>   4.  Even if I am wrong about 3. above it would probably end out
>>       being something as stupid as FreeVMS which in the long run will
>>       be nothing but a DCLish shell running on top of Linux which is
>>       not and never could be any kind of VMS.
>
>I wouldn't be so sure. Look at the hardware emulators people have written
>for things like z/Arch and x86 and even PDP-11 etc. If they can write that,
>they can write an OS that works like an existing OS. It's not any harder. In
>the case of UNIX it was easier to write the OS than write an emulator. In
>the case of z/Arch it was easier to write the emulator than the OS.

It's often the libraries that are the killers.

> But you
>can do anything if you have enough time, money, and good people. Oh yeah,
>and demand. Or somebody just crazy enough to do it.

Well, there's no demand, so I guess it must be the latter that
explains why I spend on average two months a year rewriting and
extending my versions of DEC O/S's. I find the exercise relaxing--it's
like fixing up and polishing an old car to make it roadworthy again. A
few days ago I went back to my half-completed rewrites of PATCH, DUMP
and SEARCH and took them to the next stage of completion. These were
in fact re-rewrites! Today finished off the first version of a library
module for stand-alone apps to decode DCL-style commands. At present
I'm staring into space trying, yet again, to solve an old problem: how
do you rewrite MACRO and LINK in a high-level language and still find
enough space for the symbol tables while remaining compatible with the
smaller systems and I think I've finally made a choice. 

What better way could I possibly find to occupy my time? 





Ian


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 15:46                             ` Bill Gunshannon
                                                 ` (2 preceding siblings ...)
  2011-05-26  1:14                               ` Jerome H. Fine
@ 2011-05-26 15:50                               ` Fritz Wuehler
  3 siblings, 0 replies; 146+ messages in thread
From: Fritz Wuehler @ 2011-05-26 15:50 UTC (permalink / raw)


billg999@cs.uofs.edu (Bill Gunshannon) wrote:

> OK, I guess that is another point of view thing.  While i agree that disks
> tend to be blocked they do deliver the raw data when asked and the actual
> sectoring never makes it off the disk.

That's not true. Many IBM access methods are based on the contents of
blocks, tracks, or cylinders. Depending on whether you let the system do the
blocking and deblocking or not, you can be presented with a whole
block. That is the unit of transmission. Access methods like VSAM read a
whole cylinder at a time. Access methods like VSAM LDS let you work on the
block level. BDAM cares about cchhr.

> Well, I guess it depends on what you consider new.  To my way of
> thinking if it isn't maintenance it is new.  A lot of the places
> still using COBOL get new requirements for doing business every
> day and that requires new programs to manipulate the data and
> generate reports.  yes, it is in support of an existing business
> but the code is all done from scratch and requires going thru
> the SDLC just like anything else.  And, of course, the maintenance
> end of COBOL is going to be around long after I am dust.

There is new COBOL written as in new systems. It isn't written by as many
people as write Java, C++ etc. but the linecount of all COBOL is still
probably lines of Java raised to the power of lines of C++.

> actually know (or care) that it is just Linux.  Kind of like trying to
> tell a Mac fanatic that he really is just running BSD.  :-)

He's just running a BSD-based kernel with an Apple userland. I guess it's
more like Linux than BSD.

In the end, graphical user interface is what killed all the great software.
Now all you have to do is a write a good GUI and nothing else matters. 



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 23:00                               ` Johnny Billquist
@ 2011-05-26 15:50                                 ` Fritz Wuehler
  2011-05-26 16:53                                   ` Johnny Billquist
  2011-05-28 18:01                                 ` Bill Gunshannon
  1 sibling, 1 reply; 146+ messages in thread
From: Fritz Wuehler @ 2011-05-26 15:50 UTC (permalink / raw)


Johnny Billquist <bqt@softjar.se> wrote:

> >>>>>>>>> I was waiting for this to come up.  I think most people think
> >>>>>>>>> that there are really only two OSes left in the world.  MS and
> >>>>>>>>> Unix. 

Not from where I stand as someone who is in the business of writing software
for IBM mainframes (not in COBOL, btw!) However I could be accused of
thinking there is really only one OS left in the world, z/OS.

Don't get me wrong, I do like old stuff like DOS, PDP-11 (I'm reading the
newsgroup) although it's been a long time since I used a PDP machine.

> >>>>>>>>> that predate MS and might even predate Unix and still have loyal
> >>>>>>>>> followings. (And I am not talking about VMS. :-)

Yep!

> We're going to be stuck with the Unix ideas for the forseeable future, 

That's only if you use UNIX.

> with more and more cruft grafted in to solve the problems. Look at 
> various extensions for security that have come, such as capabilities, 
> ACLs, doing things over ssh, using SSL, and now also hardware support 
> for security issues.

No question. I always get flamed and death threats for saying this, but as
much as UNIX, LINUX, etc. are really the only modern way to go on PCs, they
are still not enterprise quality. Linux is far far from it, Solaris better
but still with the problems you mentioned and many many more.

> >>>>> Yes, but not the majority of the ones people actually want.  :-)

Everybody in the dark ages said the world was flat, but it wasn't. The bad
part was the people who said it wasn't got burned at the stake. Gee,
nothing's really changed!

> The problem is if everyone else is using Microsoft Office, and pass 
> around documents written in there, you need to be fully compatible with 
> that, or else you are at a disadvantage.
> And so far, Microsoft have been very successful at getting everyone to 
> use Microsoft Office.

I have used OO to deal with Windows users for a few years now without any
compatability issues. That includes word doc and excel spreadsheets. I'm
sure if you look you can find stuff that doesn't work but I never came
across any.

> >> There were word processing and other stuff available for RSX. But it
> >> wasn't pretty enough. People started wanting very graphical interfaces
> >> to those things, and at that point it became a question of the hardware
> >> couldn't do it.

That's exactly right. It's all about GUI today, nothing else matters. And
that's why today's code quality is so bad, because people don't know how
to write code, they only know how to use libraries or APIs other people
wrote. 

> Oracle dropping VMS looks more like VARs getting out of VMS before HP. 
> HP will be the last guy standing. And this is not because HP said Oracle 
> should. I suspect they are actually very unhappy with that announcement 
> (as are Intel, I guess). But from Oracles point of view, it probably 
> makes great sense. The earnings don't justify the costs anymore. They 
> can make better money by another strategy. That's why they drop VMS.

Itanium, VMS, what's next ;)

> Technical merits comes way down on any list.

Except for the people who care, and there are only a few of us left.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:20                           ` Rich Alderson
@ 2011-05-26 16:53                             ` Rob Brown
  2011-05-26 20:27                               ` Rich Alderson
  2011-05-26 20:38                             ` Jerome H. Fine
  1 sibling, 1 reply; 146+ messages in thread
From: Rob Brown @ 2011-05-26 16:53 UTC (permalink / raw)



On Wed, 25 May 2011 at 21:20 -0400, Rich Alderson wrote:

> Neither RSX-11S nor RSX-11M require an MMU to run, although -11M can 
> make use of an MMU if present and SYSGEN'd to do so.

According to the SPD for RSX-11S V2.1 (1978! the latest I found on 
BitSavers), RSX-11S can use the MMU as well.


-- 

Rob Brown                        b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd.      (780)438-9343 (voice)
Edmonton                         (780)437-3367 (FAX)
                                  http://gmcl.com/



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 15:50                                 ` Fritz Wuehler
@ 2011-05-26 16:53                                   ` Johnny Billquist
  2011-05-26 20:20                                     ` Fritz Wuehler
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-26 16:53 UTC (permalink / raw)


On 2011-05-26 08.50, Fritz Wuehler wrote:
> Johnny Billquist<bqt@softjar.se>  wrote:
>
>>>>>>>>>>> I was waiting for this to come up.  I think most people think
>>>>>>>>>>> that there are really only two OSes left in the world.  MS and
>>>>>>>>>>> Unix.
>
> Not from where I stand as someone who is in the business of writing software
> for IBM mainframes (not in COBOL, btw!) However I could be accused of
> thinking there is really only one OS left in the world, z/OS.

:-)
However, I suspect you live in a diminishing world.

>> We're going to be stuck with the Unix ideas for the forseeable future,
>
> That's only if you use UNIX.

I might sound like the doomsday is coming, but you'll probably see more 
Unix and Windows even at your place over time. I bet 20 years ago, you 
saw neither, and now they do exist around you...

>>>>>>> Yes, but not the majority of the ones people actually want.  :-)
>
> Everybody in the dark ages said the world was flat, but it wasn't. The bad
> part was the people who said it wasn't got burned at the stake. Gee,
> nothing's really changed!

That is true. However, questions like if the earth is flat or not is at 
least a provable statement. What we talk about here is so much more just 
a question of opinions, trends and taste. There are no provable right or 
wrong. Which makes it so much more problematic. And which makes it 
possible for products with a high suck-factor so succeed.

>> The problem is if everyone else is using Microsoft Office, and pass
>> around documents written in there, you need to be fully compatible with
>> that, or else you are at a disadvantage.
>> And so far, Microsoft have been very successful at getting everyone to
>> use Microsoft Office.
>
> I have used OO to deal with Windows users for a few years now without any
> compatability issues. That includes word doc and excel spreadsheets. I'm
> sure if you look you can find stuff that doesn't work but I never came
> across any.

He. I was using it a just a couple of years ago, and were sitting in 
this meeting with a printed copy of a word document when I realized that 
the pagination became different and when everybody else talked about 
page x, I sometimes had to go to page x+1. Very difficult to discuss the 
contents of the document under those circumstances... :-/
It would appear that under some circumstances, OO overflowed the text to 
the next page earlier than MS Office do. And it wasn't too complex a 
document either. Figures, and just text.

>>>> There were word processing and other stuff available for RSX. But it
>>>> wasn't pretty enough. People started wanting very graphical interfaces
>>>> to those things, and at that point it became a question of the hardware
>>>> couldn't do it.
>
> That's exactly right. It's all about GUI today, nothing else matters. And
> that's why today's code quality is so bad, because people don't know how
> to write code, they only know how to use libraries or APIs other people
> wrote.

Couldn't agree more. And it's also because competent programmers are 
expensive. Heck, even incompetent programmers are expensive. Software 
development is expensive, so all corner cutting that you can come up 
with are used.

>> Oracle dropping VMS looks more like VARs getting out of VMS before HP.
>> HP will be the last guy standing. And this is not because HP said Oracle
>> should. I suspect they are actually very unhappy with that announcement
>> (as are Intel, I guess). But from Oracles point of view, it probably
>> makes great sense. The earnings don't justify the costs anymore. They
>> can make better money by another strategy. That's why they drop VMS.
>
> Itanium, VMS, what's next ;)

Good question, actually. Maybe IBM mainframes? :-)
Probably not, but anyway... The trend will not stop here. More roadkill 
is to be expected.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 12:53                         ` Bob Koehler
@ 2011-05-26 16:59                           ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-26 16:59 UTC (permalink / raw)


On 2011-05-26 05.53, Bob Koehler wrote:
> billg999@cs.uofs.edu (Bill Gunshannon) writes:
>
>> OK, I guess that is another point of view thing.  While i agree that disks
>> tend to be blocked they do deliver the raw data when asked and the actual
>> sectoring never makes it off the disk.  As for tape and ethernet, even
>> the blocking data is just other byte values.  Now, card, there is the
>> anomaly.  But I guess in the long run regardless of what the card looked
>> like the date was delivered as single characters.  (I really wish I
>> could get a card reader for my collection!!)
>
>     I've worked with bocked and unblocked tapes, and I know 8mm drives
>     have to do things to make them look blocked, but on 9-track tape the
>     blocking data is not a byte value.

Right. But even more than that, 8mm tape drives behave exactly the same 
way as older 1/2" tapes from the user point of view. You read/write 
blocks. You can skip forward/backward by block and file. You have the 
tape marks, and so on. It might be that the actual encoding on the tape 
looks different (it probably do), but from the interface point of view, 
there are no differences.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  8:03                       ` Fritz Wuehler
  2011-05-26 14:21                         ` paramucho
@ 2011-05-26 17:04                         ` Johnny Billquist
  2011-05-27  1:30                           ` Fritz Wuehler
  1 sibling, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-26 17:04 UTC (permalink / raw)


On 2011-05-26 01.03, Fritz Wuehler wrote:
> billg999@cs.uofs.edu (Bill Gunshannon) wrote:
>
>> I guess the problem with that would be which Unix?  :-)
>> And even among similar OSes that doesn't always work.  BSD has
>> "Linux Compatability" but I have seen more programs that didn't
>> work under it than did.
>
> That doesn't make sense. As far as I know it works 100%.

Oh, believe me, it does not. I can easily give you a list of Linux 
programs you can not run on a BSD system, with Linux compatibility.
Not all system calls are emulated perfectly, and sometimes programs have 
additional tricks going on out in the system, which is even harder to 
emulate.

>> Oh well, as I said, it is all really academic as:
>>    1.  I don't expect the source to RSTS or RSX to be released.
>>    2.  Even if I am wrong about 1. above it is likely to be done
>>        under a license that is not commercially friendly.
>>    3.  Given 1. above it is unlikely that any attempt to re-write
>>        RSTS or RSX is ever likely to happen.
>
> That is counter-intuitive. Given that RSTS or RSX aren't released in source,
> isn't that the perfect reason to re (write) them?

I agree. If the goal is a rewrite, then the status of the current code 
seems irrelevant.

>>    4.  Even if I am wrong about 3. above it would probably end out
>>        being something as stupid as FreeVMS which in the long run will
>>        be nothing but a DCLish shell running on top of Linux which is
>>        not and never could be any kind of VMS.
>
> I wouldn't be so sure. Look at the hardware emulators people have written
> for things like z/Arch and x86 and even PDP-11 etc. If they can write that,
> they can write an OS that works like an existing OS. It's not any harder. In
> the case of UNIX it was easier to write the OS than write an emulator. In
> the case of z/Arch it was easier to write the emulator than the OS. But you
> can do anything if you have enough time, money, and good people. Oh yeah,
> and demand. Or somebody just crazy enough to do it.

It's two different things. And one does not imply the other.
Implementing VMS as a library/program on top of Linux is a whole 
different ballpark than writing a CPU emulator on top of Linux.
The requirements for the emulator of the CPU is that you need to perform 
the rather well defined, and limited set of operations that the CPU 
perform. The OS on the other hand have a very rich set of functions and 
features. Mostly well documented, admittedly, but some of those 
functions can be much harder to implement on a OS that have a different 
paradigm.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 14:21                         ` paramucho
@ 2011-05-26 18:50                           ` billy
  2011-05-27 11:58                             ` paramucho
  0 siblings, 1 reply; 146+ messages in thread
From: billy @ 2011-05-26 18:50 UTC (permalink / raw)


In vmsnet.pdp-11 paramucho <paramucho@hotmail.com> wrote, quoting
Fritz Wuehler <fritz@spamexpire-201105.rodent.frell.theremailer.net>:

> It's often the libraries that are the killers.

Yes, that's for sure.

> > But you can do anything if you have enough time, money, and
> > good people. Oh yeah, and demand. Or somebody just crazy enough
> > to do it.
>
> Well, there's no demand, so I guess it must be the latter that
> explains why I spend on average two months a year rewriting and
> extending my versions of DEC O/S's. I find the exercise relaxing--it's
> like fixing up and polishing an old car to make it roadworthy again.

I started work on Kermit because I needed it, but in the end it
became making an old car roadworthy again.  Polishing in my case
included trying to provide a good example of how I think PDP-11
assembly language should be used, as at the time it was still
being taught to college students starting to study programming.

That was definitely more fun than most of what I do now.  Heh.

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:23                                 ` glen herrmannsfeldt
  2011-05-26 13:01                                   ` Bob Koehler
@ 2011-05-26 20:15                                   ` Rich Alderson
  2011-05-26 23:56                                     ` glen herrmannsfeldt
                                                       ` (2 more replies)
  1 sibling, 3 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-26 20:15 UTC (permalink / raw)


glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:

> It has been a while since I thought about this.  I did used to read
> EBCDIC tapes from OS/360 on TOPS-10, with my own conversion program
> written in Fortran.  I don't remember how the blocking came out now,
> but the favorite format (RECFM) at the time was fixed length 80
> byte records, blocked at something like 3200 bytes.
> DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

> I believe it comes out four bytes per PDP-10 word.

Yes.  However, there are no system calls for *disk* data capable of
treating a file as anything other than blocks of 128 words.  The
content is then either 7 ASCII characters packed per word, or 36 bits.

No other choices are available.

In fact, in order to write your 4 8-bit bytes back to tape such that
it reads natively on the 360/370, you must open the file as 36-bit
data, then programmatically insert an 8-bit byte pointer into the
file descriptor block allocated by the OPEN call.  (Well, technically,
you could open it as 7-bit ASCII data and do the same thing.  That
just seems more wrong, somehow.)

> I also remember doing direct access files in Fortran, I believe
> with records that were multiples of the disk block size.

Yup.  No "bytes" need apply.[1]

>> I write professional documentation in LaTeX.  (Then again, I'm probably
>> an old guy, so it doesn't count.)  I can move my documentation sources
>> from Windows (mandated by the IT department) to Mac OS X (at home) to
>> any Linux or BSD version (JBIFLI), and get the same results on any of them.

> That is part of the design of TeX.  All calculations that affect the
> typesetting output are in fixed point.  (With varying numbers of
> bits after the binary point, mostly 16.)  Some messages use floating
> point, though.  Do you have TeX on TOPS-20?  

As a matter of fact, we do.  It is seriously down-rev from modern TeX
implementations, still requiring postprocessors like dvitops, so I don't
make much use of it there any longer.  Oh, and it only supports LaTeX 2.09;
LaTeX 2\epsilon requires a more modern TeX...

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 16:53                                   ` Johnny Billquist
@ 2011-05-26 20:20                                     ` Fritz Wuehler
  0 siblings, 0 replies; 146+ messages in thread
From: Fritz Wuehler @ 2011-05-26 20:20 UTC (permalink / raw)


Johnny Billquist <bqt@softjar.se> wrote:

> On 2011-05-26 08.50, Fritz Wuehler wrote:
> > Johnny Billquist<bqt@softjar.se>  wrote:
> >
> > Not from where I stand as someone who is in the business of writing
> software for IBM mainframes (not in COBOL, btw!) However I could be
> accused of thinking there is really only one OS left in the world, z/OS. 
> 
> :-)
> However, I suspect you live in a diminishing world.

That's true of everything good but unless a miracle happens it will still be
around for a long time.

> That is true. However, questions like if the earth is flat or not is at 
> least a provable statement. What we talk about here is so much more just 
> a question of opinions, trends and taste. There are no provable right or 
> wrong. Which makes it so much more problematic. And which makes it 
> possible for products with a high suck-factor so succeed.

I don't agree. You can prove technology is superior or inferior. What you
can't prove is what you should like or not like, and since unqualified
people are making technology choices (too many MBA CTOs and no engineering
CTOs) the issue isn't what's better. It's what they like, or more to the
point what is the cheapest thing they can do this quarter.

> He. I was using it a just a couple of years ago, and were sitting in 
> this meeting with a printed copy of a word document when I realized that 
> the pagination became different and when everybody else talked about 
> page x, I sometimes had to go to page x+1. Very difficult to discuss the 
> contents of the document under those circumstances... :-/
> It would appear that under some circumstances, OO overflowed the text to 
> the next page earlier than MS Office do. And it wasn't too complex a 
> document either. Figures, and just text.

I am sure this can be dealt with by people who know how but I agree what
happened is not a good situation. Anyway I never had it come up.

> > Itanium, VMS, what's next ;)
> 
> Good question, actually. Maybe IBM mainframes? :-)

They have been saying that since 1975 but here we are in 2011 and IBM is
worth more than Microsoft on the stock market. True we have many less jobs,
orders of magnitude less, but it's a great platform with an endless life
left. It's going away for many reasons, none of them technical or quality
related. Those of us in the business are pained over it as much as you guys
who love DEC and PDP. We've worked on this stuff for 40 or 50 years.

> Probably not, but anyway... The trend will not stop here. More roadkill 
> is to be expected.

Yep. :-(



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 16:53                             ` Rob Brown
@ 2011-05-26 20:27                               ` Rich Alderson
  2011-05-27  3:27                                 ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: Rich Alderson @ 2011-05-26 20:27 UTC (permalink / raw)


Rob Brown <mylastname@gmcl.com> writes:

> On Wed, 25 May 2011 at 21:20 -0400, Rich Alderson wrote:

>> Neither RSX-11S nor RSX-11M require an MMU to run, although -11M can 
>> make use of an MMU if present and SYSGEN'd to do so.

> According to the SPD for RSX-11S V2.1 (1978! the latest I found on 
> BitSavers), RSX-11S can use the MMU as well.

OK, I'm willing to believe that.  What I know about -11S is from the joint
description with -11M in an old handbook.  Since I wasn't interested in
-11S, I never researched it further than that.  -11M is the parent of -20F,
used in the front end processor (an 11/40, unmapped) of the KL-10 based
DEC-20/DEC-10.  Development work for RSX-20F is done in -11M.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:20                           ` Rich Alderson
  2011-05-26 16:53                             ` Rob Brown
@ 2011-05-26 20:38                             ` Jerome H. Fine
  2011-05-27  4:44                               ` Johnny Billquist
  1 sibling, 1 reply; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-26 20:38 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

 >Rich Alderson wrote:

>>"Jerome H. Fine" <everyone@nospam.com> writes:
>
>>... I assume that RSX-11S (without an MMU) is less than
>>64 KB, but when the MMU is available and execution is in
>>USER space, 64 KB are available.
>>
>RSX-11S is a run-time only version of RSX-11M without any user programming
>features.  It is intended to provide a substrate for a single application
>to run on top of.
>  
>
What I was attempting to understand was how much
memory is available for a user application program
when it executes in the same memory space (no MMU)
as the operating system, such as with RT11SJ.

With an MMU available for the operating system to
execute in KERNEL mode and the user application
to execute in USER mode, on a PDP-11 with at least
1/4 MB of physical memory, the user application has
a possible 64 KB of USER mode memory to execute in.

The same goes for RT11XM.  The program VBGEXE.SAV
requests 64 KB of extended memory and copies the
user application into that memory in USER mode and
then initiates the user application.

With RSTS/E, RT-11 programs require the support of the
RT-11 RTS and there is less than 56 KB of memory
available to the RT-11 user application.

What I am still confused about is if the program is written
for RSTS/E, does RSTS/E make the complete 64 KB
available or is there still an essential RSTS/E  RTS which
reduces the memory available to the user application to
less than 64 KB - and if so what is still available.

Jerome Fine

[-- Attachment #2: Type: text/html, Size: 2175 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26  1:32                                 ` glen herrmannsfeldt
@ 2011-05-26 20:39                                   ` Jerome H. Fine
  0 siblings, 0 replies; 146+ messages in thread
From: Jerome H. Fine @ 2011-05-26 20:39 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2217 bytes --]

 >glen herrmannsfeldt wrote:

>>In alt.sys.pdp11 Jerome H. Fine <everyone@nospam.com> wrote:
>
>(snip)
>  
>
>>I made some modifications to MACRO-11 which counts the
>>number of times an overlay is read into memory in addition
>>to the number of times the overlay is called - the difference
>>being the number of times the overlay was called, but was
>>already memory.  The numbers are displayed at the end
>>of the listing along with the elapsed time.
>>    
>>
>I used to know how the overlay for OS/360 worked.  I believe
>it is only two instructions if the segment is already in
>memory.  It uses self-modifying code to write the load and
>branch instructions to not call the overlay handler.
>(Branch to an arbitrary address takes two instructions,
>load the address into a register, and then branch.)
>  
>
I just looked again at the RT-11 overlay handler for low memory
overlays.  The exact instruction count is 15 instructions in
total (including the instruction which CALLs the instruction
which CALLs the overlay handler with the required arguments)
when the subroutine is in an overlay which is already in memory.
15 instructions includes a redundant PUSH and POP of R0
when the overlay is in memory - although it was convenient to
keep them in order to use R0 as the base address of the table
which keeps track of the number of times an overlay is CALLed.

The code is also self modifying, but ONLY the very first time
an overlay segment is CALLed so that all of the memory used
by overlays can be zeroed.

The method adds an extra CALL instruction, but reduces overall
code size when many calls are made to the same subroutine in
an overlay.

>I do remember using the RT-11 overlay system with Fortran,
>but not how many instructions it took.  I would think it could
>use something similar to the self modifying branch, though.
>
The overlay handler code is identical no matter which language
is used.  The instruction used to CALL the instruction which
CALLs the overlay handler with the correct arguments is
also compatible with FORTRAN conventions as well as
every other language since other than the initial CALL instruction,
everything else is hidden from the user application program.

Jerome Fine

[-- Attachment #2: Type: text/html, Size: 2981 bytes --]

^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 20:15                                   ` Rich Alderson
@ 2011-05-26 23:56                                     ` glen herrmannsfeldt
  2011-05-27 18:37                                       ` Rich Alderson
  2011-05-27  0:02                                     ` glen herrmannsfeldt
  2011-05-27 18:35                                     ` Rich Alderson
  2 siblings, 1 reply; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-26 23:56 UTC (permalink / raw)


In vmsnet.pdp-11 Rich Alderson <news@alderson.users.panix.com> wrote:
(snip, I wrote) 
>> It has been a while since I thought about this.  I did used to read
>> EBCDIC tapes from OS/360 on TOPS-10, with my own conversion program
>> written in Fortran.  I don't remember how the blocking came out now,
>> but the favorite format (RECFM) at the time was fixed length 80
>> byte records, blocked at something like 3200 bytes.
>> DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)
 
>> I believe it comes out four bytes per PDP-10 word.
 
> Yes.  However, there are no system calls for *disk* data capable of
> treating a file as anything other than blocks of 128 words.  The
> content is then either 7 ASCII characters packed per word, or 36 bits.
 
> No other choices are available.
 
> In fact, in order to write your 4 8-bit bytes back to tape such that
> it reads natively on the 360/370, you must open the file as 36-bit
> data, then programmatically insert an 8-bit byte pointer into the
> file descriptor block allocated by the OPEN call.  (Well, technically,
> you could open it as 7-bit ASCII data and do the same thing.  That
> just seems more wrong, somehow.)

That was all in Fortran, and about 35 years ago.  I wasn't so sure
how much was done by the Fortran library, and how much by the OS.

Also, it was using old tapes and the always unreliable 800 BPI NRZI
coded tape.  I don't remember now if I ever wrote tapes to
bring back to S/370.

About two years later the PDP-10 was replaced with a VAX, and I
had to learn how to write AL tapes on the 370.  The non-obvious
problem was that OS/VS2 knew how to read/write/mount AL tapes,
but ASP (later JES3) did not.  After much discussion, I learned
about deferred mounting such that ASP didn't have to see the tape.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 20:15                                   ` Rich Alderson
  2011-05-26 23:56                                     ` glen herrmannsfeldt
@ 2011-05-27  0:02                                     ` glen herrmannsfeldt
  2011-05-27  3:17                                       ` Johnny Billquist
  2011-05-27 18:35                                     ` Rich Alderson
  2 siblings, 1 reply; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-27  0:02 UTC (permalink / raw)


In vmsnet.pdp-11 Rich Alderson <news@alderson.users.panix.com> wrote:

(snip, I wrote)
>> I also remember doing direct access files in Fortran, I believe
>> with records that were multiples of the disk block size.
 
> Yup.  No "bytes" need apply.[1]

Maybe some here will remember PCAVES.  The program using Fortran
direct access files was a translation of the BASIC program PCAVES.
It allows one to move between caves, write on the walls, read what
others have written and even dig new caves.  This was just after
we got FILDAE to allow world access to a file by one specific program.

It also did record locking, such that more than one person could
use it at the same time, as long as they didn't run into each other.
The record locking was done using small MACRO-10 programs written
by someone else.  Very simple, and, as far as I could tell, they
didn't even need to know which file I was reading.

As with the BASIC program (written for a HP TSB-2000 system),
the direct access files were based on fixed length records, 
allowing for a fixed amount of writing.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 13:01                                   ` Bob Koehler
@ 2011-05-27  0:54                                     ` glen herrmannsfeldt
  0 siblings, 0 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-27  0:54 UTC (permalink / raw)


In vmsnet.pdp-11 Bob Koehler <koehler@eisner.nospam.encompasserve.org> wrote:

(snip)
>   I've done a lot of direct access in Fortran, and never had to worry
>   about the disk block size.  I was suprized to discover that the
>   IBM Fortran H Extended Enhanced I/O subsystem would do direct access
>   on a veriable-length record file, but not a fixed length record file.
>   Perhaps IBM figured they only had to do the harder part.

I am surprised, too.  The Fortran G and H direct access requires
a fixed record length.  Just to be sure, while the record length is
fixed, you are allowed to choose any length you want between 1 and
the disk track size.  It just uses BDAM, which goes directly to the
disk hardware, which has the ability to format the track to any
record length you want.  On first open, the system formats the whole
file to the specified length.  I am pretty sure that is still supported,
though there is a recommendation to use VSAM instead.

The disk hardware writes blocks similar to the way data is written
on 9-track tape.  Well, not exactly.  The format is called CKD,
Count-Key-Data.  Each block has a count field (with key length
and data length), an optional key (for keyed access filed), and
data field.  In between, there is an inter-block gap, just like
on tape.  BDAM uses unblocked files, so one physical block per record.

VSAM formats the CKD disk in fixed size blocks, such as 4K, and
then uses the resulting data similar to other fixed block disk
systems.  

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 17:04                         ` Johnny Billquist
@ 2011-05-27  1:30                           ` Fritz Wuehler
  2011-05-27  2:17                             ` Scott Dorsey
                                               ` (2 more replies)
  0 siblings, 3 replies; 146+ messages in thread
From: Fritz Wuehler @ 2011-05-27  1:30 UTC (permalink / raw)


Johnny Billquist <bqt@softjar.se> wrote:

> On 2011-05-26 01.03, Fritz Wuehler wrote:
> > billg999@cs.uofs.edu (Bill Gunshannon) wrote:
> >
> >> I guess the problem with that would be which Unix?  :-)
> >> And even among similar OSes that doesn't always work.  BSD has
> >> "Linux Compatability" but I have seen more programs that didn't
> >> work under it than did.
> >
> > That doesn't make sense. As far as I know it works 100%.
> 
> Oh, believe me, it does not. I can easily give you a list of Linux 
> programs you can not run on a BSD system, with Linux compatibility.
> Not all system calls are emulated perfectly, and sometimes programs have 
> additional tricks going on out in the system, which is even harder to 
> emulate.

I only have experience with Linux emulation under NetBSD but in two years of
using it with several programs I never saw anything break. I try to avoid it
though and now I am much more careful not to build anything with Linux
dependencies on BSD systems. I really don't like the bloat and RH libs. I
guess bottom line is for maybe a hardcore user you can find stuff that
doesn't work. I don't think a normal desktop user who uses Linux emulation
will run into problems. Maybe I am wrong but at least the solution is easy.

> It's two different things. And one does not imply the other.
> Implementing VMS as a library/program on top of Linux is a whole 
> different ballpark than writing a CPU emulator on top of Linux.

I didn't read in the thread anybody was crazy enough to implement VMS on top
of Linux. I wouldn't wish that on my worst enemy. Ok, maybe I would. The
emulators I know aren't Linux-specific anyway.

If you are going to really rewrite VMS or any OS I don't know of any reason
except trying to be el-cheapo like an accountant to do it on top of an
existing (broken, since we agree all the modern choices suck) OS. Write it
to run on the metal. There are enough guys around who can still write x86
assembly who should be able to make it happen. I hate x86 but there aren't
much choices. I dread having to code on a PC since nothing I like runs on
one. I am very happy with my work machines (z/OS). Maybe ARM or some other
RISC chip will come back now that Intel is moving away from desktop and we
can actually have a good processor to code on again.

> The requirements for the emulator of the CPU is that you need to perform 
> the rather well defined, and limited set of operations that the CPU 
> perform. 

That's not true. I can think of at least two major architectures where
although the ISA is defined, many things are implementation specific. Sparc
and System Z fall into those categories. If you think it's a simple matter
of just hard work to write a Z emulator like they did (Hercules390.org) then
look at the IBM manual called z Architecture Principles of Operation. I
think it's about 1600 pages. That's just the description of the ISA and CPU
environment. Nothing about the OS is included. Even pure x86 emulation today
would be extremely difficult, the instruction set is huge.

> The OS on the other hand have a very rich set of functions and features.
> Mostly well documented, admittedly, but some of those functions can be
> much harder to implement on a OS that have a different paradigm.

Right, so do it on the metal. The whole point is making the OS you want. Why
cripple it from the start by tying it to a system you don't want?

Interesting what Palm did in their last versions. All Palm was M68K until
the last models, they started to use ARM cores. They built a hardware
emulation layer of M68K on the ARM so 68K or ARM code would run.

If you want to approach the VMS project in a similar way you could begin by
writing a VMS emulation layer on x86 and then writing your OS on top of the
VMS architecture as if there were no x86 issues. Having the emulation layer
separated from the OS will make everything nice and clean. It will also give
you the capability to run the same OS on FPGA if you code your emulation
layer, you won't have dependency on the metal. You will only have an
architectural dependency, and it will be safe and sound back here in 1955
all over again. Main point I think is to break up the project into creating
emulated VAX machine and new VMS OS. That is what I would do. If you can
live with the old OS and you can obtain copies then all you have to do is
write the hardware emulation and you don't even need to write the OS.

I don't know VMS but in general this approach sounds good and doable with
any OS rewrite IF the OS you want to rewrite was targeted for a different
architecture. Some OS are more or less hardware centric and what I suggest
is for those that are very hardware centric because z/OS for example is very
much like that. As we know, Linux and UNIX are much less so. It all depends
on how the OS and hardware work together and were designed.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27  1:30                           ` Fritz Wuehler
@ 2011-05-27  2:17                             ` Scott Dorsey
  2011-05-27  3:26                             ` Johnny Billquist
  2011-05-30 21:09                             ` John Wallace
  2 siblings, 0 replies; 146+ messages in thread
From: Scott Dorsey @ 2011-05-27  2:17 UTC (permalink / raw)


Fritz Wuehler  <fritz@spamexpire-201105.rodent.frell.theremailer.net> wrote:
>
>I only have experience with Linux emulation under NetBSD but in two years of
>using it with several programs I never saw anything break. I try to avoid it
>though and now I am much more careful not to build anything with Linux
>dependencies on BSD systems. I really don't like the bloat and RH libs. I
>guess bottom line is for maybe a hardcore user you can find stuff that
>doesn't work. I don't think a normal desktop user who uses Linux emulation
>will run into problems. Maybe I am wrong but at least the solution is easy.

The solution is to write good, clean, portable, non-bloated code.

I used to think this was easy but I am frequently amazed at how difficult
people seem to find it.

As more and more folks move to a smaller and smaller set of operating
systems, convincing people that portability and cleanliness is important
becomes more difficult.
--scott


-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27  0:02                                     ` glen herrmannsfeldt
@ 2011-05-27  3:17                                       ` Johnny Billquist
  2011-05-27 18:51                                         ` Rich Alderson
  0 siblings, 1 reply; 146+ messages in thread
From: Johnny Billquist @ 2011-05-27  3:17 UTC (permalink / raw)


On 2011-05-26 17.02, glen herrmannsfeldt wrote:
> In vmsnet.pdp-11 Rich Alderson<news@alderson.users.panix.com>  wrote:
>
> (snip, I wrote)
>>> I also remember doing direct access files in Fortran, I believe
>>> with records that were multiples of the disk block size.
>
>> Yup.  No "bytes" need apply.[1]
>
> Maybe some here will remember PCAVES.  The program using Fortran
> direct access files was a translation of the BASIC program PCAVES.
> It allows one to move between caves, write on the walls, read what
> others have written and even dig new caves.  This was just after
> we got FILDAE to allow world access to a file by one specific program.
>
> It also did record locking, such that more than one person could
> use it at the same time, as long as they didn't run into each other.
> The record locking was done using small MACRO-10 programs written
> by someone else.  Very simple, and, as far as I could tell, they
> didn't even need to know which file I was reading.
>
> As with the BASIC program (written for a HP TSB-2000 system),
> the direct access files were based on fixed length records,
> allowing for a fixed amount of writing.

You are all missing the point with regards to disks here. It don't 
matter what the OS presents you with. That is an abstraction layer. The 
actual, physical disk use disk blocks. Not a stream of bytes. (Well, 
there were actually some disks in the old days who almost did, but that 
is another story, and besides, it's not totally a stream of bytes even 
for those).

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27  1:30                           ` Fritz Wuehler
  2011-05-27  2:17                             ` Scott Dorsey
@ 2011-05-27  3:26                             ` Johnny Billquist
  2011-05-30 21:09                             ` John Wallace
  2 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-27  3:26 UTC (permalink / raw)


On 2011-05-26 18.30, Fritz Wuehler wrote:
> Johnny Billquist<bqt@softjar.se>  wrote:
>
>> On 2011-05-26 01.03, Fritz Wuehler wrote:
>>> billg999@cs.uofs.edu (Bill Gunshannon) wrote:
>>>
>>>> I guess the problem with that would be which Unix?  :-)
>>>> And even among similar OSes that doesn't always work.  BSD has
>>>> "Linux Compatability" but I have seen more programs that didn't
>>>> work under it than did.
>>>
>>> That doesn't make sense. As far as I know it works 100%.
>>
>> Oh, believe me, it does not. I can easily give you a list of Linux
>> programs you can not run on a BSD system, with Linux compatibility.
>> Not all system calls are emulated perfectly, and sometimes programs have
>> additional tricks going on out in the system, which is even harder to
>> emulate.
>
> I only have experience with Linux emulation under NetBSD but in two years of
> using it with several programs I never saw anything break. I try to avoid it
> though and now I am much more careful not to build anything with Linux
> dependencies on BSD systems. I really don't like the bloat and RH libs. I
> guess bottom line is for maybe a hardcore user you can find stuff that
> doesn't work. I don't think a normal desktop user who uses Linux emulation
> will run into problems. Maybe I am wrong but at least the solution is easy.

If you just use the programs that are in the NetBSD package system, then 
you will never discover the software that don't work, since it will not 
be in the package system. :-)
But read the NetBSD-current mailing list, and you'll find discussions 
that regularly pop up about people having problems with Linux programs 
in NetBSD (I dabble some in NetBSD kernel development from time to time, 
so I see those mails.)

>> It's two different things. And one does not imply the other.
>> Implementing VMS as a library/program on top of Linux is a whole
>> different ballpark than writing a CPU emulator on top of Linux.
>
> I didn't read in the thread anybody was crazy enough to implement VMS on top
> of Linux. I wouldn't wish that on my worst enemy. Ok, maybe I would. The
> emulators I know aren't Linux-specific anyway.

Well, the quote above was:

"4.  Even if I am wrong about 3. above it would probably end out
        being something as stupid as FreeVMS which in the long run will
        be nothing but a DCLish shell running on top of Linux which is
        not and never could be any kind of VMS."

So, the claim was/is that FreeVMS is basically an attempt at 
implementing something VMS-like (or atleast DCL-like) on top of Linux.

Anyway, I think we agree that you don't want to do this, and it's better 
to implement for the bare metal.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 20:27                               ` Rich Alderson
@ 2011-05-27  3:27                                 ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-27  3:27 UTC (permalink / raw)


On 2011-05-26 13.27, Rich Alderson wrote:
> Rob Brown<mylastname@gmcl.com>  writes:
>
>> On Wed, 25 May 2011 at 21:20 -0400, Rich Alderson wrote:
>
>>> Neither RSX-11S nor RSX-11M require an MMU to run, although -11M can
>>> make use of an MMU if present and SYSGEN'd to do so.
>
>> According to the SPD for RSX-11S V2.1 (1978! the latest I found on
>> BitSavers), RSX-11S can use the MMU as well.
>
> OK, I'm willing to believe that.  What I know about -11S is from the joint
> description with -11M in an old handbook.  Since I wasn't interested in
> -11S, I never researched it further than that.  -11M is the parent of -20F,
> used in the front end processor (an 11/40, unmapped) of the KL-10 based
> DEC-20/DEC-10.  Development work for RSX-20F is done in -11M.

Yeah, probably both -11S and -11M can very well use an MMU if one exist, 
and you want to. But both can also work just fine (for some definition 
of fine) without an MMU.

	Johnny



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 20:38                             ` Jerome H. Fine
@ 2011-05-27  4:44                               ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-27  4:44 UTC (permalink / raw)


On 2011-05-26 13.38, Jerome H. Fine wrote:
>  >Rich Alderson wrote:
>> >"Jerome H. Fine"<everyone@nospam.com>  writes:
>>> ... I assume that RSX-11S (without an MMU) is less than
>>> 64 KB, but when the MMU is available and execution is in
>>> USER space, 64 KB are available.
>> RSX-11S is a run-time only version of RSX-11M without any user programming
>> features.  It is intended to provide a substrate for a single application
>> to run on top of.
>>
> What I was attempting to understand was how much
> memory is available for a user application program
> when it executes in the same memory space (no MMU)
> as the operating system, such as with RT11SJ.

Since RSTS/E can't, the question is not valid for RSTS/E. RSX-11M+ can't 
either.
For 11M, the usable space for an application program when not having an 
MMU is about 20KB, if I remember right.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 18:50                           ` billy
@ 2011-05-27 11:58                             ` paramucho
  2011-05-27 17:23                               ` billy
  0 siblings, 1 reply; 146+ messages in thread
From: paramucho @ 2011-05-27 11:58 UTC (permalink / raw)


On Thu, 26 May 2011 18:50:54 +0000 (UTC), billy@MIX.COM wrote:

>In vmsnet.pdp-11 paramucho <paramucho@hotmail.com> wrote, quoting
>Fritz Wuehler <fritz@spamexpire-201105.rodent.frell.theremailer.net>:
>
>> It's often the libraries that are the killers.
>
>Yes, that's for sure.
>
>> > But you can do anything if you have enough time, money, and
>> > good people. Oh yeah, and demand. Or somebody just crazy enough
>> > to do it.
>>
>> Well, there's no demand, so I guess it must be the latter that
>> explains why I spend on average two months a year rewriting and
>> extending my versions of DEC O/S's. I find the exercise relaxing--it's
>> like fixing up and polishing an old car to make it roadworthy again.
>
>I started work on Kermit because I needed it, but in the end it
>became making an old car roadworthy again.  Polishing in my case
>included trying to provide a good example of how I think PDP-11
>assembly language should be used, as at the time it was still
>being taught to college students starting to study programming.

One day, about a decade ago, I looked at my box of a thousand floppies
and had the thought that the original work on all the disks would have
cost in the millions. I figured that if I had an old car that was
worth that much then I probably would keep it polished.

BTW: I notice that after 30 years Columbia at putting THE KERMIT
PROJECT, the world's first real open source project, into cold storage
as of July 1. I was thinking today of a mad Swiss programmer, "Hanse",
who did some work on RT-11 Kermit back in the mid 1980s--in a one-week
visit to my company in a small German village he more of the locals
than I did in a decade He worked all day and then hit the local pubs.


Ian


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27 11:58                             ` paramucho
@ 2011-05-27 17:23                               ` billy
  0 siblings, 0 replies; 146+ messages in thread
From: billy @ 2011-05-27 17:23 UTC (permalink / raw)


In vmsnet.pdp-11 paramucho <paramucho@hotmail.com> wrote:

> BTW: I notice that after 30 years Columbia at putting THE KERMIT
> PROJECT, the world's first real open source project, into cold storage
> as of July 1.

Wow.  I just looked...  Thanks for letting me know.

> I was thinking today of a mad Swiss programmer, "Hanse",  who did some
> work on RT-11 Kermit back in the mid 1980s--in a one-week visit to my
> company in a small German village he more of the locals than I did in
> a decade He worked all day and then hit the local pubs.

Some of his work was very helpful to me, and is in the Kermit I maintain.
In particular the modem handler (KM).  I'd call him a Babe Ruth (famous
American baseball player) of software - drink 12+ beers the night before
a world series game, then play incredibly well...

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 20:15                                   ` Rich Alderson
  2011-05-26 23:56                                     ` glen herrmannsfeldt
  2011-05-27  0:02                                     ` glen herrmannsfeldt
@ 2011-05-27 18:35                                     ` Rich Alderson
  2 siblings, 0 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-27 18:35 UTC (permalink / raw)


Rich Alderson <news@alderson.users.panix.com> writes:

> Yes.  However, there are no system calls for *disk* data capable of
> treating a file as anything other than blocks of 128 words.  The
> content is then either 7 ASCII characters packed per word, or 36 bits.

That should read "7-bit ASCII characters packed 5 per word."  Typing got
behind thinking.

> Yup.  No "bytes" need apply.[1]

Forgot the footnote.

[1] On the PDP-10, "byte" is defined as any subportion of the 36-bit word
    (which is the addressable unit of memory), rather than "8-bit addressable
    piece of memory".

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-26 23:56                                     ` glen herrmannsfeldt
@ 2011-05-27 18:37                                       ` Rich Alderson
  0 siblings, 0 replies; 146+ messages in thread
From: Rich Alderson @ 2011-05-27 18:37 UTC (permalink / raw)


glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:

> About two years later the PDP-10 was replaced with a VAX, and I
> had to learn how to write AL tapes on the 370.  The non-obvious
> problem was that OS/VS2 knew how to read/write/mount AL tapes,
> but ASP (later JES3) did not.  After much discussion, I learned
> about deferred mounting such that ASP didn't have to see the tape.

HASP (later JES2) *did*.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27  3:17                                       ` Johnny Billquist
@ 2011-05-27 18:51                                         ` Rich Alderson
  2011-05-27 19:48                                           ` Johnny Billquist
  0 siblings, 1 reply; 146+ messages in thread
From: Rich Alderson @ 2011-05-27 18:51 UTC (permalink / raw)


Johnny Billquist <bqt@softjar.se> writes:

> You are all missing the point with regards to disks here. It don't 
> matter what the OS presents you with. That is an abstraction layer. The 
> actual, physical disk use disk blocks. Not a stream of bytes. (Well, 
> there were actually some disks in the old days who almost did, but that 
> is another story, and besides, it's not totally a stream of bytes even 
> for those).

No, as a matter of fact, we are *not* missing the point:  Disk access is
in blocks.  On the PDP-10 under Tops-10, TOPS-20 and TENEX (and probably
ITS, those blocks are 128 words long (plus some overhead for parity,
checksums and the like that are invisible to the programmer), while on
IBM System/360 family systems, the size of the block is under programmer
control but is still the addressable unit of storage on the disk.

The abstraction layer from the OS may or may not hide block size from you.
Tops-10, for example, does not.  TENEX/TOPS-20 presents disk data to the
programmer in 512-word (4 block) pages (or in bytes or byte-strings or
integers or floating-point numbers, depending on system call, but the OS
buffers are in pages).

Prior to the introduction of virtual memory to IBM's computers, the OS
never hid the block size from you.  With the advent of VSAM (Virtual
Storage Access Method), disks could be blocked at something other than
the programmer's whim, though the older access methods could still be
used as well.

But in none of these cases does the OS force the view of a disk as a
stream of bytes.

-- 
Rich Alderson                                   news@alderson.users.panix.com
    the russet leaves of an autumn oak/inspire once again the failed poet/
    to take up his pen/and essay to place his meagre words upon the page...


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27 18:51                                         ` Rich Alderson
@ 2011-05-27 19:48                                           ` Johnny Billquist
  0 siblings, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-27 19:48 UTC (permalink / raw)


On 2011-05-27 11.51, Rich Alderson wrote:
> Johnny Billquist<bqt@softjar.se>  writes:
>
>> You are all missing the point with regards to disks here. It don't
>> matter what the OS presents you with. That is an abstraction layer. The
>> actual, physical disk use disk blocks. Not a stream of bytes. (Well,
>> there were actually some disks in the old days who almost did, but that
>> is another story, and besides, it's not totally a stream of bytes even
>> for those).
>
> No, as a matter of fact, we are *not* missing the point:  Disk access is
> in blocks.

Well, the comment wasn't directed at you, Rich. Sorry if it came across 
that way.

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-25 23:00                               ` Johnny Billquist
  2011-05-26 15:50                                 ` Fritz Wuehler
@ 2011-05-28 18:01                                 ` Bill Gunshannon
  1 sibling, 0 replies; 146+ messages in thread
From: Bill Gunshannon @ 2011-05-28 18:01 UTC (permalink / raw)


Johnny,
  This is one of the most interesting dicussions I have had on USENET
in a long time, however....

I am goingt o have bow out for a bit and hoe we can pick things up later.
This weekend is our University's Commencement and this year it is not only
work for me and my wife but we are also both graduates ourselves.  And,
immediately after that we are going away on a much needed vacation and
I have no idea what if any network access I will have.

So, I thought I should excuse myself now before I just disappeared and
people thought the black helicopters had come and snatched me,  :-)

Take care, and I hope we can have even more discussions when I make it
home (and sadly, back to work.)

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
billg999@cs.scranton.edu |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-27  1:30                           ` Fritz Wuehler
  2011-05-27  2:17                             ` Scott Dorsey
  2011-05-27  3:26                             ` Johnny Billquist
@ 2011-05-30 21:09                             ` John Wallace
  2011-05-31  1:15                               ` Johnny Billquist
  2011-05-31 18:02                               ` jjh
  2 siblings, 2 replies; 146+ messages in thread
From: John Wallace @ 2011-05-30 21:09 UTC (permalink / raw)


On May 27, 2:30 am, Fritz Wuehler
<fr...@spamexpire-201105.rodent.frell.theremailer.net> wrote:
> Johnny Billquist <b...@softjar.se> wrote:
> > On 2011-05-26 01.03, Fritz Wuehler wrote:
> > > billg...@cs.uofs.edu (Bill Gunshannon) wrote:
>
> > >> I guess the problem with that would be which Unix?  :-)
> > >> And even among similar OSes that doesn't always work.  BSD has
> > >> "Linux Compatability" but I have seen more programs that didn't
> > >> work under it than did.
>
> > > That doesn't make sense. As far as I know it works 100%.
>
> > Oh, believe me, it does not. I can easily give you a list of Linux
> > programs you can not run on a BSD system, with Linux compatibility.
> > Not all system calls are emulated perfectly, and sometimes programs have
> > additional tricks going on out in the system, which is even harder to
> > emulate.
>
> I only have experience with Linux emulation under NetBSD but in two years of
> using it with several programs I never saw anything break. I try to avoid it
> though and now I am much more careful not to build anything with Linux
> dependencies on BSD systems. I really don't like the bloat and RH libs. I
> guess bottom line is for maybe a hardcore user you can find stuff that
> doesn't work. I don't think a normal desktop user who uses Linux emulation
> will run into problems. Maybe I am wrong but at least the solution is easy.
>
> > It's two different things. And one does not imply the other.
> > Implementing VMS as a library/program on top of Linux is a whole
> > different ballpark than writing a CPU emulator on top of Linux.
>
> I didn't read in the thread anybody was crazy enough to implement VMS on top
> of Linux. I wouldn't wish that on my worst enemy. Ok, maybe I would. The
> emulators I know aren't Linux-specific anyway.
>
> If you are going to really rewrite VMS or any OS I don't know of any reason
> except trying to be el-cheapo like an accountant to do it on top of an
> existing (broken, since we agree all the modern choices suck) OS. Write it
> to run on the metal. There are enough guys around who can still write x86
> assembly who should be able to make it happen. I hate x86 but there aren't
> much choices. I dread having to code on a PC since nothing I like runs on
> one. I am very happy with my work machines (z/OS). Maybe ARM or some other
> RISC chip will come back now that Intel is moving away from desktop and we
> can actually have a good processor to code on again.
>
> > The requirements for the emulator of the CPU is that you need to perform
> > the rather well defined, and limited set of operations that the CPU
> > perform.
>
> That's not true. I can think of at least two major architectures where
> although the ISA is defined, many things are implementation specific. Sparc
> and System Z fall into those categories. If you think it's a simple matter
> of just hard work to write a Z emulator like they did (Hercules390.org) then
> look at the IBM manual called z Architecture Principles of Operation. I
> think it's about 1600 pages. That's just the description of the ISA and CPU
> environment. Nothing about the OS is included. Even pure x86 emulation today
> would be extremely difficult, the instruction set is huge.
>
> > The OS on the other hand have a very rich set of functions and features.
> > Mostly well documented, admittedly, but some of those functions can be
> > much harder to implement on a OS that have a different paradigm.
>
> Right, so do it on the metal. The whole point is making the OS you want. Why
> cripple it from the start by tying it to a system you don't want?
>
> Interesting what Palm did in their last versions. All Palm was M68K until
> the last models, they started to use ARM cores. They built a hardware
> emulation layer of M68K on the ARM so 68K or ARM code would run.
>
> If you want to approach the VMS project in a similar way you could begin by
> writing a VMS emulation layer on x86 and then writing your OS on top of the
> VMS architecture as if there were no x86 issues. Having the emulation layer
> separated from the OS will make everything nice and clean. It will also give
> you the capability to run the same OS on FPGA if you code your emulation
> layer, you won't have dependency on the metal. You will only have an
> architectural dependency, and it will be safe and sound back here in 1955
> all over again. Main point I think is to break up the project into creating
> emulated VAX machine and new VMS OS. That is what I would do. If you can
> live with the old OS and you can obtain copies then all you have to do is
> write the hardware emulation and you don't even need to write the OS.
>
> I don't know VMS but in general this approach sounds good and doable with
> any OS rewrite IF the OS you want to rewrite was targeted for a different
> architecture. Some OS are more or less hardware centric and what I suggest
> is for those that are very hardware centric because z/OS for example is very
> much like that. As we know, Linux and UNIX are much less so. It all depends
> on how the OS and hardware work together and were designed.

"Even pure x86 emulation today would be extremely difficult, the
instruction set is huge. "

If I've understood you right, you've not seen the PC emulator written
in JavaScript that's floating around the Internerd of late? It
emulates not just the x86 CPU core but also enough PC IO to (in the
distributed demo) get a small Linux booted; there's no obvious
technical reason why it wouldn't do any other x86-based OS.

It was written by a rather smart chap called Fabrice Bellard (he also
did ffmpeg and QEMU) and I wouldn't like to do it myself but since
it's already available it's no longer extremely difficult, and the
source code isn't *that* huge.


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-30 21:09                             ` John Wallace
@ 2011-05-31  1:15                               ` Johnny Billquist
  2011-05-31 18:02                               ` jjh
  1 sibling, 0 replies; 146+ messages in thread
From: Johnny Billquist @ 2011-05-31  1:15 UTC (permalink / raw)


On 2011-05-30 14.09, John Wallace wrote:
> On May 27, 2:30 am, Fritz Wuehler
> <fr...@spamexpire-201105.rodent.frell.theremailer.net>  wrote:
> "Even pure x86 emulation today would be extremely difficult, the
> instruction set is huge. "
>
> If I've understood you right, you've not seen the PC emulator written
> in JavaScript that's floating around the Internerd of late? It
> emulates not just the x86 CPU core but also enough PC IO to (in the
> distributed demo) get a small Linux booted; there's no obvious
> technical reason why it wouldn't do any other x86-based OS.
>
> It was written by a rather smart chap called Fabrice Bellard (he also
> did ffmpeg and QEMU) and I wouldn't like to do it myself but since
> it's already available it's no longer extremely difficult, and the
> source code isn't *that* huge.

CPU emulation really isn't that difficult. I don't know why he claimed 
that. Emulating all of I/O subsystems, graphics, and so on, can be a 
little more work, but still not really any magic.

And yes, I've seen the x86 emulator in JavaScript. (I haven't tried it, 
though.)

	Johnny


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-30 21:09                             ` John Wallace
  2011-05-31  1:15                               ` Johnny Billquist
@ 2011-05-31 18:02                               ` jjh
  2011-05-31 20:54                                 ` Bob Koehler
  1 sibling, 1 reply; 146+ messages in thread
From: jjh @ 2011-05-31 18:02 UTC (permalink / raw)


On May 30, 5:09 pm, John Wallace <johnwalla...@yahoo.co.uk> wrote:
> On May 27, 2:30 am, Fritz Wuehler
>
>
>
>
>
> <fr...@spamexpire-201105.rodent.frell.theremailer.net> wrote:
> > Johnny Billquist <b...@softjar.se> wrote:
> > > On 2011-05-26 01.03, Fritz Wuehler wrote:
> > > > billg...@cs.uofs.edu (Bill Gunshannon) wrote:
>
> > > >> I guess the problem with that would be which Unix?  :-)
> > > >> And even among similar OSes that doesn't always work.  BSD has
> > > >> "Linux Compatability" but I have seen more programs that didn't
> > > >> work under it than did.
>
> > > > That doesn't make sense. As far as I know it works 100%.
>
> > > Oh, believe me, it does not. I can easily give you a list of Linux
> > > programs you can not run on a BSD system, with Linux compatibility.
> > > Not all system calls are emulated perfectly, and sometimes programs have
> > > additional tricks going on out in the system, which is even harder to
> > > emulate.
>
> > I only have experience with Linux emulation under NetBSD but in two years of
> > using it with several programs I never saw anything break. I try to avoid it
> > though and now I am much more careful not to build anything with Linux
> > dependencies on BSD systems. I really don't like the bloat and RH libs. I
> > guess bottom line is for maybe a hardcore user you can find stuff that
> > doesn't work. I don't think a normal desktop user who uses Linux emulation
> > will run into problems. Maybe I am wrong but at least the solution is easy.
>
> > > It's two different things. And one does not imply the other.
> > > Implementing VMS as a library/program on top of Linux is a whole
> > > different ballpark than writing a CPU emulator on top of Linux.
>
> > I didn't read in the thread anybody was crazy enough to implement VMS on top
> > of Linux. I wouldn't wish that on my worst enemy. Ok, maybe I would. The
> > emulators I know aren't Linux-specific anyway.
>
> > If you are going to really rewrite VMS or any OS I don't know of any reason
> > except trying to be el-cheapo like an accountant to do it on top of an
> > existing (broken, since we agree all the modern choices suck) OS. Write it
> > to run on the metal. There are enough guys around who can still write x86
> > assembly who should be able to make it happen. I hate x86 but there aren't
> > much choices. I dread having to code on a PC since nothing I like runs on
> > one. I am very happy with my work machines (z/OS). Maybe ARM or some other
> > RISC chip will come back now that Intel is moving away from desktop and we
> > can actually have a good processor to code on again.
>
> > > The requirements for the emulator of the CPU is that you need to perform
> > > the rather well defined, and limited set of operations that the CPU
> > > perform.
>
> > That's not true. I can think of at least two major architectures where
> > although the ISA is defined, many things are implementation specific. Sparc
> > and System Z fall into those categories. If you think it's a simple matter
> > of just hard work to write a Z emulator like they did (Hercules390.org) then
> > look at the IBM manual called z Architecture Principles of Operation. I
> > think it's about 1600 pages. That's just the description of the ISA and CPU
> > environment. Nothing about the OS is included. Even pure x86 emulation today
> > would be extremely difficult, the instruction set is huge.
>
> > > The OS on the other hand have a very rich set of functions and features.
> > > Mostly well documented, admittedly, but some of those functions can be
> > > much harder to implement on a OS that have a different paradigm.
>
> > Right, so do it on the metal. The whole point is making the OS you want. Why
> > cripple it from the start by tying it to a system you don't want?
>
> > Interesting what Palm did in their last versions. All Palm was M68K until
> > the last models, they started to use ARM cores. They built a hardware
> > emulation layer of M68K on the ARM so 68K or ARM code would run.
>
> > If you want to approach the VMS project in a similar way you could begin by
> > writing a VMS emulation layer on x86 and then writing your OS on top of the
> > VMS architecture as if there were no x86 issues. Having the emulation layer
> > separated from the OS will make everything nice and clean. It will also give
> > you the capability to run the same OS on FPGA if you code your emulation
> > layer, you won't have dependency on the metal. You will only have an
> > architectural dependency, and it will be safe and sound back here in 1955
> > all over again. Main point I think is to break up the project into creating
> > emulated VAX machine and new VMS OS. That is what I would do. If you can
> > live with the old OS and you can obtain copies then all you have to do is
> > write the hardware emulation and you don't even need to write the OS.
>
> > I don't know VMS but in general this approach sounds good and doable with
> > any OS rewrite IF the OS you want to rewrite was targeted for a different
> > architecture. Some OS are more or less hardware centric and what I suggest
> > is for those that are very hardware centric because z/OS for example is very
> > much like that. As we know, Linux and UNIX are much less so. It all depends
> > on how the OS and hardware work together and were designed.
>
> "Even pure x86 emulation today would be extremely difficult, the
> instruction set is huge. "
>
> If I've understood you right, you've not seen the PC emulator written
> in JavaScript that's floating around the Internerd of late? It
> emulates not just the x86 CPU core but also enough PC IO to (in the
> distributed demo) get a small Linux booted; there's no obvious
> technical reason why it wouldn't do any other x86-based OS.
>
> It was written by a rather smart chap called Fabrice Bellard (he also
> did ffmpeg and QEMU) and I wouldn't like to do it myself but since
> it's already available it's no longer extremely difficult, and the
> source code isn't *that* huge.- Hide quoted text -
>
> - Show quoted text -

while I agree that software emulation has some benefits, it seems a
more reasonable approach is to cast the hw archtecture in an FPGA.  I
was recently doing this exercise and came across a few implementations
of the PDP11 archtecture, and the VAX, that fit on a Xilinx Virtex
FPGA.  The one design included MMU and unibus emulation, as well as
one or two 'standard' DEC peripherals.

There are some full blown x86 ip cores around as well.  To make the
FPGA implementations more 'universal,' the hardware templates for the
buses and their associated state machines would have to be done for
whatever machine the FPGA board would plug into.  Alternatively, if
the peripherials would be implemented on the same FPGA, only the
interfaces of interest would need to be brought out of the FPGA board,
i.e. serial lines, pata or sata disk interface, etc.

If native bus compatability is not mandantory, then a lot of the
developer boards by various FPGA manufactures could be used.

My point is, a lot of the older processor archtectures have  close to
or 100% compliant IP cores.  There is even one for the Apollo 11 Lunar
Landar flight computer that runs release B of the lander code.
So why struggle with a sw emulation? (aside from the fact that it can
easiliy run on a PC).

-John


^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-31 18:02                               ` jjh
@ 2011-05-31 20:54                                 ` Bob Koehler
  2011-05-31 21:37                                   ` glen herrmannsfeldt
  0 siblings, 1 reply; 146+ messages in thread
From: Bob Koehler @ 2011-05-31 20:54 UTC (permalink / raw)


In article <aaa2ed58-b094-4584-9b7f-311743605e48@b1g2000yql.googlegroups.com>, jjh <jjhudak@gmail.com> writes:
> 
> My point is, a lot of the older processor archtectures have  close to
> or 100% compliant IP cores.  There is even one for the Apollo 11 Lunar
> Landar flight computer that runs release B of the lander code.
> So why struggle with a sw emulation? (aside from the fact that it can
> easiliy run on a PC).

   Exactly.  There are a hell of a lot of software folks and end users
   who can download another piece of software and get it to run, but
   haven't got the foggiest of how to burn an FPGA, don't have an FPGA
   burner, and don't want one.



^ permalink raw reply	[flat|nested] 146+ messages in thread

* Re: Y3K for PDP-11 Operating Systems
  2011-05-31 20:54                                 ` Bob Koehler
@ 2011-05-31 21:37                                   ` glen herrmannsfeldt
  0 siblings, 0 replies; 146+ messages in thread
From: glen herrmannsfeldt @ 2011-05-31 21:37 UTC (permalink / raw)


In vmsnet.pdp-11 Bob Koehler <koehler@eisner.nospam.encompasserve.org> wrote:

(snip)
>   Exactly.  There are a hell of a lot of software folks and end users
>   who can download another piece of software and get it to run, but
>   haven't got the foggiest of how to burn an FPGA, don't have an FPGA
>   burner, and don't want one.

Conveniently, the usual FPGAs don't burn at all.  They use SRAM cells
to store configuration bits, which then go away on power-down.

-- glen


^ permalink raw reply	[flat|nested] 146+ messages in thread

end of thread, other threads:[~2011-05-31 21:37 UTC | newest]

Thread overview: 146+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
2011-04-04 13:40 ` Dennis Grevenstein
2011-04-04 18:58   ` Jerome H. Fine
2011-04-04 20:55   ` Johnny Billquist
2011-04-30 22:27 ` billy
2011-05-01 14:01   ` Jerome H. Fine
2011-05-01 17:27     ` Johnny Billquist
2011-05-02  0:53       ` Jerome H. Fine
2011-05-01 21:16 ` glen herrmannsfeldt
2011-05-02  0:54   ` Jerome H. Fine
2011-05-02  4:07     ` Johnny Billquist
2011-05-02 13:37       ` Jerome H. Fine
2011-05-02 15:39         ` Johnny Billquist
2011-05-02  5:15     ` glen herrmannsfeldt
2011-05-03  1:20 ` jjh
2011-05-03 13:18   ` Bob Koehler
2011-05-03 16:51     ` Jerome H. Fine
2011-05-03 17:50       ` VAXTREK Bob Koehler
     [not found]       ` <j0Y9tTme9SEK@eisner.encompasserve.org>
2011-05-03 18:39         ` Y3K for PDP-11 Operating Systems Henry Crun
2011-05-03 19:56           ` Jerome H. Fine
2011-05-03 22:52           ` onedbguru
2011-05-04  0:07             ` Bill Gunshannon
2011-05-04  5:16               ` Richard B. Gilbert
2011-05-04 13:01                 ` Bill Gunshannon
2011-05-04 14:19                   ` Richard B. Gilbert
2011-05-04 14:58                     ` Scott Dorsey
2011-05-04 16:33                     ` Bill Gunshannon
2011-05-05  1:51                       ` Richard B. Gilbert
2011-05-06 18:08                         ` G Cornelius
2011-05-06 18:47                           ` Richard B. Gilbert
2011-05-06 22:13                           ` Johnny Billquist
2011-05-08  1:00                             ` Rich Alderson
2011-05-08  1:51                               ` Johnny Billquist
2011-05-08 11:19                               ` Richard B. Gilbert
2011-05-09 21:32                                 ` Rich Alderson
2011-05-09 15:40                             ` Rob Brown
2011-05-09 15:43                               ` Johnny Billquist
2011-05-09 21:47                               ` vandys
2011-05-09 22:05                                 ` Johnny Billquist
2011-05-09 23:05                                   ` vandys
2011-05-09 23:20                                     ` Johnny Billquist
2011-05-10  0:12                                       ` vandys
2011-05-10  1:36                                         ` Johnny Billquist
2011-05-10  2:01                                         ` glen herrmannsfeldt
2011-05-10 13:31                                         ` Bob Koehler
     [not found]                                         ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
2011-05-10 16:56                                           ` John Wallace
2011-05-10 17:50                                             ` Bob Koehler
2011-05-11 16:04                                               ` G Cornelius
2011-05-04 17:02                   ` Johnny Billquist
2011-05-04 17:20                   ` Bob Koehler
2011-05-04 18:10                   ` glen herrmannsfeldt
2011-05-04 19:21                     ` John Wallace
2011-05-04 22:06                     ` MetaEd
2011-05-05  3:17                       ` Johnny Billquist
2011-05-10 13:20                   ` Bob Koehler
2011-05-10 13:29                   ` Bob Koehler
2011-05-10 15:29                     ` Johnny Billquist
2011-05-10 17:16                       ` G Cornelius
2011-05-10 17:45                   ` Bob Koehler
2011-05-10 21:34                     ` Johnny Billquist
2011-05-10 17:58                   ` Bob Koehler
2011-05-10 21:36                     ` Johnny Billquist
2011-05-03 16:38   ` Jerome H. Fine
2011-05-03 11:28 ` paramucho
2011-05-03 16:09   ` Jerome H. Fine
2011-05-23  3:41   ` billy
2011-05-23  4:51     ` Johnny Billquist
2011-05-23 14:47       ` jjh
2011-05-23 15:04         ` Bill Gunshannon
2011-05-23 22:52           ` Johnny Billquist
2011-05-24  0:16             ` Bill Gunshannon
2011-05-24  0:40               ` Johnny Billquist
2011-05-24 12:58                 ` Bill Gunshannon
2011-05-24 14:02                   ` glen herrmannsfeldt
2011-05-24 14:36                   ` Johnny Billquist
2011-05-24 16:42                     ` Bill Gunshannon
2011-05-24 18:17                       ` Johnny Billquist
2011-05-24 20:07                         ` Bill Gunshannon
2011-05-25  1:07                           ` Rich Alderson
2011-05-25 10:34                           ` Johnny Billquist
2011-05-25 15:46                             ` Bill Gunshannon
2011-05-25 23:00                               ` Johnny Billquist
2011-05-26 15:50                                 ` Fritz Wuehler
2011-05-26 16:53                                   ` Johnny Billquist
2011-05-26 20:20                                     ` Fritz Wuehler
2011-05-28 18:01                                 ` Bill Gunshannon
2011-05-26  0:58                               ` Rich Alderson
2011-05-26  1:23                                 ` glen herrmannsfeldt
2011-05-26 13:01                                   ` Bob Koehler
2011-05-27  0:54                                     ` glen herrmannsfeldt
2011-05-26 20:15                                   ` Rich Alderson
2011-05-26 23:56                                     ` glen herrmannsfeldt
2011-05-27 18:37                                       ` Rich Alderson
2011-05-27  0:02                                     ` glen herrmannsfeldt
2011-05-27  3:17                                       ` Johnny Billquist
2011-05-27 18:51                                         ` Rich Alderson
2011-05-27 19:48                                           ` Johnny Billquist
2011-05-27 18:35                                     ` Rich Alderson
2011-05-26  1:14                               ` Jerome H. Fine
2011-05-26  1:32                                 ` glen herrmannsfeldt
2011-05-26 20:39                                   ` Jerome H. Fine
2011-05-26 15:50                               ` Fritz Wuehler
2011-05-25  1:01                         ` Rich Alderson
2011-05-26 12:53                         ` Bob Koehler
2011-05-26 16:59                           ` Johnny Billquist
2011-05-26  8:03                       ` Fritz Wuehler
2011-05-26 14:21                         ` paramucho
2011-05-26 18:50                           ` billy
2011-05-27 11:58                             ` paramucho
2011-05-27 17:23                               ` billy
2011-05-26 17:04                         ` Johnny Billquist
2011-05-27  1:30                           ` Fritz Wuehler
2011-05-27  2:17                             ` Scott Dorsey
2011-05-27  3:26                             ` Johnny Billquist
2011-05-30 21:09                             ` John Wallace
2011-05-31  1:15                               ` Johnny Billquist
2011-05-31 18:02                               ` jjh
2011-05-31 20:54                                 ` Bob Koehler
2011-05-31 21:37                                   ` glen herrmannsfeldt
2011-05-25  2:59                     ` Jerome H. Fine
2011-05-25 10:51                       ` Johnny Billquist
2011-05-25 12:36                         ` Jerome H. Fine
2011-05-25 17:25                           ` Tom Lake
2011-05-25 18:01                             ` Jerome H. Fine
2011-05-25 18:44                           ` Johnny Billquist
2011-05-26  1:20                           ` Rich Alderson
2011-05-26 16:53                             ` Rob Brown
2011-05-26 20:27                               ` Rich Alderson
2011-05-27  3:27                                 ` Johnny Billquist
2011-05-26 20:38                             ` Jerome H. Fine
2011-05-27  4:44                               ` Johnny Billquist
2011-05-24 12:02             ` paramucho
2011-05-23 14:48       ` Jerome H. Fine
2011-05-23 22:46         ` Johnny Billquist
2011-05-24  0:19           ` Bill Gunshannon
2011-05-24  0:43             ` Johnny Billquist
2011-05-25 18:41             ` Jerome H. Fine
2011-05-24  2:54         ` billy
2011-05-24 13:03           ` Bill Gunshannon
2011-05-24 14:39             ` Johnny Billquist
2011-05-24 15:10               ` billy
2011-05-24 15:48                 ` Johnny Billquist
2011-05-24 16:54               ` Bill Gunshannon
2011-05-24 14:42             ` billy
2011-05-24 16:56               ` Bill Gunshannon
2011-05-25 18:05               ` Jerome H. Fine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox