Slashdot Mirror


Rebuilding the PDP-8 With a Raspberry Pi

braindrainbahrain writes: Hacker Oscarv wanted a PDP-8 mini computer. But buying a real PDP-8 was horribly expensive and out of the question. So Oscarv did the next best thing: he used a Raspberry Pi as the computing engine and interfaced it to a replica PDP-8 front panel, complete with boatloads of fully functional switches and LEDs.

62 of 92 comments (clear)

  1. Gotta call out lots of the internals in parallel.. by jeffb+(2.718) · · Score: 2

    ...so that you can wire up more MSI TTL to add instructions or other features. That's the charm of the old-school PDP-8. (Okay, not the really old-school DTL version, but the version I remember in a friend's dorm room...)

  2. Ah, PDP8 by X10 · · Score: 1

    I programmed a PDP8 in Fortran. In the good old days....

    --
    no, I don't have a sig
    1. Re:Ah, PDP8 by kenaaker · · Score: 2
      We had a PDP 8/I that the EE guys built a high speed paper tape reader for. One I/O addresss made it go forward, the other backward. Watching various sort algorithms run against data on the tape were educational in a unique way.

      We also had a paper tape based 4K 2Pass Algol compiler that worked, it waited until you reloaded the freshly punched tape of intermediate format to start the next pass and gave you an loadable paper table on the final pass.

      Not bad for a machine that had 8 Opcodes.

    2. Re:Ah, PDP8 by Thor+Ablestar · · Score: 2

      Oh, the paper tape... When I was a Comsomol member there were FS-1500 tape readers made in Chechoslovakia. They were really high speed - 1500 bytes per second. The tape just flew through them nonstop. When the first Western readers arrived (made in Poland by US license), they were slow as snails. But the Western tape punchers were really good.

    3. Re:Ah, PDP8 by hackertourist · · Score: 1

      Interesting; things apparently regressed before they could progress. The first paper tape reader for a computer (Colossus) read at 5000 characters/s in normal operation, and could be cranked up to 9700 char/s (85 km/h), but the tape wasn't strong enough to survive that speed for long.
      Of course, the Official Secrets Act made sure the Colossus design wasn't available on the open market.

  3. Raspberry PI? by ArcadeMan · · Score: 1

    I don't know anything about the PDP-8, but isn't using a Raspberry PI completely overkill? Wouldn't a much more basic ATmega328P be enough for the task?

    1. Re:Raspberry PI? by rochrist · · Score: 1

      He should have gone for a PDP-11! As an aside, simh is a really awesome piece of software.

    2. Re:Raspberry PI? by Darinbob · · Score: 2

      Ya, it's kind of a non-story really. Ok, he used a replica panel, and you can't just buy those online easily. But a raspberry pi running an emulator is just decidedly not geeky. I can run Unix version 1 and 6 and BSD 2.9 on my Mac and PC, but I don't tell people I rebuilt a PDP-7 or PDP-11 or VAX.

      Meanwhile there ARE people out there who have built real computers and CPUs from scratch as a hobby, without any emulators behind the scenes. Check out the http://members.iinet.net.au/~d... web ring. Those are infinitely cooler I think.

  4. Re:Why??? by gstoddart · · Score: 4, Insightful

    I've long since stopped asking why, and just gotten on with "why not?"

    Building a replica of a platform gives you the experience of doing it, the understanding of the process, familiarity with the tools you're using ... and possibly some bragging rights among your fellow nerds.

    Why pimp out your CPU case with neon? Why put spinners on your rims? Hell, why have cars anything other than black, which should suffice for anybody? Why play video games? Why watch TV?

    None of these accomplishes anything other than filling in time or soothing your own need for something you think is cool.

    To you, it's opportunity cost. To someone else, it's "why the hell not?" It's something to do they find amusing.

    Compared to half the crap you see on YouTube or anywhere else with humans ... I don't see this as being worse than anything else.

    With all the dumb crap humans do every day, there's at least some coolness to this.

    And I'm betting you can identify at least 10 things you do every week which you couldn't answer "why" if pressed on the issue.

    --
    Lost at C:>. Found at C.
  5. Re:Why??? by rochrist · · Score: 1

    Why would someone want an antique car?

  6. Re:Why??? by Anonymous Coward · · Score: 1

    You're looking at it wrong. You are trying to understand it using economics, and of course it wouldn't make sense from that standpoint. He is probably looking at it from an emotional or respect standpoint, or a desire to understand those people that came before him, and that is worth more to him.

    Now go kill your gramps because frankly he's outdated and society's resources could better be spent on someone younger.

  7. Re:Why??? by jones_supa · · Score: 1

    The car is useful.

  8. Now build me a pocket-sized Cray X-MP by barlevg · · Score: 1
  9. Re:Why??? by morgauxo · · Score: 2

    No, antique cars really aren't. If you don't believe me then I challenge you to drive a model-T on an expressway.

  10. FPGAs by jones_supa · · Score: 3, Interesting

    We really should be preserving old computers in HDL in a form as loyal as possible to the original. Then we could always reimplement them in FPGA and make "real" hardware cheaply enough until the sun burns out.

    It's doable, although these are big efforts.

    There is already this Japanese guy who has done it for the SNES.

    1. Re:FPGAs by trumpetplayer · · Score: 1

      I was about to post this. In fact, I bet the resulting HDL code for this particular computer can be implemented in a technology that's cheaper than FPGA, like perhaps commercial flash PLD. Also things seem to be moving towards OpenCL which is behavioural and C-like, which may help people who are used to that paradigm, like people who do MCUs including the Raspberry Pi.

  11. Re:Cut My COmputing eye teeth on the original by dimeglio · · Score: 1

    I remember in school using a PDP 11/70 with RSTS/E.

    --
    Views expressed do not necessarily reflect those of the author.
  12. Fond Memories by Gim+Tom · · Score: 4, Interesting

    My first "personal computer" was a PDP-8i at Georgia Tech in the late 1960's. The ISy school had one in a small room in the basement with an ASR TTY (33 I think). There was another room with at least one more TTY with punch and you would code on that machine and after signing up for time on the PDP-8i you would take your paper tape in and after toggling in the boot sequence and loading the BIN tape then the Assembler you would run your tape to punch out your assembled program to run on the machine. I may be leaving out a number of steps since that was a while back.

    in any case that was my first taste of writing any code in a machines assembly language and even then I dreamed of having my very own PDP-8.

    This is a cool project and even for an Old Man I can fully relate to why it was done. I think this experience led to a life long career working with computers ranging from Big Iron mainframes to PC's networks and a variety of internal and Internet facing Servers. Yes, even though retired, I have a couple of Arduinos and Raspberry Pi's around to play with! Learning new things has kept me going all these years.

  13. Re:Why??? by gstoddart · · Score: 1

    Because you are an idiot.

    Snark from an anonymous coward is about as useful and purposeful as any of my examples.

    Ergo, by your own logic, you are an idiot.

    --
    Lost at C:>. Found at C.
  14. SBC6120 is real PDP-8 style hardware by cruff · · Score: 3, Interesting

    The SBC6120 uses a Harris 6120 CPU chip which is a PDP-8/e-like microprocessor. It has a companion FP6120 front panel with switches and lights, which is a scaled down version of an older modle rack mount PDP-8 front panel. You built them from kits, loads of fun for those who like that sort of thing. Mine has a CF card for the hard drives (a whole whopping 2 MB each under OS/8!). You may be able to find an unbuilt kit, as the maker of the kit, Spare TIme Gizmos, will not be making any new ones going forward.

    1. Re:SBC6120 is real PDP-8 style hardware by g4ugm · · Score: 1

      Even the SBC6120 is getting hard to find , I waited for two years before one became available and that's the one with no front panel. But it is a great beast...

  15. Re:Why??? by TWX · · Score: 3, Insightful

    He's snarky, but there's a point when 'additions' start to harm the machine rather than to improve it. Neon tubes with their associated high voltage and extremely high cycling rate draw a lot of power for not real benefit and introduce electromagnetic noise into the computer. Spinners on car wheels mess with the rotational and steering dynamics of the vehicle and remove one cue to other drivers as to what the vehicle is doing as they can no longer look at the wheels to see if the car is starting to pull forward or not.

    There are tradeoffs between aesthetics and functionality. Sometimes the majority of the population feels that those aesthetics are worthwhile and sometimes they don't. Personally I want the indicators on my computer to actually convey something, so having a huge light behind a large transparent open panel in the side that's on just because the computer is powered on doesn't help me while individual indicators for fans and disks could. On the other hand, if I spent considerable time and skill dremelling-out a logo through the side panel, then perhaps the powerful light might actually add something to the experience.

    If someone wants to reimplement some antiquated hardware for their own kicks that's fine. I've got dumb RS-232 terminals on my desks at both work and home, so I am not immune to this either. I don't expect others to find it cool either though, as there aren't that many people that grew up pre-GUI or in the BBS days in this hobby anymore, so I do it for myself, not for anyone else's approval.

    --
    Do not look into laser with remaining eye.
  16. Why not a PDP 11? by Virtucon · · Score: 1

    The 8 was a great system but the 11 was far better.

    Just checking ebay, this guy selling the 8E is smoking something. He thinks it's a mainframe.

    However this PDP-11 can be had for a reasonable price.

    The point being, you can run emulation software on commodity hardware but I guess as the TFA indicates he wanted the nostalgia look. He could have easily just mounted an LEDs behind the panel with small pattern generator circuit instead of using the Pi.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
    1. Re:Why not a PDP 11? by mjwalshe · · Score: 1

      I remember helping to install one of those RX01 dual floppys took two of us to lift it - those little PDP 03/s where built like a brick out house

  17. Re:Why??? by Virtucon · · Score: 1

    Nostalga. I used to have a beer fridge sitting inside of an old S/370 system cabinet. Sure it took up 20 times the space but it was still cool to look at in the garage.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
  18. Re:Why??? by TWX · · Score: 1

    I could commute with a Model-T. I live ten miles from work and while I usually take the freeway, I could drive on surface-streets the entire way and add no additional distance to the drive and probably only take another ten minutes to make the trip. I wouldn't even be impeding the flow of traffic either.

    A Model-T would serve my driving needs 200+ days a year without any significant change to my routines. It could probably serve me another 50-100 days a year if I'm willing to take a little longer to get to places further away than work that I normally take the freeway for.

    --
    Do not look into laser with remaining eye.
  19. Re:Why??? by TWX · · Score: 1

    Yeah, I almost bought a surplus PDP-11 from my college surplus about fifteen years ago. Held off because I'd have had to unplug my stove to power it, and my small apartment was not suited to having a minicomputer in it. It would have cost me less than $100 for two racks worth of equipment.

    --
    Do not look into laser with remaining eye.
  20. Learned on a PDP-5 by trenobus · · Score: 1

    I first learned machine language on a PDP-5, which was similar to the PDP-8, but limited to 4KB of memory. Mostly I just used it to toggle in small programs through the console switches, but I think we got the FOCAL interpreter running on it at one point. Those were the days. To think now there is a generation of programmers who have known nothing but JavaScript.

  21. Re:Why??? by Coren22 · · Score: 1

    It is still faster than this Tesla:

    http://en.wikipedia.org/wiki/N...

    As he doesn't move around too much anymore.

    --
    APK likes to ask for responses to the same things over and over. Maybe he just likes the responses?
  22. Why would a PDP8 be expensive? by Ralph+Spoilsport · · Score: 1

    My cellphone has more storage and processing power. You would think a PDP8 would be worth little more than scrap at this point.

    --
    Shoes for Industry. Shoes for the Dead.
    1. Re:Why would a PDP8 be expensive? by tomhath · · Score: 1

      You would think a PDP8 would be worth little more than scrap at this point.

      Which is why almost all of them were scrapped years ago. And anyone who is still running something on one really, really, needs spare parts.

    2. Re:Why would a PDP8 be expensive? by istartedi · · Score: 1

      Absent interference in the market by governments and/or corporations, price is determined by supply and demand, not capability. I can't think of any rational reason for anybody to interfere with the market for PDP8s, so I'm going to assume it's a free market. Although economic theory with its neat little graphs might give one the impression that it's some kind of science, the actual shape of the supply and demand graphs (and thus the equilibrium price) are determined by emotional "ugly bags of mostly water".

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    3. Re:Why would a PDP8 be expensive? by SeaFox · · Score: 1

      My cellphone has more storage and processing power. You would think a PDP8 would be worth little more than scrap at this point.

      You know, at some point things stop being "old toys", "old cars", and "old computers that aren't powerful enough to do anything moden on", and become antique, and collectable.

    4. Re:Why would a PDP8 be expensive? by Bing+Tsher+E · · Score: 1

      Dusenbergs are expensive now, too. So are Pierce Arrows.

      Even though you can get a used Dodge Neon for a lot less.

    5. Re:Why would a PDP8 be expensive? by AteEm · · Score: 1

      As an owner of a real PDP8/m, I can assure you that spare parts are available. The beauty is, you can actually troubleshoot down to part that can be purchased off the shelf; today's systems are fixed by board swapping, lest you waste your time finding out the problem is in some custom IC. Of course, I'm not sure anyone does that kind of troubleshooting anymore :(

  23. Re:Why??? by ckatko · · Score: 1

    "Why?" is the goto card for people who don't achieve anything.

    The things you learn re-inventing the wheel can be applied in various parts of your future projects.

    It's like asking why solve a math problem? Obviously, to learn how to do math for the chance that you see a problem that you DON'T have an easy answer already available. Hell, that's what an entire engineering degree is. It's not "can you solve problem X" because problem X will almost never occur in real life in an isolated environment. The purpose is "can you solve these kinds of problems." And how do you learn to solve problems? By looking at ones people have already solved.

  24. Re: Gotta call out lots of the internals in parall by Anonymous Coward · · Score: 1

    You toggle in a few instructions to get it to load in your operating system, or compiler, off the high speed paper tape reader. In my case while in college, it was to load the FOCAL time sharing system, so three or four of us could write and run programs at ASR-33 teletype terminals.

  25. Re:Why??? by jythie · · Score: 1

    'Useful' is subjective, esp living in a society where our basic needs are so easily met (at least for the type of person who is likely posting here).

    While people might wrap up their reasons in something with more authority or social support behind it, ultimately, most projects we do are 'because it is cool'.

  26. Re:Why??? by jythie · · Score: 1

    If an antique car can be classified as 'useful', then so can an antique computer. It can still do all the things a computing machine can do.

  27. Re:Why??? by jythie · · Score: 1

    Economics is generally a terrible way to try to understand a motivation since, broken down to its roots, it has no value judgements in it. Every economic model or approach takes an outside value preference as an input.

  28. Expensive?? by cnaumann · · Score: 1

    Are old PDP8s really expensive? But I bet no one saved the boxes they came in...

    1. Re:Expensive?? by AteEm · · Score: 1

      These days $2000-$3000 will get you a somewhat running PDP8/e/m (SSI/MSI); the 8/a is much cheaper ($1000) as its processor is LSI.

    2. Re:Expensive?? by jimmydevice · · Score: 1

      I think most 8's came on a pallet, Not a box.

  29. Re: Cut My COmputing eye teeth on the original by jblues · · Score: 1

    Maybe an important discovery could be made in the process. I still appreciate classical music and play baroque trumpet - it lead me to some great discoveries about the mathematics of musical scales and possibilities in modern compositional music.

    --
    If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
  30. Re: Cut My COmputing eye teeth on the original by jblues · · Score: 1

    Grrrr - comment above supposed to be a reply to Camel Pilot's interesting point below (btw a fair point of view not sure why it was moderated down)

    --
    If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
  31. Re:Why??? by trumpetplayer · · Score: 2

    > Hell, why have cars anything other than black, which should suffice for anybody?

    You don't live in a hot, sunny place, do you? :-D

  32. 173010 !!! by jpellino · · Score: 1

    Wait, no, that was the boot loader address for the PDP-11. Never mind.

    --
    "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
  33. The 6100 Processor- an authentic PDP-8 in hardware by Bing+Tsher+E · · Score: 1

    For people who want to build a real hardware silicon PDP-8 computer, there exists an LSI version of it, the Harris/Intersil 6100 processor. It's a standard 40-pin package integrated circuit.

    It's a static CMOS processor that can be clocked down to zero hertz if you like (the registers don't need 'refreshing' so it can be clocked as slow as you like) and it's a 12 bit processor and implements the PDP-8 Instruction set.

    They haven't been made for years but they exist in NOS (new old stock) quantities and can be purchased at times.

    It's certainly more interesting to have a real hardware implementation of a PDP-8 and the 'cheap' way is with a 6100 processor.

  34. Re:Why??? by Bing+Tsher+E · · Score: 1

    Hell, why have cars anything other than black, which should suffice for anybody?

    Ahem. I drive a stripped-model black Ford Ranger. It's about as equivalent a Ford to the Model T as was made in 2006.

  35. Re:Why??? by kenai_alpenglow · · Score: 1

    I remember one of my EE classes (microprocessors class? it's been several decades) was basically "how to design and build a PDP-8 using logic gates". One of the more interesting classes I took. Building up the thing from various blocks gave good insight. So, yes, it can be valuable to "resurrect" old hardware.

  36. Re:Cut My COmputing eye teeth on the original by Thor+Ablestar · · Score: 2

    When my first PDP-11/70-like arrived I just took a random book from it's dox. After 2 hours of reading I got a terrible headache, threw RSTS away and installed Unix v.6. It was needed to make a binary patch of Fortran-4 compiler to make it understand Russian but we made a really useful system. We had 5 terminals and forgot about the machine time allocation sheets. And students who did the graduation practice printed their graduation works with printers, not with mechanical types. It was a little victory.

    The time allocation sheets went back when IBM PC arrived (1988). It was a good eye candy not applicable to anything serious. And only about 1998 IBM PC became powerful enough to replace the PDP-11.

  37. Re:Why??? by Thor+Ablestar · · Score: 1

    Same for me. But you could install a memory rack over the i/o rack in processor box and find a HDD controller instead of removable packet drives. It would give you an usable PDP-11 in a half-height 19-inch rack (Processor/memory, FDD and HDD in it, magtape controller). I fed my PDP-11 from a simple outlet while the electricians invented the special attachment.

  38. BESM-6... by Thor+Ablestar · · Score: 1

    I'd like to make a BESM-6 emulator with PIC18. But nobody knows it's privileged instructions for now which means that it's impossible to recreate it fully.

  39. Re:He was a little too late by AteEm · · Score: 1

    DANG! Even three or four years ago the '8 would have fetched over $1000, easy.

  40. PiDP + many real PDPs @ VCF East next month by evanak · · Score: 1

    Oscar is exhibiting his PiDP-8, along with 10 or so other people showing * real * PDP-8s, at next month's Vintage Computer Festival East -- and they'll all be up-and-running, including an original 1965 "Straight-8". Slashdot published a video about the event just a few weeks ago.

    1. Re:PiDP + many real PDPs @ VCF East next month by g4ugm · · Score: 1

      Will be going to see this

  41. Re:Cut My COmputing eye teeth on the original by Duhavid · · Score: 1

    Gompers secondary?

    --
    emt 377 emt 4
  42. Re:Why??? by jones_supa · · Score: 1

    I see an antique car being far more useful than an antique computer.

  43. You could always build one from TTL by g4ugm · · Score: 1

    Whilst buying one may be out of the question, it is possible to build a PDP-8 "clone" from raw TTL. I know this was done on at least one college course, and there are books out there to support it...

  44. Re: Gotta call out lots of the internals in parall by farrellj · · Score: 1

    A friend of mine was able to pick up a cheap used PDP-8 in the 1990s with many of the bells and whistles (paper tape reader/writer & teletype, etc), and a full set of software. I remember toggling in the bootstrap loader to start the whole bootstrapping of the operating system. Ah...memories.

    --
    CAN-CON 2019 - Ottawa's only book oriented Science Fiction Convention! October 18-20, Sheraton Hotel, Ottawa, Canada h
  45. Re:Why??? by morgauxo · · Score: 1

    What would it cost to buy?
    How much maintenance would it require?
    Special fuels? Kind of oil? Required additives?
    Suspension and handling? Comfort?
    What would potholes do to it?

    Now compare all of that to an older but still decent condition used modern car that is way easier to find and obtain.

    Now why is the model T still useful?

    Note.. I'm not arguing that it might not provide the owner with some form of enjoyment. I like all sorts of things that I do not consider ot be 'useful'.

  46. Re:Cut My COmputing eye teeth on the original by jerel · · Score: 1

    Too bad you posted as AC. Were you involved with the Newport-Mesa Unified School District in Orange County, California in the 70's? I ask because that was my first computer too, and the configuration you mention was the same as ours. Not sure how many other TSS-8 systems there were, but I think the bulk of them did not. I went to Newport Harbor High, and was a system administrator (we called them System Managers) for a year or so.

    --
    Some days it's just not worth chewing through the restraints.