From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0a0,39746a03e4391332 X-Google-Attributes: gid10d0a0,public X-Google-Thread: fd705,39746a03e4391332 X-Google-Attributes: gidfd705,public X-Google-Thread: ffc31,39746a03e4391332 X-Google-Attributes: gidffc31,public X-Google-Thread: fdd80,39746a03e4391332 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,39746a03e4391332 X-Google-Attributes: gid1164f8,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/25 Message-ID: <4t8ck8$pb5@calzone.unc.edu> X-Deja-AN: 170596622 references: <837816814snz@p850ug1.demon.co.uk> <4t5jlr$sr6@calzone.unc.edu> <838251666snz@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 <838251666snz@p850ug1.demon.co.uk>, Tony Duell wrote: >In article <4t5jlr$sr6@calzone.unc.edu> > lasner@calzone.unc.edu "Charles Lasner" writes: > >> In general, third-party devices tend to be supported by migrating away >> from all-DEC machines that the devices are attached to as "guests." The > >And if you're doing that (i.e. an initial install only used DEC devices), then >there's no reason that I can think of _not_ to use a non-DEC device as a >system device under any of the PDP11 OS's. True. And that's why there have been so many third-party vendors. They assume you have a viable, albeit underpowered, configuration such as RX's only, so they can sell you a better disk you can get up merely by supplying the drivers, etc. > >> >Yes, but the paper tape reader had better be compatable with the DEC one, or >> >the BUILD program won't load. I could link up a Trend HSR500P to a DR8E, and >> >no way would OS/8 install from it. The initial load device had better >> >be something that the loader/installation program knows about. >> >> In the PDP-8 world, the trivial device 01 interface was generally >> mimicked. You are technically correct, but businesses generally decided > >But why? I said businesses. Again, this is at the heart of the matter I raised earlier: why make a lock-step compatible device when you can make a better one as long as there is adequate access to all of the software situations that matter, etc. In the PDP-8 world, this is especially true in the disk device area. However, in the world of PDP-8 paper-tape, remember that the whole issue of paper-tape is driven by the need to support the RIM loader as a minimal toggle-in task. Any other solution will not only be incompatible, but more imporatantly would take more locations to toggle into. There was just too much paper-tape-oriented software that won't tolerate this. >A high speed paper tape reader (and there have been paper tape readers >that could read 5000 chars/sec) could benefit from some kind of DMA. So you >are deliberately holding back the capabilities of the device for compatability. Absolutely correct. That's what they did. But since DEC charged so much for a low-performance unit, they knocked it off to provided either the same for less or more for the same. You are asking for something that's a whole lot more but incompatible. That didn't fit the model. Today, I think the whole issue of paper-tape is largely unimportant, and I would hope that one of the aims of PDP-8 enthusiasts is to get past this stage of depending on long streams of paper-tapes. Of course if you want to pursue the hobby project of a hot-rod paper-tape reader, by all means go for it, etc. > >Unfortunatly, on the PDP8 (this doens't apply to the PDP11 AFAIK), there are >subtle differences between the Paper tape interface and the standard serial >card. Not really an issue. Look at the RIM loader for the HSR and the TTY. They are the same size. As long as the code fits, you are allowed to make any device code or IOT specific change you want, etc. BTW, DEC field circus used a medium-speed serial interfaced paper-tape reader for loading diagnostics into machines such as the VT78. The device is essentially a device 01 keyboard interface. All works fine except that the interface cannot hold back the frames. Thus, it's only usable for the intended purpose: read a diagnostic into memory and then start it up. As the program starts, the out-of-control ignored reader is still spewing forth frames until the physical end of tape, etc. But you wouldn't want this device on an OS/8 machines to read in paper-tapes into files! >It's not trivial to link up a high speed reader to a serial card (either >using a serial interface or by removing the UART and using a parallel link) >and get it to work with standard DEC software. See above. >And DEC PC04's are not well >designed readers IMHO - any reader that is sprocket-fed is going to mangle >at least one important tape sometime. Maintained correctly, it doesn't. >The sprocket-sensing capstan-fed readers, >like the Trend HSR's and UDR's are much nicer. Sounds like it, but most of us didn't really care. >Unfortunately, interface cards >for these are not common (I am looking for one if anyone has a spare, hint, >hint) You could always roll your own. Especially if DMA is useful. > >> 2) Regardless of where you develop it or for that matter debug it, it's >> a task that "separates the men from the boys" in the PDP-8 world. >> Writing handlers is likely the most difficult code ever done. The reason >> is that generally it's a job stated as nearly impossible! OS/8 handlers >> desire to be entirely self-contained in about 128 12-bit words. Within > >Fortunately, this does not apply to PDP11's, where AFAIK there's no limit to >driver size under any of the OS's. I belive that's not technically true, but clearly not as fanatical as OS/8. But P?S/8 was originally a system for 4K machines and OS/8 was a system for 4K machines that happened to have 8K. (Meaning it still has the 4K-type loading restrictions such as unavailability of x7600-x7777 for any field x.) When these systems were designed, it seemed reasonable to expect a one-page system device. This has largely been proven true for the original devices such as TC01/08/TU55/56 DECtape and DF32/RF08. But many devices became troublesome, thus *the* TD8E handler was developed for 12K OS/8 as a kludge later revisited as any system device that could be developed in the same two pages as the TD8E. Thus, the same fanatic need to make it fit becomes more unworkable and compromised as the device interfaces got more feeble (such as the RL). Since P?S/8 already had an advantage over OS/8 of requiring in general 4K less, I decided to formalize a mechanism to allow an additional 1K (8 more pages) should a device not be able to fit into one page. With few exceptions, devices either fit comfortably into one page, or they severely cannot. Thus, a lot of OS/8 compromised two-page handlers. (Note: the RX interface was originally attempted as a one page handler! It has the dubious distinction of being the only official handler officially withdrawn due to fatal flaws! The two-page handler that replaces it is merely compromised, but not flawed, etc. The corresponding uncompromised P?S/8 handler is either 3 pages or 4 pages depending on which component you are comparing, etc.) Thus, there are effectively 7K P?S/8 systems where the last 1K of field 1 is reserved for the rest of the system handler. Should more memory be available, the rest of the handler is relocated to the highest extended memory field's last 1K, thus the largest linear address space available is available to the user (contrast with OS/8 that essentially reserves x7600-x7777 for every field x). As P?S/8 has evolved, some of the handlers have been revisited in various forms. One interesting one is the TC01/08 DECtape. In OS/8 and P?S/8, the system handler attempts to remember the best-guess initial search direction. (Note: Unfortunately in OS/8 as distributed by DEC, the handlers literally ignore this information, and instead are told by the caller what to do. The problem is that there are only a small handful of calls sprinkled within OS/8 that actually set this bit! Thus, virtually all calls are told to reverse the tape as the initial guess, even though clearly many of these calls would have been better to spin the tape forwards first. The few that are guaranteed to be correct to spin forwards first are the ones hard-coded into OS/8. The rest represent a lost opportunity for efficiency. I have solved this by supplying a replacement handler that ignores the caller and instead uses its own information to provide a reliable guess that is usually correct, etc.) The P?S/8 (and my replacement TC01/08 OS/8 system handler) maintain a last-block-transferred location used to create the initial guess for search direction. This feature makes a noticeable improvement in tape transfer time, etc. But there's a problem in the system handler (and also the replacement OS/8 handler) that resides in one page (likewise for OS/8). When the handler is used to transfer data from a different logical unit, the information is taken from the old unit, not the current unit. Thus, each time the device is changed, this invariably leads to a wrongfully calculated guess direction (although the second guess is taken from updated information from the latest transfer. However, there can be a perverse case where the caller makes alternating calls such as in a copy program, etc.) The reason for this problem is of course because there isn't room to support a unit-select table of last transfer blocks. Such a handler wouldn't fit in one page in either system, etc. P?S/8 can be configured for what is known as the Console Overlay. This is a collection of configurable routines that basically redirect the standard devices to a logical collection of devices that are user-defined. The I/O consists of standardized calls for the console keyboard, console output, line printer output. Additionally, the line printer is conceptualized as a bi-directional device that the console overlay has to deal with internally. Thus, applications oriented to doing their own device 66 LPT: output can instead make calls to the Console Overlay for LPT: output with impunity; should the device require reverse direction ^S/^Q support, this is invisible to the caller. Thus, the overlay concept can be configured for a whole bunch of devices beyond the scope of OS/8 (which is not actually device independent other than for disks). To add this support costs you 7K, which works out well where the handler could occupy the other 1K of the highest field. Thus, the minimal configuration to run this is an 8K machine, which curiously is also the minimum OS/8 configuration. (Of course, the application environment is reduced to 4K in that case! While in OS/8 it stays at 8K not counting the last-page restriction in every field, etc.) (Note: P?S/8 standard system programs generally can take advantage of 7K or other multiples where appropriate. Just because an entire field isn't available doesn't mean you shouldn't take advantage of a partial field! For example, the P?S/8 PAL assembler will load symbols into any memory it can grab, be it the rest of field 0 only, or that plus 7K, or that plus 8K, or whatever, etc. There are status bits available to size up any viable memory configuration, etc.) Should the system device be a TC01/08, the following enhancements are added by the Console Overlay: 1) A check for Timeout Error is added. Occasionally, TC01/08 get "confused" causing handlers to hang up. This is evident in both OS/8 and P?S/8. In this enhancement, the handler's infinite wait loop is replaced by one that times out. A software Timeout Error bit is returned in the soft version of the error status that is available to the handler along with the other hardware generated bit in their usual places. (Essentially does an enhanced version of the DTRB instruction with a new status bit created, etc.) 2) The best-guess search direction table is created, thus multiple unit calls don't affect the guess-work. This can be quite noticable when copying information from one tape to another when the absolute blocks aren't the same (meaning copying one part of one tape to another part of another one as opposed to doing block-for-block copying. In the latter case, the guess block is the same regardless of unit, thus the guess is always correct anyway, etc.). 3) All errors are handled through a user error prompt on the console screen. Depending on the device, this could be an elaborate error panel display or merely a well-separated screen roll-up of the error status. The notion is to inform the user of the complete particulars of the problem and allow user intervention to either fix the problem or abort. (Yes, we are talking about MS-DOS Abort, Retry, Fail except this predates MS-DOS by about 8 years. And the PDP-9/15 IOPS4 predates that by about another 7 years!) Thus, instead of having an N-page handler, P?S/8 allows the user to enable the Console Overlay which eats up another field and get the handler enhanced to handle some problems largely ignored in the original one-page version. Yet, you can always revert to the original handler with the original limitations should you need the space back for awhile, etc. >But you were claiming earlier that it was >on PDP11's where you had to be 100% compatable with a DEC device. No, hardy individuals can get past this. But some of it is quite hard to gain access to the relevant source code. In any case, I pointed out that there were far more business decisions in the -11 world where companies marketed lock-step DEC software compatible devices than in the -8 world. And more of them would be quite pathetic, such as devices that are inherently SCSI that are mapped to instead look like the RL, etc. > >[...] >[Reparing the RK8E] > >> >OK, so you have to change a few more chips. The chips on the RK8E are cheap, >> >and in general easy to obtain. It's no big hassle to change a few more (even >> >though there's a certain satisfaction in working out the faulty component and >> >getting it right). >> >> Yes, we all like to guess correctly. But on the RK boards, it's a whole >> lot harder to remove the chips than on the other DEC boards of that era. > >Yes, BUT... It's a whole lot easier than on the modern boards that you are >suggesting we replace them by. Not quite. I am recognizing that today, most of the stuff is throw-away. It's often easier to get a cheap replacement, so don't fight it. It goes against my grain as a repair-person, but I recognize the economic realities, etc. Few of these newer boards ever get repaired. >I've just opened up my 8/e and pulled the >RK8E cards. Yes, the pads are a little smaller than on the TD8E I happened to >have on top of the machine, but not much. The traces are a lot thinner, I will >agree, but that shouldn't make much difference. It makes quite a bit of a difference. Compare to the processor cards; I suspect the TD8E might be an intermediate size. > >Actually, the RK8E boards look to have similar size features to the PC-clone >boards I've just looked at. Since I've repaired those on several occasions, >I don't think the RK8E will be any worse. It's probably slightly better. But a whole lot worse than dealing with anything on an M8650 or whatever. > > >> Simply not true. Compare the M7104,5,6 lands with the CPU boards for > >I just have done. The RK8E does have smaller pads than the 8/e CPU, but they're >no smaller than on the PC-clone board I just mentioned, or than those on >several PDP11 cards like the M8109 I've just picked up. You are lucky that the >8/e CPU has larger pads, and is thus easier to repair - the RK8E is the >more 'standard' size. Not by the standards of the time. It was the "intruder" while the CPU, etc. was the "standard" size. Field Circus could never deal with board repair from the beginning had what we have now been in effect back then, etc. > >> example. The lands are always ripped out on an RK board that wasn't >> handled extra carefully compared to the other boards. > >But you should always handle these boards carefully. If you do so, then you'll >have no problems. I'm not advocating slopiness, but it's really that much worse! > >> But on the RK board, you really don't know if the chip is dead, so you > >There are plenty of ways of in-circuit testing the chips on the RK8E. The best >one involves a logic analyser and a set of extender boards, but even without >such luxuries, you can often force the pins into known states. Most faults are >easy to trace if you can do that. It can be pretty messy; the RK was largely a sore point in terms of deciding how to fix the boards, etc. > >I've repaired a large number of such computer systems, and only once have I >_needed_ a logic analyser (to trace a microcode problem in a PERQ workstation). >On all other occasions, I've managed to figure it out using simpler test gear. > >> >2) Don't be afraid of overheating the chip. Get the solder molten before you >> >suck >> >> Again, presupposes wanting to kill the chip, but largely not an option. > >Not at all. You will not damage a chip by overheating it with a normal >soldering iron unless you are very careless. I've used an iron on the pins of >a chip from the _component side_ (which obviously gets the chip a lot hotter >internally) with no damage. I have never overheated a chip when soldering or >desoldering it. I think we wouldn't define it as overheating, but rather just getting to the max allowed short-time temperature. > > >> >> >3) Break the bod between the chip and the board by pressing each pin inwards >> ^^^^ I assume bond >> >with a screwdriver before pulling the chip >> >> Often two screwdrivers or a chip puller. > >NO WAY. That's the way to lift pads or damage plating. You're not trying to >lift the chip out at this point - what you are doing is cracking the remaining >bond between the pin and the PCB. It's done like this > > > IC body >=====\ > |+ >=====/ | > |<------------Press with small screwdriver here, in direction of arrow >-------|--------- PCB after desoldering > | > >I've often desoldered 20-30 programmed chips from extremely rare boards, >examined the contents and put them back in again. These were 6 layer boards >with pads and traces smaller than the RK8E I don't mean to apply force per se. I mean to apply a small force and then an iron to release the pins while hot, etc. > >[...] > >> Likely, but we are comparing the boards of that era to each other. > >I'm also comparing the RK8E to the sort of board you are suggesting I replace >it with. True, but I am largely suggesting chucking the new board if necessary; it won't be worth attempting the repair. > >> >> > >> >> the word "TOP" is ignored!) >> > >> >Well, if you misuse the hardware then you deserve problems IMHO. >> >> It doesn't say "Only put this board into the buss so that the word "TOP" >> can be read in the normal manner." Instead it just says "TOP." Real >> spectacular and sparky smoky burny things happen when you ignore this! >> Recovery needs a whole lot of long skinny long-run land repair. I opted >> to use wire-wrap wire on the one I fixed for them, etc. > >My board (I've just pulled it to check) says TOP in capital letters and has >2 arrows alongside it (one at each end) pointing upwards. If you can't >understand that, you shouldn't be repairing 8/e's IMHO. The repairer and the person creating the need to repair are two different people :-). >Now, we've all made >mistakes (I certainly have - like the time I blew up a rare 7482 full adder >by putting a flip-chip card into a spare backplane to test it, not realising >that DEC used B2 (the standard -15V line) as a Carry In on this card), but >don't blame it on the hardware. Yes, this is a nut-behind-wheel problem. > >The printset also shows how to insert the card. Who said users can read :-). > > >> cjl > >-tony > cjl