Homebrew 68k extravaganza

Introduced in 1979, the Motorola 68000 CPU was first used in very expensive and very high-end workstations from the likes of Sun and SGI. As the processor matured it became well-known for its use in the original Macintosh, early Amigas, and even the TI-89 graphing calculator and a few video game consoles such as the Sega Genesis and Atari Jaguar.

A few days ago when I posted a homebrew computer build based on the 65816 CPU, I lamented the lack of builds using the venerable Motorola 68k. Hackaday readers were quick to point out the many homebrew computers making use of this classic CPU, and I’m glad to post them here.

First up is an amazing 68008 build featuring an IDE disk interface, a floppy disk interface, 10base-T Ethernet connectivity, a real-time clock, and two SID synthesizer chips. As far as features go, this build takes the cake. Pity I can’t find a writeup.

Here’s a 68000-based computer built around the S-100 bus. Like the first computer to use the S-100 bus, the Altair 8800, this computer is plugged into a backplane that breaks out the data, address, and interrupt lines to every device on the bus.

Of course, no mention of backplane computers would be complete without a Eurocard version. [N8VEM] built a 68000 computer able to be plugged in to a backplane along with an IDE controller card and a display controller.

Finally, in true ‘giant mess of wires’ spirit, [Dajgoro] sent in his 68k single board computer featuring 512 kB of RAM and a 16k ROM. [Dajgoro] also took the time to wire in a PIC microcontroller, allowing him to expand his computer far beyond what vintage components would allow.

The 68k was – and still is – a very powerful CPU that far surpasses the capabilities of the 6502 and Z80 homebrew computers we see from time to time. Short of building a 486 or Pentium-based computer from scratch, building a 68k machine is one of the crowning achievements of hardware hackery, and something we hope to see more of in the future.

