Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Y3K for PDP-11 Operating Systems
Date: Wed, 25 May 2011 03:34:39 -0700	[thread overview]
Message-ID: <irilvv$p6t$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <942hghFhukU1@mid.individual.net>

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


  parent reply	other threads:[~2011-05-25 10:34 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox