Slashdot Mirror


Developer Creates DIY 8-Bit CPU

MaizeMan writes "Not for the easily distracted: a Belmont software developer's hand-built CPU was featured in Wired recently. Starting with a $50 wire wrap board, Steve Chamberlin built his CPU with 1253 pieces of wire, each wire wrapped by hand at both ends. Chamberlin salvaged parts from '70s and '80s era computers, and the final result is an 8-bit processor with keyboard input, a USB connection, and VGA graphical output. More details are available on the developer's blog."

36 of 187 comments (clear)

  1. I can do 2^1 better by physicsphairy · · Score: 5, Funny

    I own a two-bit computer. My dad gave it to me. I know it is two bits because before he gave it to me he would often remark "I hate this ******* two bit computer."

    (Yes, it is also reproductive.)

  2. But does it run Vista? by VampireByte · · Score: 2, Funny

    Sorry, I just had to ask.

    --

    Run and catch, run and catch, the lamb is caught in the blackberry patch.

    1. Re:But does it run Vista? by dunkelfalke · · Score: 2, Informative

      not a single version of windows was designed to run on 8 bit cpus.

      --
      "It's such a fine line between stupid and clever" -- David St. Hubbins, Spinal Tap
    2. Re:But does it run Vista? by Anonymous Coward · · Score: 5, Insightful

      Why does this question keep coming up? Of course it does. It's turing-complete, so it's just a matter of writing the software. Not for the impatient users, obviously.

    3. Re:But does it run Vista? by Vanders · · Score: 5, Informative

      According to the fine article it has a 24bit address bus and an 8bit data bus, but presents everything via. a 16bit ISA. It's a bit like a 8088.

      Of course the ISA is probably nothing like an x86, so it still wouldn't run [MS|PC|DR|Free]-DOS anyway. Apparently it does have a C compiler, so perhaps you could port Bochs or Qemu to it and then run DOS on that. Emulated. On a TTL CPU running at 2Mhz (2Mhz slower than the original IBM PC). Maybe not then.

    4. Re:But does it run Vista? by morgan_greywolf · · Score: 4, Interesting

      Well, your response applies slightly more to Linux (one would just have to implement a Linux kernel on the 8-bit CPU, which isn't likely to happen to anytime soon) and doesn't really apply to Vista at all. MIcrosoft would have to implement Vista, and unless there is sufficient market demand for this 8-bit CPU, they'll never do it, since the incentive for them to write an 8-bit Vista is approximately zero.

      While it may be possible to write a Linux kernel for an 8-bit processor, this, too, is not likely, at least not a complete Linux kernel. Linux was pretty much designed and written from the ground up on a 32-bit processor with built-in low-level support for multitasking.

      So, IOW, while you are theoretically correct, from a practical standpoint implementing Vista or Linux or any other modern OS, with the exception of FreeDOS, is virtually impossible. Hence, the GP's joke retains its original humor.

    5. Re:But does it run Vista? by Anonymous Coward · · Score: 3, Insightful

      any Turing machine can emulate any other. an 8 bit CPU can do a 128 bit calculation, it just has to do it in small steps. you would probably need a lot of disk space.

      for example you store on disk the input and output of every transistor in a core2duo. then you iterate through each transistor and set the output according to the input. it may take a billion clock cycles to emulate one core2duo clock cycle, but its possible.

    6. Re:But does it run Vista? by Krneki · · Score: 4, Insightful

      Good enough for Space Invaders.

      --
      Love many, trust a few, do harm to none.
    7. Re:But does it run Vista? by uglyduckling · · Score: 3, Informative

      He didn't say it's a Turing Machine, he said it's Turing-complete, which means that (in theory) it can ran any conceivable program, with the obvious limits of RAM/Disk.

    8. Re:But does it run Vista? by Zero__Kelvin · · Score: 3, Funny

      "not a single version of windows was designed to run on 8 bit cpus."

      Which is only logical, given that no version of Windows was developed to run on 32 bit or 64 bit CPUs either. Which versions of Windows were designed to crash on various CPUs is another matter ;-)

      (Lighten up over-sensitive Windows Weeinie's with mod points. It is a joke)

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    9. Re:But does it run Vista? by wisty · · Score: 2, Funny

      Are we still talking about 8 bit machines?

  3. Re:A lenient definition of "make" by jcr · · Score: 4, Funny

    The functional components are all off-the-shelf TTL ICs.

    Well, he is only one person, after all. Even if he was studly enough to build it from vacuum tubes, he probably wouldn't be winding his own filaments.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  4. Re:A lenient definition of "make" by Anonymous Coward · · Score: 4, Insightful

    That's the way it used to be done: I wouldn't claim that DEC engineers did not "make" the PDP-1 because it was constructed from wire-wrap discrete components. The only other sensible option for someone who wants to "make" their own CPU at home would be to program an FPGA, which is certainly less interesting than what this guy has done.

  5. Re:A lenient definition of "make" by grolschie · · Score: 5, Interesting

    ...Even if he was studly enough to build it from vacuum tubes, he probably wouldn't be winding his own filaments.

    Uh, maybe not. :-)

  6. Correct! Six thousand cores by Dachannien · · Score: 5, Funny

    built his CPU with 1253 pieces of wire

    Farnsworth: Let me show you around. That's my lab table, and this is my work stool, and over there is my intergalactic spaceship. And here is where I keep assorted lengths of wire.
    Fry: Whoa! A real live space ship!
    Farnsworth: I designed it myself. Let me show you some of the different lengths of wire I used.

  7. Re:It must be early.... by David+Gerard · · Score: 2, Interesting

    You might, however, be able to adapt LUnix to it!

    --
    http://rocknerd.co.uk
  8. That's how we used to make all hobby computers by thomasdz · · Score: 5, Insightful

    Yeah, baby...
    Back before the days of the 4004, 8008, and 8080, when we built computers, we REALLY built computers.
    None of this: take a pre-built-motherboard, add a pre-built-power-supply, add a pre-built graphics card...

    oblig: get off my lawn

    --
    Karma: Excellent. 15 moderator points expire sometime.
    1. Re:That's how we used to make all hobby computers by hughbar · · Score: 5, Interesting

      Exactly, I used to burn little holes in my shirts with the ferric chloride http://en.wikipedia.org/wiki/Iron(III)_chloride that we were using to etch circuit boards (they were masked with wax or aluminium paint). My mother was not pleased with this.

      Then, as a private project, I built a half adder with washing machine relays but it never worked properly because of power supply problems (which was the 12v transformer from my train set).

      As parent already said (but they're so PESKY and disrespectful): Hey you kids, GET OFF MY LAWN

      --
      On y va, qui mal y pense!
    2. Re:That's how we used to make all hobby computers by frdmfghtr · · Score: 3, Funny

      Then, as a private project, I built a half adder with washing machine relays but it never worked properly because of power supply problems (which was the 12v transformer from my train set).

      Did you try using the "permanent press" cycle?

      --
      Government's idea of a balanced budget: take money from the right pocket to balance...oh who am I kidding?
    3. Re:That's how we used to make all hobby computers by earthforce_1 · · Score: 3, Interesting

      The ROM in the computer on the moon lander used ferrite rope memory that was hand strung from bins of cores pre-programmed as '1's and '0's. The assemblers literally had a bin full of 1's and 0's.

      Those where the days when assembly programming really meant just that.

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

      --
      My rights don't need management.
    4. Re:That's how we used to make all hobby computers by thomasdz · · Score: 2, Funny

      Ummmm... whoever modded me funny: I was being serious. (except for the "get off my lawn" part)
      I cringe whenever I hear a young whippersnapper say "I built my own computer over the weekend" because "building a computer" to me doesn't mean slapping together pre-built parts.
      (yeah, yeah, and I'm sure someone will respond to my thread saying when they were young, they built their own transistors from the sand in their backyard and smelted their own copper wires and I should get off THEIR lawn. :-)

      --
      Karma: Excellent. 15 moderator points expire sometime.
  9. Watchout Intel by mgblst · · Score: 5, Funny

    It is about time that Intel has some competition.

  10. Eek! Wire wrapping! by Sponge+Bath · · Score: 3, Insightful

    All the board level products I designed in the early 90s had to be prototyped with wire wrapping. Even if you are careful, by the time you do hundreds of connections it is almost inevitable there is some flaw. You might miscount a row of pins and attach to the wrong pin. The process of layering multiple connection to a single pin might damage a wire at the bottom. Wires might break or make a shaky connection that comes or goes.

    I would not ever want to go back to that, but it did two useful things: The plodding physical process of "I'm now connecting this to that." forced a slow, comprehensive walk through of your design which can reveal design mistakes. The other is honing debugging skills of intermittent problems: "Is this a design flaw or a wire making poor contact?".

  11. Er... WTF? by brunes69 · · Score: 5, Insightful

    To have fun is not a good enough reason to do something?

    I guess you would be happier if he was just another fat slob who "has fun" by watching American Idol?

    This is quite possibly the most asinine comment I have seen on Slashdot in a long time.

  12. Done before... in 16-bits by Elledan · · Score: 5, Interesting

    Magic-1, a 16-bit TTL-based, wire-wrap PCB computer.

    Slashdot posted an article on Magic-1 when it was completed years ago as well.

    --
    Site & blog: http://www.mayaposch.com
  13. Re:A lenient definition of "make" by morgan_greywolf · · Score: 3, Funny

    I'm gonna get off his lawn for sure!

  14. Fantastic! by adosch · · Score: 5, Interesting

    There needs to be more Steve Chamberlin's in the world. Personal (or enterprise, for that matter) computing hardware has hit a mass exploitation mark; computers today have such an abundance of resources, storage and processing power, any developer I've had to work with in the last half of decade sees the computer, much like Steve mentioned in TFA, as "...like black boxes... and understand what they do, but not how they do it." which leads to blatant disregard for anything, really sloppy ways of coding and development, zero ideology or best practice on how to truly harness and control resources efficiently. I don't expect anyone to have a physics background or be some die-hard electrical engineer, but there's definitely something to be said for growing up and working with early computer models where you had to give two shakes about that stuff. This is very cool, indeed.

    1. Re:Fantastic! by Vellmont · · Score: 3, Insightful


      which leads to blatant disregard for anything, really sloppy ways of coding and development, zero ideology or best practice on how to truly harness and control resources efficiently.

      I see lots of sloppy coding practices, but they have about nothing to do with hardware efficiency. (Think buginess and maintainability). Unless you're writing for specialized environments, the days of worrying about a few cycles of CPU, or a few kilobytes of memory are over (and good riddance).

      The world has changed and the challenges have changed. It's great to design your own CPU, and I'm sure he learned an enormous amount. But to pretend that we should all be thinking like it's still 1979 is absurd.

      --
      AccountKiller
  15. .. so some slashdot halfwit could criticises him by Anonymous Coward · · Score: 2, Insightful

    slashdot is really sucking hard these days.

    the guy makes an off-the-cuff comment about his motivation, and some braindead moron on slashdot criticizes him for it.

    HE MADE A FUCKING COMPUTER, YOU MOUTH-BREATHING DIPSHIT.

    of course he had motivation! how could you sum up the motivation in just a couple of words?

    what worthless piece of shit you are

  16. newsworthy? by SolusSD · · Score: 3, Informative

    This sounds like the kind of project any computer engineering undergrad curriculum would cover. Myself, I have had to design/build 4 different processors of varying complexity (basic mips, pipelined, superscalar, etc) during my years as an undergrad. Its cool nonetheless and by no means "easy".

  17. Love that it is on wired by WindBourne · · Score: 2, Funny

    Sounds like the right mag for this project, though make is the more appropriate one.

    --
    I prefer the "u" in honour as it seems to be missing these days.
  18. LBA-complete by tepples · · Score: 2, Informative

    He didn't say it's a Turing Machine, he said it's Turing-complete, which means that (in theory) it can ran any conceivable program, with the obvious limits of RAM/Disk.

    The limits of memory make the proper term "LBA-complete", where the required memory varies linearly with the size of the input, rather than "Turing-complete". But in practice, "Turing-complete" means LBA-complete.

  19. Re:A lenient definition of "make" by hattig · · Score: 2, Funny

    Damn right, the lazy fucker should have dug the iron ore up himself, then dug up the coal to fire his home-built kiln so that he could create his own iron. Of course he would have had to hand-build bellows to create steel, and maybe he should have home built EVERYTHING ELSE in the production pipeline, including hunting his own food every night from his homebuilt house. Luckily he invented his own language to communicate with other people so that he could coordinate things!

  20. Where does it say that? by argent · · Score: 3, Informative

    The article mentions "Z-80" among the parts used. The Z-80 itself is an 8-Bit CPU.

    The blog says "Build the CPU from scratch, primarily using basic 7400-series logic. No 6502, Z-80, etc."

    That's the only reference to the Z80 I can find in either the article or the blog.

  21. Re:A lenient definition of "make" by confused+one · · Score: 3, Insightful

    Clean rooms are needed at some level. Cleanliness is the key factor. If you're doing this in a garage workshop you'll not be doing 45nm process. You'll be closer to 45um (1/20mm), along the lines of the medium scale and large scale integration done in the '60's and '70's. If you're willing to accept losses and low yield, you can accomplish this using simple bench top equipment. Having done something similar in a university lab back in the '80s, I can assure you it CAN BE DONE.

  22. That reminded me of a Microsoft joke... by RudeIota · · Score: 2, Funny

    "Windows: A thirty-two bit extension and graphical shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor which was written by a two-bit company that can't stand one bit of competition."

    --
    Fact: Everything I say is fiction.