From: jjh <jjhudak@gmail.com>
Subject: Re: Y3K for PDP-11 Operating Systems
Date: Tue, 31 May 2011 11:02:45 -0700 (PDT) [thread overview]
Message-ID: <aaa2ed58-b094-4584-9b7f-311743605e48@b1g2000yql.googlegroups.com> (raw)
In-Reply-To: be89deff-922f-47b3-b3c6-6be21ed86322@a26g2000vbo.googlegroups.com
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
next prev parent reply other threads:[~2011-05-31 18:02 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
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 [this message]
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