From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,67ea601a3fab4fdb X-Google-Thread: 1164f8,67ea601a3fab4fdb X-Google-Attributes: gidfdd80,gid1164f8,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news1.google.com!newsfeed.stanford.edu!panix!not-for-mail From: Rich Alderson Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: RSX-11S Date: 22 Feb 2008 15:00:15 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Sender: alderson+news@panix5.panix.com Message-ID: References: <5-CdnT5jE8zYXSjanZ2dnUVZ_r-vnZ2d@comcast.com> NNTP-Posting-Host: panix5.panix.com X-Trace: reader2.panix.com 1203710430 14516 166.84.1.5 (22 Feb 2008 20:00:30 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 22 Feb 2008 20:00:30 +0000 (UTC) X-Newsreader: Gnus v5.7/Emacs 22.1 Xref: g2news1.google.com alt.sys.pdp11:2707 comp.sys.dec:4283 jmfbahciv@aol.com writes: > In article , > Johnny Billquist wrote: >> jmfbahciv@aol.com skrev: >>> nonono. You would copy the bootstrap as the first file. The >>> second file would the monitor (or system image). >> Maybe on a -10. >> On an -11, especially with RSX, the bootstraps don't exist as files. Also, >> the bootstrap on a tape is just the first tape block. Not a file, so it >> don't work at all if you try to deal with it that way. > Right. That's why you use PIP to do the copy. PIP wasn't a program > that was directory-structured. ??? PIP on RSX-11* (and RSX-20F) is very much directory-oriented. >> My direct experience with -10s only applies to KL machine, on which you have >> a FE which do the booting, so I don't know anything about how -10 bootstraps >> were dealt with. > Do you remember the file BOOTM.[mutter] on the front end > floppies or DECtapes? That was the code that would start > setting up the -10 side for booting the monitor off the > magtape. That code replaced the toggling that people > had to do on real PDP-10s' panels. > IIRC, the [mutter] was .EXB but I'm not sure any more. Yes, BOOT.EXB (on later -10s and always on -20s) is the name of the PDP-10 boot program that gets loaded. Booting a KL-10 works like this: 1. The KL front panel has 6 switches (power, emergency off, and the boot set). The boot set consists of (left to right) SWITCH REG, FLOPPY (or DECTAPE), DISK, and ENABLE. On the 2065 (for example), ENABLE is a momentary contact rocker; on the 1090 it's an on-off rocker. The others are all momentary. When the system is powered on, you hold down one of the three selectors and press ENABLE (or leave ENABLE permamently ON and press the selector you choose). 2. The ENABLE switch causes the 11/40 to load and execute the code from a boot ROM. This has entry points for reading a boot block from a Massbus disk, a Unibus floppy, or examining the switches on the 11/40 front panel (which is *not* the same as the KL-10 panel) to determine whether a disk other than unit 0 or a terminal line other than the console is to be used for control, and whether RSX-20F should start the KLINIT task with operator intervention enabled or not, and then proceed as if the DISK selector had been depressed. 3. From the disk, cylinder 0 head 0 sector 0 is read into location 0 in the 11 and a branch is taken to the start of executable code. This reads the location of the FILES-11 filesystem on disk from the home block on the disk (cyl 0 hd 0 sec 1 on RP04/RP06 disks), and reads the location of RSX20F.SYS from the index block of the FILES-11 system. 4. RSX-20F starts KLINIT.TSK, which checks the status of the PDP-10 back end, initializes some state, and loads the back end's microcode from a file on the FILES-11 portion of the disk. It then configures cache and memory for the back end, loads the boot program into main memory from BOOT.EXB, and starts it with or without operator intervention as requested. 5. The BOOT program reads the home block to find the root of the Tops-10 or TOPS-20 file system (as appropriate), and from there locates the monitor, loads it into memory, and starts it. The monitor takes over the back end, and away we go. I know for a fact that this is how it works, because within the last 6 months I have traced every instruction of the boot programs on the front end and back end of a 1090 while debugging a disk emulator. So don't argue with me. :-) -- Rich Alderson "You get what anybody gets. You get a lifetime." news@alderson.users.panix.com --Death, of the Endless