From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,c1ebfbffe49eac7a X-Google-Attributes: gidf7344,public X-Google-Thread: 140660,c1ebfbffe49eac7a X-Google-Attributes: gid140660,public X-Google-Thread: 1164f8,c1ebfbffe49eac7a X-Google-Attributes: gid1164f8,public X-Google-Thread: ffc31,c1ebfbffe49eac7a X-Google-Attributes: gidffc31,public From: Dave Butenhof Subject: Re: Wanted RT-11 Emulator for VAX/VMS - RTEM. Date: 1996/11/15 Message-ID: <328C6BA3.4487@zko.dec.com> X-Deja-AN: 196700327 references: <1996Nov7.223651.16695@decus> <55tl74$qjt@goonsquad.spies.com> <55vgrg$ecb$2@nntpd.lkg.dec.com> <56abq5$i4l@nedc.us.oracle.com> <3288C373.72F7@smarts.com> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: decus.nop,vmsnet.pdp-11,comp.sys.dec,comp.os.vms x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) -- Jerry Leichter wrote: > > Just a minor correction: > > VAX-11/RSX has been available since VMS V1, and was bundled with > VMS until VMS V4. > > VMS shipped with an "RSX AME" (AME = "Application Migration Executive") > from V1 through V3. The AME provided an RSX-like environment, but I > don't think it included much actual code from RSX. Early versions of > VMS *did* include RSX images, running under the AME. It's been so long > that I can't really remember exactly which particular functions were > implemented using RSX images in which versions. I do know that PIP was > used for what is now done with SET FILE/ENTER and SET FILE/REMOVE; these > were among the very last things for which native versions were done. > Before BACKUP (which appeared in some early V3.x version), I think > people used RSX DSC to do image backups. There was also a special > utility for storing and reloading RMS files - something like RMSBCK. I've watched this topic with some amusement. And, what the heck, I might as well spend a few moments reminiscing. I was brought in to the RSX group to help unbundle VAX-11 RSX from VMS. I had a background in both PDP-11 and VAX diagnostics at the time, and substantial knowledge of the architecture of both machines, and of VMS kernel internals. (Of course, I knew virtually nothing about RSX... but the rest of the team provided plenty of that!) In VMS v1.0, very little outside the kernel was "native" -- nearly all of the utilities were RSX. Some had DCL wrappers, many didn't. As you say, file name aliasing was one of the very last things to "go native", along with the TECO editor (just in time for it to "go away"). Version 2 added a lot more native utilities, including removing PIP from the DIRECTORY, TYPE, and COPY commands. (When I moved from PDP-11 to VAX diagnostics, I found myself on a field test V2.0 VMS system. When I finally got my VMS internals course, several months later, it was the last week they were teaching VMS version 1... and my first exposure to it... might as well have been a different operating system entirely, from the outside.) > The AME relied on hardware PDP-11 emulation, and never attempted to > provide a full RSX environment. The AME was a porting aid: It allowed > you to move many RSX programs to VMS, but it was not intended - though > it could be used, to a degree - as an RSX development environment. It > was dropped from VMS in V4.0, the first release that supported VAXes > without PDP-11 emulation. VAX/RSX was introduced at about the same > time. It included a software PDP-11 emulator and, as I understand it, a > fair amount of actual RSX code. I have no idea if any significant code > from the old AME made it into VAX/RSX; many things, however, were > definitely re-done. VAX/RSX's goals were, in a sense, the exact > opposite of the AME's: It would make little sense to buy it in order to > continue to run RSX programs under VMS (though I'm sure people have done > that; in fact, I was involved in a proposal to move a large RSX system > to VMS by using VAX/RSX. To make it work, we would have had to change > VAX/RSX, since the code made use of some non-emulated features - it made > use of *everything*.) Rather, VAX/RSX was intended as a development > environment. For example, just as you could use RSX-11M or M+ to build > downloadable RSX-11S images for embedded systems, you could use VAX/RSX > for the same purpose. The old AME never came close to being able to do > this. There was never any actual RSX-11 kernel code in the AME. All of the RSX kernel calls were VAX native implementations of the RSX-11M interface specification. All of the bundled RSX utilities (PIP, etc.) were PDP-11 assembly code, brought over from the RSX source pool. The original bundled ones had a number of source changes to work in the only vaguely compatible environment of the bundled AME. The ones shipped with VAX-11 RSX were the real RSX utilities, with only a few minor changes in areas we just couldn't gloss over -- most of them areas normal users wouldn't see. VAX-11 RSX was unbundled BEFORE we had VAX processors without pdp-11 mode. The VMS group no longer needed it, and felt it was a burden. At the same time, the RSX group (which was already maintaining the AME and MCR code) had requirements to bring it up to the latest version of RSX-11M -- and, as you said, it was way short of that goal. It was a really "interesting" release. I spent a lot of time walking up and down between the RSX & VMS labs carrying RP06 disks to make copies of the weekly baselevel builds of VMS for testing. And many nights debugging changes in the file system & kernel that broke us. At the same time we were charged with bringing the RSX AME and MCR up to the latest RSX standards, we also had to chase each new VMS features... and that was when long filenames, long device names, search list logical names, and a host of other features came in. (Sometimes I felt like a strand of taffy stretched between two trains going opposite directions.) VAX-11 RSX wasn't specifically intended as a development environment, although it proved popular for that. One of our goals was to make it robust enough to run a full RSX sysgen, which the original bundled code had never been able to handle (I'd never had to do one of those until we got to testing this... ugh!) Another goal was to make sure that SOS and TECO would continue to run, since they were used by senior members of the VMS development team. In fact, TECO was the first "client" of the PDP-11 emulator -- it had its own mechanism to switch the machine into compatibility mode, since it had never used the AME. I used it for a test bench before I got the RSX AME hooked up to use the emulator. The MAIN goal was to ensure that all existing customers using the VAX VMS pdp-11 compatibility mode software would continue to run as they had. This was really the only non-negotiable goal. Later, the VAX 8200 development group decided they wanted to build a VAX without compatibility mode. It was getting too expensive to do in hardware, and the need was decreasing. The 8600 group had tried this, but hadn't been able to pull it off -- VMS was still (barely) dependent on pdp-11 code. The 8200 group funded the VAX-11 RSX group to develop the software emulator. It was fun, but I think that depends on a warped definition of "fun". And, finally, just as I was leaving the group, someone got the bright idea of hooking in a PDP-11 card and writing a driver to run real RSX-11M, making my emulator more or less obsolete. > So ... it's not really useful to think of VAX/RSX as a continuation of > the old RSX AME in any but the most trivial senses. The code, > capabilities, and goals were very different. Not really. We rewrote a lot, of course, but most of the code was the same ancient & crufty, unstructured & ugly assembly code from the crew of the original VMS. > -- Jerry /---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\ | Digital Equipment Corporation 110 Spit Brook Rd ZKO2-3/Q18 | | 603.881.2218, FAX 603.881.0120 Nashua NH 03062-2698 | \-----------------[ Better Living Through Concurrency ]----------------/