Slashdot Mirror


Bringing Back the PDP8

Anne Thwacks writes " Andrew Grillet has decided that the Digial PDP8 - the first ever minicomputer, will rise from the dead. He is calling it the PDQ8. Sure others have done software emulations, and even hardware clones, but he is not just building a hardware clone, but trying to revive the whole idea of 12 bit computers!"

30 of 365 comments (clear)

  1. TRS80 by ClamClit · · Score: 5, Funny

    ...and I building a 3.5 GHz TRS80 with a GIG of RAM and 2 5 1/4" 80 GB floppys. its the cats ass

  2. Calling all Electrical/Computer Engineers by ekrout · · Score: 5, Informative

    Many of you probably have used Xilink's 1000, 2000, or 4000-series FPGA card during laboratories for your undergrad classes.

    Well, if you'd like, you can follow this design of an FGPA implementation of the original PDP-8 computer!

    If you've used Verilog (a hardware design programming language), like I have, you can even download all the code!

    --

    If you celebrate Xmas, befriend me (538
  3. 12 bits by vasqzr · · Score: 5, Interesting


    I found that, where you are not primarily handling ASCII, 12 bits was a very good size.


    Maybe someone would enlighten the rest of us on why a certain bit size is better than another, and why we currently use 8/16/32/64, instead of 12/24/48/96 ?

    1. Re:12 bits by FauxPasIII · · Score: 5, Interesting

      >> Maybe someone would enlighten the rest of us on why a certain bit size is better than another,
      >> and why we currently use 8/16/32/64, instead of 12/24/48/96 ?

      Because powers of 2 are easier to work with in binary.

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    2. Re:12 bits by sql*kitten · · Score: 5, Informative

      Maybe someone would enlighten the rest of us on why a certain bit size is better than another, and why we currently use 8/16/32/64, instead of 12/24/48/96 ?

      This article explains why base-3 systems are actually a lot better than base-2 from a theoretical perspective, but that it was much easier to design hardware in base-2, so base-2 became the de-facto standard. Nowadays we could probably fab base-3 hardware fairly easily, but it's not worth doing so with all the base-2 hardware already in existance.

      As for 16/32/64 instead of 12/24/48, it's just one of those things. IBM's earlier AS/400s ran on 48-bit processors (now they are 64-bit). 96-bit floating point is an IEEE standard. And do you know why file permissions in Unix are rwxrwxrwx? It's because they borrowed that idea from another operating system designed for 9-bit bytes and a 36-bit processor.

  4. This is great news :) by solostring · · Score: 4, Interesting

    I fondly remember the PDP8. My father had one installed in the garage when I was a kid, and had my first experience of programming on it when I was 8 or so.

    On the subject of PDP8's, I was surprised to hear that they were used in communications in Hong Kong up until at least 1999 for a number of financial institutions. I worked with an old computer technician who earned a fortune maintaining these beasts. I wonder if they are still being used in HK after the Chinese reclaimation?.....

  5. Why? by BWJones · · Score: 5, Interesting

    but he is not just building a hardware clone, but trying to revive the whole idea of 12 bit computers!"

    So, after reading the article, I am still trying to figure out....Why revive the idea of 12 bit computers? Other than nostalgia (which is why people still drive Studebakers, old Ferraris and old Porsche's I suppose), what is the point?

    --
    Visit Jonesblog and say hello.
    1. Re:Why? by Kibo · · Score: 5, Funny

      I can't be sure about Studebakers but in the case of classic Ferraris and Porsche's I'm fairly certain the idea is still to get laid.

      --
      --Jimmy has fancy plans; and pants to match.
    2. Re:Why? by image · · Score: 4, Funny

      > I can't be sure about Studebakers but in the case of classic Ferraris and Porsche's I'm fairly certain the idea is still to get laid.

      I'm rather sure it is easier to get laid in a vintage Studebaker than a Ferrari.

      More leg room and all.

  6. Just how big *were* these things? by ekrout · · Score: 4, Informative

    Well, I found this old link in my bookmark manager. It details the history of EMS (sound studio) in vivid detail, including a listing of all their original equipment.

    The interesting part is that they posted high resolution images of their setup, which includes PDP-8 microcomputers!

    The image: http://www.ems-synthi.demon.co.uk/studiopz.gif
    The PDP-8s:
    Left side - Teletype for PDP8
    Left bay - PDP8/L Computer ("Leo") 4K x 12 bits (=6K bytes) 1.3 s cycle (0.77MHz), 32K Hard Disk Store
    Center left bay - PDP8/S Computer

    --

    If you celebrate Xmas, befriend me (538
  7. 12 bit is best for the US patriot by MosesJones · · Score: 5, Funny

    12 bit is much better for patriotic Americans.

    Think on it, power of two is a far to simplistic and dare I say it European system for the patriotic American. In Europe they use metres, kilometers, grams and kilgrams. All this regulation of structure around a number like 10 is typical of Europeans. Americans use sensible systems like 14 pounds (abbreviated sensibly to lbs as pounds clearly contains the letter l) to a Stone and 16 Ounces (again with a sensible abbreviation of oz) to a pound. Who needs these ridiculous regimented European systems that dicate that everything must follow a sensible pattern?

    Patriotic Americans arise. 12 bits to a byte, 7 bytes to a word, 13 words to a sentence and 1764 bits to a chain.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
  8. Re:what for by Detritus · · Score: 4, Informative

    Probably OS/8, which if I remember correctly, was a multi-user operating system. You can run a multi-user system on a PDP-8 with 32KW of core.

    --
    Mea navis aericumbens anguillis abundat
  9. What Gives? by SuperDuG · · Score: 4, Funny
    Everyone is waiting around for 64-bit chips to hit the home computer market at resonable prices, is this some kind of protest "bits, we don't need no stinkin bits".

    On a related note, I'm going to be designing my own 32 bit system. It's going to be pretty cool having an asthetically pleasing case, and run most all of the common software out there, but make the operating system run on top of bsd. Then I'll make really high-end systems, and education type systems, and laptops.

    Now I'm 95% of the way done with this whole project so I've hired an advertising firm to come up with some commercials. I figure I'll show joe average sixpack switching from the normal x86 windows machine, to my machine, I'll call them 'Switch-Ads'.

    My proprietary systems will never run on anything else, and you will be forced^H^H^H^H^H^H encouraged to only buy via our website.

    I'll call them MOC's ... and the company will be named Orange.

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
  10. Text based games by Technician · · Score: 5, Interesting

    I remember playing the father of the Zork series of games on a PDP 11/35 which was the newer 16 bit machine. The game was called Adventure. We got the game on a 5 Meg 14 inch hard drive (RK05) and wasted a bunch of paper making moves on a keyboard/printer terminal. The scrollback feature of the hardcopy was great for finding your way out of a maze again. Adventure has since been ported to CPM and DOS. The game is still a great game and will challenge the thought process. Take a pencil and paper to keep from getting lost. There is no map. Do a google search to find this true classic game. You should be able to run it in a DOS window on Windows 95 before DOS and Windows 95 expire at the end of this year. I'm still trying to figure out who the shadowy figure is who tries to get my attention.

    --
    The truth shall set you free!
  11. Re:what for by rainwalker · · Score: 5, Funny

    Now, I'm no expert on legacy computers, but a machine with 32KW of core sounds dangerous...suddenly my 80W Athlon looks puny!

  12. Re:what for by Waffle+Iron · · Score: 5, Funny
    while the geek factor may be high, what sort of 12-bit software is it going to run ? linux?

    In the bottom of a box somewhere in my basement, I've still got the BASIC source code for the Star Trek game we used to run on our high school's PDP-8. For each player's turn, it printed out the map of the current galactic sector along with any Klingon ships on the line printer.

    It's funny, I remember when we played that game we felt like we had godlike control over a mysterious and powerful machine. Now when I play computer games, I mostly feel like a twitching moron.

  13. Didn't these things have selectable word sizes? by GreyPoopon · · Score: 4, Interesting

    I remember seeing one of these puppies when I was in high school. It was no longer in service, but still had most of its internal components. In fact, I still have one of the "flip chips" that I took from inside it. Anyway, I believe I recall a dial on the front of the main panel that allowed you to choose the word size. I can't remember whether 12 bits was the minimum or the maximum, though. Can anybody verify that this existed, or am I just remembering some strange dream?

    --

    GreyPoopon
    --
    Why is it I can write insightful comments but can't come up with a clever signature?

    1. Re:Didn't these things have selectable word sizes? by HotNeedleOfInquiry · · Score: 5, Informative
      "or am I just remembering some strange dream? "

      It's a strange dream. The only 8's that had a knob on the front were PDP 8/e, 8/f, and 8/m and they all shared basically the same front panel design. The knob selected the register that would display on the front panel. It had no effect at all on the operational mode of the machine.

      --
      "Eve of Destruction", it's not just for old hippies anymore...
  14. Resurecting old hardware designs by randomErr · · Score: 4, Insightful

    Some mentioned earlier on this thread jokingly about making a super fast computer based on old architecture.

    Has anyone actually done that? Has anyone actually taken say, a Tandy Color Computer 3's hardware and boosted it up to something approaching our current standards? I'm not talking emulation on a x86 platform. I mean fully working with a processor with a native OS.

    Those architecture are so simple, with kernels so small you could print the hex binary out on a couple of pages. Imaging how fast an accounting package would be on a 1 gHz, or even a 200 mHz.

    I know this maybe off topic, but if someone could resurrect a 12-bit system to a more modern standard, why not other system. DOS is still viable in certain circumstances, why not these platforms.

    Think about an 8-bit controller with a serial connection, flash memory, and a RCA video out jack that is based on a C64. There is a TON of documentation for programming on something like that. Linux guruâ(TM)s could use C/C++ and Windows users could use Commodore BASIC.

    Oh well thatâ(TM)s just my ramblings.

    --
    You say things that offend me and I can deal with it. Can you?
  15. Six copies of Windows by Anonymous Coward · · Score: 5, Funny

    What else would be a 12-bit OS?

  16. XYZZY by MosesJones · · Score: 4, Funny


    And of course

    "with your bare hands?"
    yes
    you stand amazed as the dragon lies dead at your feet.

    Bugger graphics you can't beat a maze of twisty passages, all different.... or was it a twisty maze of different passages.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
  17. PIC is a bit more practical by Bruce+Perens · · Score: 4, Interesting
    If you want to program old microcomputer architectures, learn the PIC microcontroller, which is based on some Control Data Co. Peripheral and Input Controller (I may have the "I" wrong in that acronym). It's available in 12, 14, and 16-bit flavors. It doesn't have much of a stack. And it has the virtue that, as a $1 microprocessor, it's still practical for many projects, while a PDP-8 is really an intellectual exercise at this point.

    Bruce

  18. I loved the PDP-8 but I'm not convinced... by dpbsmith · · Score: 4, Interesting

    Until I actually started programming a PDP-8 (in assembly language, of course), I would never have believed that you could program comfortably in such a seemingly restricted instruction set. And, conversely, when I moved to a PDP-11, I thought I was going to revel in the freedom and power of all those instructions, all those registers, those addressing modes, those index registers... and the ability to access 65536 bytes directly.

    If C is "high-level assembly language," then the PDP-11 is "a computer that directly implements C."

    To my surprise, though, I didn't really find that a lot was gained. Programming a PDP-11 didn't really FEEL much easier or more powerful than programming a PDP-8. And it was amazing how much every program expanded in size. It's been said that the PDP-8 instruction set was the most core-efficient ever devised, and I'd believe that.

    On the other hand, when I tried programming a 6502, which on the face of it doesn't SEEM that much more restricted than a PDP-8, I just about went bananas.

    Having said all that, I'm still not sure I see the point. The sweet design for a computer has to depend on the economics of the hardware around it. Who cares? Even IF the "core-efficiency" thing were true, and even IF you could use standard RAM with a 12-bit processor and not waste any bits, and even IF it turned out that the PDP-8 design were, say, 30% faster and used 30% less RAM for a given program than x86... how could it matter?

    If the Alpha, which really WAS a superior design, wasn't superior enough to overcome Intel marketing, customer inertia, and only the normal amount of mismanagement, how can a PDP-8 be anything more than a curiosity?

    1. Re:I loved the PDP-8 but I'm not convinced... by dhogaza · · Score: 4, Insightful

      If C is "high-level assembly language," then the PDP-11 is "a computer that directly implements C."

      Actually it's fair to say that C was developed as a "high level assembly language" for the PDP-11, in other words you've got it slightly backwards. The postfix "++" and prefix "--" operators correspond to the PDP-11's autoindexing mode and when applied to a dereferenced pointer map directly to "(Rn)++" (once the pointer's been moved to a register.

      I doubt C would have these constructs if the PDP-11 didn't provide the corresponding register mode.

      As far as the PDP-8 being perhaps the most core-efficient design ever, speaking as someone who once developed system software for the PDP-8 and afterwards compilers for the PDP-11, yes, I'd say you're right.

      As long as you could fit program and data into 4096 12 bits words, that is. If your program could fit into 4096 12 bit words accessing data in the remaining 28KW was relatively easy due to the semantics of the CDF instruction. But once your code itself outgrew the first 4096 words things got bad in a hurry, because cross-bank subroutine calls using the CIF instruction were fairly expensive.

      Gordon Bell designed both the PDP-8 and the PDP-11, and they were designed with different goals in mind. The PDP-8 was designed to be programmed in assembly code - the page and memory bank addressing structure made the development of efficient compilers impossible (it's not an accident that no system programming language like C was never implemented for the PDP-8 architecture).

      The PDP-11, on the other hand, was the first minicomputer designed with the compiler writer in mind. The instruction set was very easy to generate code for, much easier than for many mainframe machines that in those days still often had a single accumulator and some auxillary special-purpose registers. The PDP-11's clean, general-purpose register design and (relatively) orthogonal instruction set made compiler writers like myself almost faint in anticipitory pleasure when the design was first announced.

      While Gordon Bell designed the PDP-8 and PDP-11, the original engineering plans for the PDP-8 are signed by DeCastro, who did the implementation. He submitted a rival design for DEC's 16 bit minicomputer that was no where near as clean or compiler-writer-friendly as Bell's PDP-11 design.

      When the PDP-11 design was chosen, DeCastro left and started Data General, and his 16-bit design became the oft-loathed Nova.

      CDC's 12-bit PIC design was much inferior to the PDP-8's, IMO ... the PDP-8 still serves as a great example of minimalist design in an era where each bit of the accumulator was implemented by a double-width card (each BIT, thirteen of these cards in all, 12 for the accumulator bits and one for the overflow LINK bit).

  19. Re:what for by dhogaza · · Score: 4, Informative

    OS/8 was a single user system. I wrote a multi-user kernel that ran multiple copies of OS/8 customized to hook into device drivers supported by my kernel. It supported virtual paging using a hardware hack first suggested by Richard Lary (the author of OS/8). We ran four or five users on a 32KW 8/E with a couple of RK05 drives.

    We never distributed it because paging performance without the hardware hack was very bad (every CDF instruction needed to be trapped and mapped in software) and the hardware hack was only developed for the 8/E and piggy-backed on one of the system boards destructively (i.e. once modified your 8/E wouldn't run without our hardware).

    But it was used internally by the company I developed it for until about ten years ago.

  20. KW == "kilowords" by red_dragon · · Score: 4, Informative

    Back then, the size of core memory was generally measured in machine words, thus in the case of a 12-bit machine like the PDP/8 with 32 k-words, the core would be: 32 x 12 bits == 384 k-bits, or 48 k-bytes.

    --
    In Soviet Russia, Jesus asks: "What Would You Do?"
  21. Re:what for by red_dragon · · Score: 4, Funny

    I remember when we played that game we felt like we had godlike control over a mysterious and powerful machine.

    That must've been a nice feeling, I bet. In these days, the mysterious and powerful machine has god-like control over you!

    --
    In Soviet Russia, Jesus asks: "What Would You Do?"
  22. Why we use base 2 instead of base 3 by Anonymous Coward · · Score: 5, Informative

    As nice as a base-3 system my be in theory, there are very good reasons for sticking to a base-2 system in hardware. As we are moving to smaller and smaller fabrication processes, it is necessary to lower the supply voltage Vdd. For example, now that we are approaching the 0.1um and 900nm levels (at least in research labs), Vdd is getting down around 1 Volt. However, the Vt (the threshold voltage needed to turn "on" a MOS transistor) stays the same, because it is determined by physical properties of silicon (mostly). That means we're losing headroom. To implement ternary logic, we would need 3 different voltage levels. We're simply running out of room to do things like that. You need to leave a noise margin around your "1" and "0" values for reliable operation. (For example, if Vdd=1V, you might consider 0.0-0.4 = "0", 0.6-1.0 = "1". Then a logic gate that "sees" 0.0-0.5 interprets it as "0", etc. If you had a "0" that was really 0.4V, you would hope that "noise" wouldn't bump it up above 0.5V, or else it would look like a "1".)

    The threshold voltage for transistors is somewhere under 0.2-0.3V usually (depening on the technology & lots of other parameters). So, you absolutely need a 0.6V supply. (0-0.3 = "0", 0.3-0.6 = "1".) Unfortunately, even with Vdd=1V, you'll get voltage drops happening throughout the chip ("IR drops" - as in I=current times R=resistance) so that the 1V may only look like 0.8V to some parts of your circuit.

    From the above discussion, it should be obvious that there really isn't room to shoehorn in a third voltage level. Also, a nice feature of CMOS design is that when a gate is sitting in a "0" or a "1" state, it is drawing no (well, negligible) power. Power is only dissipated while a value is switching from a 0/1 or vice versa. Off hand, I can't think of a way to do that with a third logic-value. Consider drawing even a tiny amount of current while a gate is sitting at logic "2" (or whatever you want to call the 3rd value). 1mA (milliAmp) times 1 million transistors on a chip = 1000 Amps. That chip's going to get a little hot!

    Ok, so you've probably got at least two questions, which I will try to answer in advance. If you've got other questions - I'll just let someone else tackle those.
    Q1) Why don't we just use a higher Vdd (supply voltage)?
    A1) If you're using smaller transistor widths, you simply can't. When you use a really thin gate (i.e. 0.1um) on a transistor, the breakdown voltage of the gate is reduced. If you use a higher voltage, the transistor melts. (You could use larger transistors, but that kind of defeats the whole purpose! We make transistors smaller because we can fit more on a chip, and they operate faster and use less power.)

    Q2) Can't we lower the threshold voltage?
    A2) Yes, to some extent. (It's not always easy.) But we don't want to. Even when a transistor is "off", there is still a very small amount of leakage current flowing through it. If you reduce the Vth, you also increase the amount of leakage current. In older technologies, this hasn't been much of a problem, because the leakage current was so small in comparison to the dynamic power consumption. But as we are putting more and more transistors on a chip, the leakage power consumption in modern chips can easily add up to 30%-40% of the total power consumption. There's also another reason. If you did that, you would be lowering your noise margin. And you don't really have much control over the noise (which is why it's called that). If you reduce noise margins too much, you'll find it almost impossible to create a circuit that actually functions reliably.

    Well, I hope that satisfies some of you (and doesn't get the rest of you too upset). VLSI circuit fabrication is a really neat field. Some of the tricks that are being used these days to fabricate that chip sitting in your computer and get it running at 2GHz (or aren't they up to 3GHz now?) are quite amazing - they're doing their best to cheat physics! Using a ternary counting system to build computers may have a lot of nice theoretical properties, but I can't see it displacing binary any time soon, except possibly in some really specialized applications. (There are always exceptions.)

    That's my $0.03 worth. (Hey, I typed a lot. I think that's worth at least $0.01 extra. Maybe $0.025?.) Any errors in the above are mine, but I won't admit it.

    1. Re:Why we use base 2 instead of base 3 by pjrc · · Score: 4, Informative
      Off hand, I can't think of a way to do that with a third logic-value. Consider drawing even a tiny amount of current while a gate is sitting at logic "2" (or whatever you want to call the 3rd value).

      It could be accomplished (fully static CMOS, no steady state current to maintain a 3rd logic level) with a second power supply, and circuitry designed to connect the output to either Vss, Vdd or Vmm (m for middle, for lack of any other name.. hmm) Brian Hayes's flawed assumption is that circuit complexity increases linearily with the number of logic levels. He writes "An obvious strategy is to minimize the product of these two quantities", refering to the radix and number of symbols to represent a number... but he just pulled that out of a hat. The required circuit complexity is not linear function of the radix, and a realistic model would quickly prove that binary is the most efficient. A fully static ternary output requires a minimum of four transistors, whereas binary requires only two.

      That chip's going to get a little hot!

      With a static CMOS circuit designed this way, power consumption would be approx 0.5 * C * f * V^2 (as it is in normal binary circuit). C will probably increase somewhat, as nearly twice as many transitors would be needed per circuit, yet fewer trits are needed that bits for the representing the same numerical range, so the increase in C probably wouldn't be by a factor of two. Presumably f (the clock frequency) would stay the same (well... I'll get to that...), and V stays the same (50% of transitions in binary are full supply voltage, in ternary 33% are full voltage and 33% are half voltage). Power comsumption would probably be similar.

      Saddly, f probably won't stay the same. C gets larger on each signal, and when driving to half voltages, the transistors that would connect to the Vmm supply get only half the effective gate voltage applied. So doubling the load and cutting the drive significantly is really going to hurt the circuit's speed.

      Dynamic logic tricks (pre-charged busses) and bicmos circuits add another interesting dimension that's too complex to worry about, though it'd be important for any microprocessor.

      But power consumption isn't likely to be a problem.

      Getting back to the old PDP-8, as I recall it was a binary machine. The motivation behind 12 bits was that 6 bits was ideal to represent both upper and lower case characters and plenty of symbols, and 12 bits (two chars) was plenty for useful math. I don't recall the popularity of 6/12 bit systems having anything to do with base-3 signaling.

  23. PDP-8 microprocessors by panurge · · Score: 4, Interesting
    This is so long ago I can't even remember the manufacturer, but there were at least 2 CMOS implementations of a PDP-8 processor. Has anybody observed that the instructions were based around core memory, so the accumulator was cleared when it did a store? If you could get the core again, a home computer with a PDP-8 processor and core memory would really benefit from a modbox with windows and lights.

    For some industrial control jobs, something like a PDP-8 or PDP-11 is in many ways ideal because you can see everything that goes on. It is actually possible for one person to understand the hardware, the microcode, and every single bit of the software. For me, that is the great pleasure of small embedded designs. I really think it would be good to have a teaching tool for CS that actually meant that the student could do a project and have a complete overview of the entire thing in this way. I'm far from knocking progress, but there are comments on this thread that are a bit about the kind of alienation we have now between hardware and software - most people have no real idea at all what the hardware does, and use terms like "cache" without even stopping to think about what is going on. So yes, let's have someone build an understandable modern PDP-8. It's less weird than the RCA1802 and easier to get your head around than the 8080.

    --
    Panurge has posted for the last time. Thanks for the positive moderations.