From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,39746a03e4391332 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10d0a0,39746a03e4391332 X-Google-Attributes: gid10d0a0,public X-Google-Thread: fdd80,39746a03e4391332 X-Google-Attributes: gidfdd80,public X-Google-Thread: ffc31,39746a03e4391332 X-Google-Attributes: gidffc31,public X-Google-Thread: fd705,39746a03e4391332 X-Google-Attributes: gidfd705,public From: lasner@calzone.unc.edu (Charles Lasner) Subject: Re: Storage Computer looking for PDP-8/11 I/O Edge Connector Blocks Date: 1996/07/18 Message-ID: <4slibt$c84@calzone.unc.edu> X-Deja-AN: 169633809 references: <4sdtln$7m5@nntp.ucs.ubc.ca> <4sj9ca$bm6@calzone.unc.edu> <837637154snz@p850ug1.demon.co.uk> organization: SunSITE UNC-CH newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11,alt.sys.pdp8,alt.folklore.computers In article <837637154snz@p850ug1.demon.co.uk>, Tony Duell wrote: >In article <4sj9ca$bm6@calzone.unc.edu> > lasner@calzone.unc.edu "Charles Lasner" writes: > >[Modifying DEC OS's for new devices] > >> Perhaps true, and you are well-qualified to do so. But it scared off >> enough companies that they instead built hardware that was software >> compatible with DEC's stuff, limitations and all. Also, below you >> contradict part of this, since the tape utilities won't let in a >> third-party disk driver/interface, etc. > >AFAIK you _can_ modify standalone BRU (The RSX install-from-tape program), >particularly if you've got a source license _but only after you've installed >the OS_. It's a chicken and egg problem - you need BRU working to install >RSX, but you need RSX installed to modify standalone BRU. I assume you mean that you not only need RSX already running on a DEC-sold disk system, but also a DEC-sold tape system is what BRU is used from. On the PDP-8, tapes were not only rare, but largely non-DEC. The TU10/TM8E was used, but often it might be an IOMEC or a few others. However, there really wasn't a common usage of a boot-from-tape to get the system up, although I wrote a few of those for application-specific systems for my employer at the time. They chose to have quite a few systems sans disk, but since the application required 2-5 tape drives, it was obviously the way to go. BTW, someone did get a handler for the IOMEC tape to be read/write using the large tape gaps method to allow pseudo-block replaceablility ala DECtape. The thing ran *real* slow, but considering there's no disk around, we couldn't complain :-). (BTW, this was the first handler that used the 7016 instruction to figure out what page it was loaded into to save code, thus the handler could be written in one page, etc. I modified it to be at offset 0015 of the page so that it could also run on a KK8A as well as an -8/e; the peripheral was Omnibus only, so this was acceptible, etc.) > >Can you install OS/8 on a non-DEC disk without having it installed on >another system first? If so, how? Yes, using paper-tape. The early systems depended on a lot of tape reading including the binary of your handler. Later, the BUILD program could load it all in via the PTR: or perhaps cassettes. (Note: BUILD.SV itself can be punched back into a paper-tape and run standalone; it doesn't use OS/8 itself unless you want to build the system the usual way, i.e., use a resident-within-build handler image for the new system. The way BUILD works is to swap the BUILD-resident handler into 07600 and 27600 to write out the new system while using the old memory contents to read the current system. Thus, the system gets copied onto the new device, etc. But all other usage of BUILD is truly stand-alone. If you read in a paper-tape of part of the system, the system-device you chose from within BUILD is used to write out the just-read-in system component, etc. The system-device itself is part of BUILD's own core-image. How it got there is another story. BUILD can read in system and non-system handler images, but only up to what fits within 8K including BUILD itself. Thus, BUILD has commands to unload and load handlers since there is a small finite space, etc. Any particular copy of BUILD thus has a configuration or 2 or 3 or 4 in mind, not an infinite variety. Generally, we save copies of BUILD.SV under different names pre-setup to just do one command (BOOT) to write out our preferred system configuration. Since I have a lot of hardware choices (RK8E, MDC8/SCSI/hard disk, MDC8/SCSI/HD-Floppy, LINCtapes via InterProcessor-Buffer to LINC-8, RX01, RX02, TC08 DECtapes) for a system device on my main machine, I tend to have a lot of copies of BUILD saved under names such as RKEBLD.SV, RX2BLD.SV, LTBLD.SV, etc.) > >(Note, toggling in code from the front panel doesn't count - you could in >theory boot RSX standalone BRU, patch it from the panel, run it, and load the >OS onto the non-standard device). I agree, although I did that once when I had to switch from a TD8E to a TC08. I loaded the TD8E system that uses the MR8E-C field 7 ROM. This was done on a machine sans TD8E using some toggled in TC08 code. Then I toggled in code to read in the first two system blocks from an older version into where they belonged and restarted the system. The result was a tenuous system running on the TC08/TU56. I was able to then access the handlers to update the system in-place. > >[...] > >> A side issue: The RK8E is one of the more difficult boards to maintain. > >In what sense? I know about the compatability problems between RK8E's, TD8E's >EAE boards, etc if everything is not at the right ECO, but provided the system >worked properly in the first place, the RK8E doesn't look hard to maintain >given a logic analyser. All the chips are standard, there's a good tech manual >available, etc. I didn't have the luxury of a logic analyser, but the problem is that a lot of the automatic operations of the RK8E are only fleeting and are hard to 'scope out. Especially when failure modes of chips still produce semi-plausible results. Thus, you wind up having to change a few more chips than more sophisticated sleuthing might allow, etc. In any case, changing TTL on those boards is far worse a job than on other similar boards. The holes are rather small (no, I didn't have to count them all! :-)) and forget about recovering a chip you pulled. The small size is such that only a vacuum-pump-driven desolderer gets out enough solder that you don't ruin plate-throughs removing a (former) chip's pins. Beyond that, the cards are also more easily damaged due to the smaller land size in general. (And we won't talk about cards where the word "TOP" is ignored!) I once had to fix an RK8E where the system was eventually isolated to the fact that it read standard disks fine, but it wrote a non-standard header out. (Remember, there is really no difference between formatting and writing!) And of course it liked its non-standard headers! The CRC logic was blown in a curious way where it basically ignored the results but wrote out a defective variant pattern, etc. I think the bad chip (the one which when removed made a difference after several wrong guesses made for no forward progress!) was a shift register pair, etc. > >> I have had personal bouts with this beast, so I know of what I speak. A >> replacement system should be easier to maintain, albeit likely somewhat >> modularly disposable. (A SCSI host adapter and a SCSI controller and a >> SCSI disk are likely gonna break in only one area, thus throw that bad >> one away and replace with a cheap new one, etc.) > >Provided you can get a replacement. A lot of early 1980's machines used ST506 >drives that are getting very hard to find nowadays. They're still out there. Certainly easier to get than RK parts! > PC owners can (in general) >replace them with IDE drives, but that's no help to PERQ, PDP, HP150, etc >owners like myself who are trying to maintain such machines. Agreed. > >It's alright to install a SCSI system now, but in 10 years time, the mainstream >computing market will have (almost certainly) moved on to something else. What >are you going to do for parts then? I don't think backward-compatible SCSI is gonna go away so fast. I'm sure SCSI 29 will still talk to a SCSI 1 disk :-). On the MDC8 which is SCSI, we have one problem: The design of the original MDC8 was dropped in favor of a "better" one which while overall better, dropped an important feature that affects OS/8 and to a lesser extent P?S/8: OS/8 demands that we address logical blocks of 256 12-bit words, so in theory this means that we want the common 512 byte blocks. The problem is that OS/8 needs to specify to the nearest 128 words of transfer. Thus, it is willing to sacrifice the ability to get to the "odd" page of a pair of pages in a transfer. Notice that the SAVE command won't let you save memory in an "odd" page without also getting the "even" page, but an "even" page without the "odd" page is allowed: .SAVE SYS FOO.SV 200-201 this actually saves 00000-00377, while .SAVE SYS BAR.SV 0-1 actually saves 00000-00177. This is the direct consequence of the limitations of the way you have to call the handler, etc. Thus, OS/8 requires the ability to write out one page, not two pages, of a two-page call to the handler. Actually, what generally happens is that the two-page write function is used where junk data (perhaps what's next to the desired contents of the first page in memory) is written into the second page half of the disk contents. As long as the entire record can be read back later, this is fine, since there is no guarantee of preserving that second half of the record from before the write operation, etc. In the particular case of the RK8E, there is a "one-page" bit, which when set means that the second half of the record is written out with 0000 in each of the 128 12-bit words. This is controller automatic, not DMA; the overall CRC is calculated for what was actually written of course. When you read back the data, you can set a "one-page" bit for reading on the RK8E. Thus, the data is read back for CRC purposes only in the second page after the first page is transferred. Thus, this serves OS/8's needs precisely. The early MDC8 had this feature (at my insistence!) and also handled the problem. But the newer version (not influenced by me during the time of the major design upheaval) left this out! Thus, the newer version is whole-blocks-oriented. The only way to use it for OS/8 with a simple handler is to make the blocks 256 bytes. This severely limits the list of devices that are compatible with it. P?S/8 has a different problem with devices that are inherently 256 12-bit words at the physical level, since it's a system based on logical blocks of 128 words. (Which is fine for DECtapes and LINCtapes where this is natural; OS/8 doubles the callers logical record value to map it into a physical block value on these devices; P?S/8 just uses the argument as is, etc.) Thus, P?S/8 has a handler for addressing to the nearest 1/2 physical RK8E record. This is done by using a handler-internal two-page buffer. If the call is similar to OS/8, meaning either a well-bounded read or write, the transfer is done similarly to OS/8. If the call (ends with or) is for an even page single read, this is also handled the same as OS/8. There are three problem cases: 1) There is a single-read to a second half of a record. 2) There is a single-write to a first half of a record. 3) There is a single-write to a second half of a record. (Note: any problem case could either preceed or follow a bunch of no-problem operations within any handler call.) The read problem is handled as first read the entire record into the two-page buffer, then move the data from the second half to the user's specified buffer. The write problem is to first read in the data from the disk, then move the user's data into the appropriate buffer half, then write back the disk buffer. Since P?S/8 allows 9-page system handlers and 32 page non-system handlers, this is easily accomplished. (The actual code is 4 pages system and non-system, including the two-page buffer.) But OS/8 only allows two-page handlers at best, preferring one-page handlers (as does P?S/8). Thus, the problem cannot be solved. So, OS/8 is limited to "better" devices where the data is handled with a "one-page" bit. Such a bit is helpful to P?S/8, but hardly mandatory. Thus, in the future, should SCSI not be available for 256 byte devices, the MDC8 using the current controller code model will not be able to support OS/8, but this shouldn't bother P?S/8. By that time, we would consider disassembling the 6809 code and revamping it :-). > > >> cjl > >-tony > cjl