Comments

  1. Skitchin says:

    This came up as a related video on youtube – pretty neat work around! http://www.youtube.com/watch?v=3TLg3MAHWCg

  2. charliex says:

    68K’s were still in use not that long ago lotus and lamborghini used 68K derivs for their ECU’s freescale only retired it a few years ago.

    still one of my fav processors.

    • JB says:

      Retired? So it is a good thing I have a couple in a bin, just in case the one in the Atari ST kicks the bucket.

      • asdf says:

        Freescale are still making 68000s. They’re marked as “Not Recommended for New Design”, but there’s so many of them in old embedded devices I don’t think they’ll ever be able to completely retire them. Low volumes do make them kind of expensive though.

      • lwatcdr says:

        They where designed into the weapon system of the 688 class submarine. Until those have all get upgraded I doubt that you will seen an real end of 68k production.

  3. Peter says:

    The 68K is also MUCH friendlier to work with than its competition, the 8086, in that it has a flat address space.

  4. WA says:

    The student manual for the Art of Electronics provide a series of labs that result in a stand alone computer based upon the 68k series of chips…

  5. asdf says:

    If anyone’s interested in building a 68k-based machine there’s still a huge amount of old info out there, such as the DTACK Grounded archives.

  6. nes says:

    I’m pretty sure I’ve seen a homebrewed 486 based machine floating about on the Web, but my Google-fu is weak today. IIRC it was built on perf board with point to point wiring and had four EPROMS for bootstrapping it (as the bus width is fixed at 32-bit on the i80486).

  7. In the early 80’s, I always felt this CPU would outshine the x86, I loved the flat address space. I always felt, and still do feel the x86 is a bandaid upon bandaid cpu with different operating modes.

  8. Donald Becker says:

    Sun and SGI did not yet exist in 1979.

    The 68000 was used in the earliest Unix workstations, such as the MIT Nu machine (which later gave the Apple NuBus its name). I was lucky enough to have a well used hand-me-down “old Nu” as my personal workstation in 1983. It had a vertical format bit-mapped screen with mouse-based GUI that would only seem slightly old-fashioned today.

    One notable aspect of 68000 based machines was they used a pair of 68000 processors. There was a bug (more of a “thinko”) in the page fault interrupt hardware. As a work-around, the second 68000 actually handled the page fault and fixed things up so that the primary CPU could continue.

    • Coda says:

      I used to write 68k assembler stuff, and I never came across the term ‘page fault’. I assume that term comes from processors which use segmented addressing like the x86, so do you mean something like a bus error or something else?

      • asdf says:

        A page fault is essentially accessing virtual memory that is not backed up by physical memory.

        The 68000 didn’t support virtual memory, but you could build a system using an external MMU. IIRC the problem was that when a page fault occurred, the faulting instruction could not be restarted. The solution was to use two processors in parallel, one running slightly ahead of the other.

      • Coda says:

        Ah, thanks for clarification.

  9. Kent Sorensen says:

    The well equipped 68008 in the youtube video is clearly a commercial product. The manufacturer logo is clealy visible as a silk screened Kiwi bird. Anyone able to identify the company from that ?

    Perhaps it came in kit form, or a bare PCB like the 68000 from the (amazing) German computer magazine C’T that I put together in 1985. I wish I had pictures of it.. All TTL, no PALs or custom chips. It was fun to play with and to build expansion cards for.

  10. lwatcdr says:

    Maybe a port of Contiki would be cool.

  11. Jonathan Wilson says:

    Imagine how much better off the world would be if IBM had chosen the 68000 for the original PC instead of the 8086…

  12. hanbee says:

    FTR:

    The 68000 was used in a whole lot of pinball machines back in the 80s and even in the 90s on the late WPC machines from Williams a 6809 was in place.

    The new Stern machines changed to Atmel IIRC, but is was used over a really long era

  13. eike says:

    oh the 68008-s100 board sucked sooo much.
    and it was so slow. it was unusable in the context of nuclear physics at least.

  14. qwerty says:

    I loved the 68K, a great cpu with lots of registers and wonderful assembly language. No Intel alternative was even remotely comparable both in power and ease of programming, but Intel eventually won just because they came first in the personal computer world.

  15. zokier says:

    How does this 68k compare to modern MCUs, like Cortex-M4 (eg. STM32F4)? Could you even build a comparable “computer” with a MCU?

    • asdf says:

      By modern standards a 68000 is very slow, and as a microprocessor it doesn’t have all the built-in peripherals you might expect.

      Microcontrollers are designed to run code from internal memory. Some can run code from external memory, but usually at a cost – either in speed or by imposing restrictions on usage (eg. no simultaneous CPU and DMA access). So there are MCUs you could use for a general-purpose computer, but you have to be careful when picking one.

  16. phuzz says:

    Sod all the other uses, the 68000 was the CPU in the Amiga 500, my first computer.

  17. Russtopia says:

    Even if Freescale has retired the architecture, one can go to Opencores.org and use one of the fully-verified VHDL re-implementations available there if one wants to make a hardware system based around the 68k.

  18. d hamilton says:
  19. cantido says:

    > I lamented the lack of builds using the
    > venerable Motorola 68k.

    You need to work a bit harder on your research then… There are tons of people doing stuff with real 68000s (The 68sec000 is very nice for FPGA projects) and with TG68. I’m still looking for someone that has some real 68040V chips..

    • asdf says:

      Mouser shows “factory available” 68040Vs, but they cost well over $100 each.

      • cantido says:

        Yep,

        They are crazy expensive. The 68sec000 and 68040V are the only 3.3v chips in the series though (the 68060 is 3.3v core but 5v IO from what I gather).
        I think freescale have actually stopped production of all of the real 68000 series expect for maybe the 68sec000.. and even those are hard to get in small quantities. I had a quote from a Chinese dealer for $25 for the 68040FE25V .. considering how hard it is to get less rare real 68060s from China I’m not sure if will bother testing the water..

      • asdf says:

        I don’t think they’ve stopped producing them altogether, because in the parametrics they have a separate “No Longer Manufactured” category. However I’d guess they only crank a wafer through production when a large customer comes looking for spare parts.

        Any parts bought from China would almost certainly be recovered from scrap or fakes. The 68040/060s heydays predate the rise of Chinese electronics manufacturing, so there’s just no reason for lots of these chips to be sitting around in the region.

  20. jrd says:

    For real old-school homebrewing of the 68000, you have to read the original, early 80′s “DTACK Grounded” newsletters, written by one of the first hobbyists to try to use in a simple system, not a heavy Unix or fancy GUI box. Heavy with the hardware and software details. Be prepared to set some time aside! All written by one engineer with very strong opinions, right in the middle of the 80′s PC craze.

    http://www.easy68k.com/paulrsm/dg/

  21. imboardru says:

    No mentions of the derivative 68HC series of micro-controllers?!? My entry into hacking micros was with their F1, which fully exposed the address and data busses. I burned their \”buffalo\” boot loader onto a 27c16 eprom using a GR-2272 in circuit tester. Those were the days.

  22. Northerndiy says:

    For the first machine, there was a link at the bottom of the youtube video creator’s comments….http://www.ist-schlau.de/hardware.html

  23. zimzim says:

    many years ago in a different life, I designed a 68030 based computer with a open design. the board had a ISA bus and a boot prom that could use IDE drives and a VGA controller. it has a dram controller that could talk to 4Mb of SIMMs. at one time a protected mode Minix was ported to it. it worked well enough to be able to compile itself.

    the design files and source code for the bootprom live on in the net…

    http://retro.co.za/68000/ftp.cs.indiana.edu/pub/goo/mc68030/

    a series of articles were published in circuit cellar.

    I might have some pictures and even have one of the wirewrap prototypes and maybe one of the final PCBs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,052 other followers