Slashdot Mirror


DIY CPU Demo'd Running Minix

DeviceGuru writes "Bill Buzbee offered the first public demonstration of the open-source Minix OS — a cousin of Linux — running on his homebrew minicomputer, the Magic-1, at the Vintage Computer Festival in Mountain View, Calif. The Magic-1 minicomputer is built with 74-series TTL ICs using wire-wrap construction, and implements a homebrew, 8086-like ISA. Rather than using a commercial microprocessor, Buzbee created his own microcoded CPU that runs at 4.09 MHz, and is in the same ballpark as an old 8086 in performance and capabilities. The CPU has a 22-bit physical address bus and an 8-bit data bus."

33 of 313 comments (clear)

  1. But does it run.... ? by iogan · · Score: 5, Funny

    Does it run Linux... I mean minix.. I mean... Oh forget it!

    1. Re:But does it run.... ? by Anonymous Coward · · Score: 5, Informative

      Even more importantly, can't you guys realise that none of these jokes are funny?

    2. Re:But does it run.... ? by maxwell+demon · · Score: 5, Funny

      Even more importantly, can't you guys realise that none of these jokes are funny? Sorry, the fun flag has not yet been implemented on this processor. Therefore it's not yet possible to determine which jokes are funny. While there already exists a jnf instruction (jump if not funny), it currently does nothing. We do have code like the following, though:

      ; post joke if funny
          test joke
          jnf .nopost
          call post_joke
      .nopost:
      ; continue reading slashdot
      --
      The Tao of math: The numbers you can count are not the real numbers.
    3. Re:But does it run.... ? by sr180 · · Score: 4, Funny

      Sorry, the fun flag has not yet been implemented on this processor.

      But does it support the TCP Evil Bit?

      --
      In Soviet Russia the insensitive clod is YOU!
  2. Minix was Sire of Linux by Anonymous Coward · · Score: 4, Informative


    Linus copied Minix. Well known fact !!

    1. Re:Minix was Sire of Linux by Dunbal · · Score: 4, Funny

      OBVIOUSLY the guy stole the code for Minix from SCO. Lawsuit at 11.

      --
      Seven puppies were harmed during the making of this post.
  3. Next step by The+MAZZTer · · Score: 4, Funny

    Beowulf Cluster

  4. Pimp my Magic-1 by ddrichardson · · Score: 4, Interesting

    I'm quite impressed that he went to the trouble of the cutaway side panel and the illumination. With all those switches and lights on the front we truly are one step closer to Star Trek technology.

    --
    A thistle is a fat salad for an ass's mouth...
  5. cousin? by m2943 · · Score: 4, Funny

    the open-source Minix OS [CC] -- a cousin of Linux

    That must be the same sense in which Dick Cheney is "a cousin of" Barak Obama.

    1. Re:cousin? by Anonymous Coward · · Score: 5, Funny

      If you're implying that Barack Obama was originally conceived and developed as a freer alternative to Dick Cheney, then yes, that's right.

    2. Re:cousin? by kwerle · · Score: 5, Informative

      Linux was originally host compiled on Minix. It's original filesystem was Minix compatible. Linus originally announced Linux on the Minix newsgroups. They're both *nixen. I think that cousin is a pretty good description. Though maybe Linux as a bastard child would be more accurate.

  6. Truly news for nerds!! by Pedrito · · Score: 5, Insightful

    This is the ultimate nerd project... The only way it could be more of a do-it-yourself project would be building it with all analog parts. I'm very impressed. The guy appears to have been really meticulous. Everything appears to be pretty well documented... I've only gone through about 1/4 of the stuff he has available. It's a lot of material. I definitely wouldn't have the patience to do a project like this...

  7. Heh heh heh... by Pollux · · Score: 5, Funny

    From the site about the homemade processor:

    Except when I'm working on it, Magic-1 is connected to the net. It serves web pages at http://www.magic-1.org

    Not any more!

    (I know, I know, some of you might be thinking..."How could you be so cruel as to post a link on /. to a server that's only running at 4 MHz? Have you no mercy?" My response: Nope.)

    1. Re:Heh heh heh... by Joebert · · Score: 5, Funny

      Hey when that guy signed up for the ass-kicking contest he knew damn well he only had one leg !

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
  8. Coolest, dude ... ever... by tjstork · · Score: 5, Insightful

    The guy went and built his own cpu from scratch, then ported his own o/s to it.

    Really, just don't get more hardcore than that....

    I salute him!

    --
    This is my sig.
  9. Re:Wow. by RattFink · · Score: 4, Insightful

    Somehow I don't think the goal of this project was to build a processor to compete with commercially available processors. A small hint might be the fact that there isn't likely a huge market for a processor pushing 5lbs.

    --
    "I don't necessarily agree with everything I say." - Marshall McLuhan
  10. Re:Is there a kit version? by RattFink · · Score: 4, Funny

    Here is your kit:
    Part 1
    Part 2

    Good Luck :)

    --
    "I don't necessarily agree with everything I say." - Marshall McLuhan
  11. Doomsday paranoia by Dan+East · · Score: 5, Interesting

    I find projects like this very comforting. Maybe I'm mildly paranoid, but every now and then I wonder what life would be like if society collapses. Most of the technology we enjoy today can only be produced via huge infrastructures made possible by large, advanced, stable societies. This project shows that fundamental computing technology can be reproduced with relative ease on a very small scale with limited resources. That's a great thing. Time to make some hard copies of this computer design!

    Dan East

    --
    Better known as 318230.
    1. Re:Doomsday paranoia by philicorda · · Score: 5, Interesting

      I'd like to think that a guy who can build a computer from TTL understands them at a basic enough level to design one from almost anything.

      Even a computer built from relays is still very useful if the alternative is pen and paper.
      I've sometimes wondered how far back in history you'd have to go before the technology was incapable of making a reliable relay and a battery. Not such an easy thing, but in some ways easier than a mechanical computer like Babbage's difference engine. (The fine tolerances required for the machined parts gave Babbage so much trouble.)

      Perhaps two hundred years ago, maybe more.

      I suppose the technologically hardest part is drawing the fine copper wire. For the rest, people have been using molds with molten metal for millennia. Chemical batteries are not too hard to make if you have enough amphora. :)

  12. Re:Wow. by serviscope_minor · · Score: 5, Insightful

    All that to get a fraction of the performance of, say, a $10 embedded CPU that can already run Linux. Nice.

    I guess you don't program computers, since you'll never be as good as, say, Donald Knuth, so you may as well give up. You don't do any sports, since you'll never by Olympic standard. No music for you either, since you're not up to the standard of Nigel Kennedy. I'm sure you have no hobbies, since someone else could do it better too. If fact, you may as well sit in a hole your entire life since whatever you do, someone will probably do it better. Come to think of it, there's probably someone out there better at sitting in a hole than you.

    Now, please hand in your geek card at the door as you leave.

    --
    SJW n. One who posts facts.
  13. Whats amazing is if he did it just for fun by Caltheos · · Score: 5, Interesting

    At college, I took a Digital Electronics course where the course project was to design and build your own microprocessor from scratch. From paper RTN descriptions to the full working prototype on a PLC. Our group started out with 6 people, 3 of whom dropped the class and the other two couldn't program their way out of a paper bag. I wrote the entire process in VHDL in under 2 months, the other two barely pulled of just the documentation (not that I envied them). I was pretty pissed at my professor since I used a design flaw in the PLC board to double the speed of one word instructions and he took of points for it even though it ran fine... What you get when the prof is more interested in procedure and forcing people to work in groups then the actual science.

    --
    We've secretely replaced the Enterprise's dilithium crystals with Folgers crystals. Lets see if they notice.
    1. Re:Whats amazing is if he did it just for fun by p0tat03 · · Score: 4, Insightful

      If you want to exploit clever loopholes in things, go into science. As a fellow engineer I completely understand why your prof took off marks for your trick - it's bad engineering practice. You were in school to train to be a professional engineer, and with it comes certain responsibilities and mindsets. Sure, this one project was for a college course, and nobody's ever going to die from it, but in your school projects you are expected to show the same due care and diligence that would otherwise be expected of you in the workplace.

      A better course of action would be to document the loophole and suggest in your documentation that, in certain, very controlled circumstances, this can be used to optimize performance (but it's a PLC, seriously, performance?). As engineers we're expected to do things by the book, following accepted standards, and if we deviate from it we are to document it fully with gigantic red underlines or whatever. This is the type of procedure that keeps planes in the sky and cars on the road.

  14. Re: not online because on display by __aajbyc7391 · · Score: 4, Informative

    The reason the Magic-1 isn't in service as a webserver is that, at the moment, Bill's showing it off at the Vintage Computer Festival.

  15. I thought this kind of work was dead. by Anonymous Coward · · Score: 5, Funny

    I can just picture Woz now saying "The force is strong in this one. "

  16. Re:yawn by that+this+is+not+und · · Score: 4, Insightful

    If you're just gonna use an FPGA, why not just design a virtual PC purely in software.

    This thing is cool. Most current 'seniors' would hold a wire-wrap gun wrong and injure themselves.

  17. Re:yawn by Detritus · · Score: 4, Insightful

    It's more educational to do it with MSI TTL and wire-wrap. You learn something about power distribution/filtering, race conditions, fan-in and fan-out, etc. All of the analog things that you need to know in the real world.

    --
    Mea navis aericumbens anguillis abundat
  18. Re:yawn by bitrex · · Score: 4, Insightful

    I bet you'd also tell the team who built a replica Wright flyer a few years back that they were wasting their time, and would be better off building a Zodiac sport plane kit.

  19. meh by Anonymous Coward · · Score: 5, Funny

    He's just a fucking script kiddie as far as I'm concerned. Real men mine and smelt their own metal. Consumer metal bought over the counter just doesn't offer enough customisability if you really want to do a project like this right.

  20. I can imagine this guy's pleasure by wtarreau · · Score: 5, Interesting

    I can imagine the pleasure he got doing this.

    When I still was a teen, I used to spend full week-ends doing such nerd stuff.
    I wrote a PC-compatible BIOS for my Sanyo-MBC550 (eg: here: http://www.seasip.info/VintagePC/sanyo.html/),
    and was the happiest person of the world when I first got MS-DOS 5.0 to boot on it !

    I also designed a simple microcontroller-based robot from printer parts
    just for fun, and I was really impressed when I saw it turn around the
    whole room for the first time (it could detect obstacles by sending
    ultrasonic pulses).

    Also, modding a 8088 motherboard to accept a second 8088 on the 8087 socket
    was definitely fun. There was no cache coherency problems at that time. You
    just had to invert A19 to make the second one boot at 512 kB and the bus arbiter
    let them work in parallel. It was really cool to have an 8088-SMP :-)

    Those were project during which the time did not exist. I can imagine that this
    guy spends his whole spare time on his project without noticing the night come,
    then the day... Sometimes I wish I still had that much spare time!

    Sincere kudos to him and great respect for his work!
    Willy

  21. How many concurrent users? by Colin+Smith · · Score: 5, Funny

    2Gb RAM, 3GHz CPU, 20Gb of disk - Windows Vista: 1
    4Mb RAM, 4MHz CPU, 500Kb ram disk - Minix: ?

    --
    Deleted
  22. Re:Wow. by DarkOx · · Score: 5, Insightful

    All that to get a fraction of the performance of, say, a $10 embedded CPU that can already run Linux. Nice. Thank you for your post. I will never understand how even on a site targeted mostly at geeks people can't get that:

    Some times people do/make things they could easily buy because they want to, to learn, to feel connected to those who came before them and did it on thier own, or to just have something they built with their own hands.

    Please if you can't understand that at least don't mock others who do~!
    --
    Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
  23. more than that!!!!1 by sentientbrendan · · Score: 4, Informative

    and minix copied unix, which copied multix.

    Windows copied Macintosh, which copied the Lisa (also from apple), which copied the Xerox Alto and Star, which copied the oNLine System (1965).

    If by "copied" you mean "got ideas from." In science this is not considered cheating. It is considered doing your homework. If you don't look at other successful designs before making your own, there can be no progress. We'd end up reinventing the wheel 100 different broken ways, instead of coming up with better and better iterations on the same theme.

    Linux was "inspired" by Minix, but succeeded in its place because of higher performance and a more open development environment.

  24. Vacuum tubes are easier than transistors by Robotbeat · · Score: 5, Interesting

    If I were going to make a computer myself from a medieval technological standpoint, I'd make it out of vacuum tubes. It's really the only way (well, discounting relays, but I guess if you can make relays you can pretty much make vacuum tubes...).

    The other parts aren't that hard. You have capacitors (just need sheets of metal foil and paper for between them), inductors (coils of wire), resistors (again, wire), and diodes (basically just a simpler version of a vacuum tube... i.e. without the grid).

    If you look at some of the intricacies of medieval jewelry and such, I wouldn't think it's too much of a step to make vacuum tubes.

    Like this: first, learn to make copper wire. Next, make a chemical battery. Then, use the battery technology to develop permanent magnets... Make a lot of money by selling excellent "artificial lodestone" compasses to everyone. Buy more slaves. Then, wrap the wire into a generator coil, along with the magnets. Using water-wheel technology, you now have a reliable source of (at this point alternating current) electricity.

    Next, make diodes:

    Learn to blow glass. Put two electrodes in a glass bottle with a heater coil on one of them, and also a valve connected to a tube. Fill the bottle with mercury, then using just gravity, you drain the bottle of mercury without letting air in: this can create a good enough vacuum to make the diode work. The only difference between this and a vacuum tube is that there's no "grid" between the electrodes.

    The heater coils can be heated with the AC generator, and these diodes can be used to convert your electricity to direct current, enabling you to more cheaply produce magnetic compasses in order to fund your purchases of slaves.

    Simply train them to make you more vacuum tubes, and you can make a computer! In the middle ages! Also, your diode/vacuum tube technology is the same needed in order to make light bulbs.

    Really, in order to make a computer using medieval technologies, you'd need slave labor, or serfdoms (which is the same thing).

    I mean, there's pretty much no way a man can be expected to make enough vacuum tubes to make even a simple computer... I'm thinking it'd take you thousands of tubes...