The Dan64: A Minimal Hardware AVR Microcomputer

[Juan] sent us his writeup of a microcomputer he built using an Arduino UNO (AVR ATmega328p) and some off-board SRAM. This one’s truly minimalistic.

Have a look at the schematics (PDF). There’s an Arduino, the SPI SRAM, some transistors for TV video output, and a PS/2 connector for the keyboard. That’s it, really. It’s easily built on a breadboard in a few minutes if you have the parts on hand. Flash the Dan64 operating system and virtual machine into the AVR and you’re good to go.

Now we’ve seen a few 6502-based retro computers around here lately that use a 6502 paired with a microcontroller for the interfacing, but they’ve all been bulky three-chip affairs. [Juan] wins the minimalism prize by using a 6502 virtual machine implemented in the AVR to reduce the parts count down to two chips for the whole shooting match.

Using a 6502 virtual machine was a crucial choice in the design, because there are 6502 cross compilers that will let you compile and debug code for the microcomputer on your macrocomputer and then load it into the micro to run. This makes developing for the micro less painful.

How does it load programs you ask? The old-fashioned way of course, using audio files. Although rather than using the Kansas City Standard as in days of yore, he encodes the data in short and long pulses of square waves. This might be less reliable, but it sure saves on external hardware.

Continue reading “The Dan64: A Minimal Hardware AVR Microcomputer”

Machining A Skeleton Clock In 10,000 Easy Steps

Another day, another interesting YouTube channel. [Chris]’ Clickspring channel and blog is something you don’t really see much these days: machining parts with a lathe, a mill, and no CNC. The project [Chris] is working on now is a clock based on a design by [John Wilding]. It’s very large, and all the parts are constructed out of raw brass and steel stock.

Of course making a clock isn’t just about cutting out some parts on a lathe and turning them on a mill. No, you’re going to need to make the parts to make those parts. [Chris] has already made a tailstock die holder for his lathe, a clamping tool to drill holes in rods, and a beautiful lathe carrier to hold small parts.

All of this is top-notch work, with custom tin lapping tools to put a mirror finish on the parts, and far more effort than should be necessary going into absolute perfection. The clock project is turning out great, although there are several more months until it will tick its first second.

Selected videos below.

Continue reading “Machining A Skeleton Clock In 10,000 Easy Steps”

Use The Internet To Get Your Kadabra To Evolve

If you grew up playing Pokemon Red or Blue, you might have moved far away from your childhood friends by now. If you’re still playing Pokemon Red or Blue, you can now literally reconnect with these friends using [Pepijn]’s new and improved Game Boy link that lets players trade Pokemon over the internet.

Based on [Pepijn]’s previous work building an Arduino-based Pokemon storage system (which was inspired by a separate project that was able to spoof trades), the device allows a Game Boy (including Pocket, Color, and Advance versions) to connect to the Internet via a Teensy shield. The online waiting room software is called TCPoke which facilitates the Internetting of the Game Boys. From there, all you have to do is connect via the project’s wiki!

The TCPoke software is available on the project’s site. Also, be sure to check out the video below which shows a demonstration of how the software works. There is noticeable delay compared to a direct link between Game Boys, but it functions very well. We didn’t see this link system work for a battle, but it would be interesting to see if it is possible. If so, you might never have to go to a Pokemon League meeting again!

Continue reading “Use The Internet To Get Your Kadabra To Evolve”

Visualizing Digital Logic With EL Wire

[Bob] and [Aubrey] run the System Source Computer Museum a little north of Baltimore, Maryland. For an exhibit, they thought a visual representation of digital logic and came up with a two-bit binary adder. Yes, it’s just a full adder and exactly what you would find somewhere in the second or third chapter of any digital logic textbook. The way they’re illustrating how a full adder works is the killer feature here: they’re using EL wire for all of the wires connecting the gates.

The full adder is implemented with an Arduino Mega, but the interface is the real show here. On the left side of the display there are four illuminated toggle switches that show virtual electrons flowing through EL wires, through gates and finally out to a seven-segment display. The EL wires are controlled with an EL Escudo Dos shield – a good thing, since there are a lot of lines between switches, gates, and outputs.

You can check out [Aubrey]’s demo video that also shows off how they built it below. If you’re around Baltimore, you can check out the display at the museum.

Continue reading “Visualizing Digital Logic With EL Wire”

Apple ][ Disk Emulation

A while ago, [Steve] over at Big Mess ‘O Wires created a device that would emulate old Macintosh disk drives, storing all the data on an SD card. No, it’s not SCSI; the early Apples had a DB-19 connector for connecting 400 and 800kB disk drives. It’s a great piece of hardware for bootstrapping that old Mac you might have sitting around. Apple ][s, IIs, and //s use an extremely similar connector for their disk drives. A few rumors on some forums led [Steve] to experiment with some ancient bromide-stained boxes, and the results are interesting to say the least.

After pulling out an old //e and IIgs from storage, [Steve] found his Macintosh Floppy Emulator didn’t work with the Apples. This was due to the way Apples could daisy chain their disk drives. There’s an extra enable signal on the connector that either brings Drive 1 or Drive 2 into the circuit. Macs don’t care about this signal, but Apples do. Luckily the 800kB drives for the IIgs have an extra board that handles this daisy chain and drive eject circuitry.

After removing this extra board from a IIgs drive and connecting it to the Floppy Emu, everything worked beautifully. With schematics and a working circuit in hand, it’s now a piece of cake to build an adapter board for using the Macintosh Floppy Emu with Apples, or to build that circuit into a future revision of the Floppy Emulator.

Considering how much trouble [Steve] had bootstrapping these Apples without an SD card to Floppy drive emulator, we’re thinking this is great. The current way of making an Apple II useful is ADTPro, a program that uses audio to communicate with Apples over the cassette port. In case you haven’t noticed, microphone and headphone ports on laptops are inexplicably disappearing, making a hardware device like a SD card floppy emulator the best way to bring disk images to 30-year-old hardware.

Generating The Mandelbrot Set With IBM Mainframes

[Ken Shirriff] is apparently very cool, and when he found out the Computer History Museum had a working IBM 1401 mainframe, he decided to write a program. Not just any program, mind you; one that would generate a Mandelbrot fractal on a line printer.

The IBM 1401 is an odd beast. Even though it’s a fully transistorized computer, these transistors are germanium. These transistors are stuffed onto tiny cards with resistors, caps, and diodes, than then stuck in a pull-out card cage that, in IBM parlance, is called a ‘gate’. The computer used decimal arithmetic, and things like ‘bytes’ wouldn’t be standard for 20 years after this computer was designed – 4,000 characters of memory are stored in a 6-bit binary coded decimal format.

To the modern eye, the 1401 appears to be a very odd machine, but thanks to the ROPE compiler, [Ken] was able to develop his code and run it before committing it to punched cards. An IBM 029 keypunch was used to send the code from a PC to cards with the help of some USB-controlled relays.

With the deck of cards properly sorted, the 1401 was powered up, the cards loaded, and the impressive ‘Load’ button pressed. After 12 minutes of a line printer hammering out characters one at a time, a Mandelbrot fractal appears from a line printer. Interestingly, the first image of the Mandelbrot set was printed off a line printer in 1978. The IBM 1401 was introduced nearly 20 years before that.

Hackaday Retro Edition: A New Commodore 64 Case

Some time in the 80s, the plastic injection molds for the Commodore 64C, the Commodore 128, and the Plus/4 were shipped from somewhere in Asia to the great Commodore Mother Brain in West Chester, Pennsylvania. These molds had already produced a million or two cases, but there were some issues with production – too much waste, or something like that. A mechanical engineer took a look at the molds, sent out some recommendations, and moved the 2500 pound molds to a corner of the building.

For some time after a gray day in April, 1994 these molds sat in a West Chester, Pennsylvania warehouse until they were sold off. They made their way to a plastics manufacturer around Dallas, Texas where they sat for twenty years. All things must pass, sometimes several times, and this plastics manufacturer closed down, contacted an auctioneer, and began to sell off some of their equipment.

The hero of our story, [Dallas Moore], owns a small business, buying and selling everything from Barbie dolls to antiques. He found an ad for an auction at a plastics manufacturing plant in the newspaper, and figuring he could find something interesting, headed out to the auction preview.

The auctioneer at this liquidation sale asked [Dallas] what he did, and mentioned there was something pretty cool tucked away in a warehouse full of hardened steel molds. Something about molds for old computers. These were the molds for the Commodore 64C, Commodore 128, and the Commodore Plus/4. A literal crucible of computing history, stacked on a pallet and up for sale.

The auctioneer said one of his friends was interested in the molds, and thought they would make a neat coffee table. Something about this struck [Dallas] the wrong way and for the entire drive home he thought about someone taking history and turning it in to a piece of furniture. He decided to buy these molds and lugged the three 2500 pound pieces of hardened steel to his shop. Not wanting to let a good piece of history go to waste, he contacted another plastics manufacturer, planned a run of a thousand or so Commodore 64C cases in red, white, and blue. [Dallas] is funding the whole production run through Kickstarter.

To me, this is one of the greatest retrocomputing successes in recent memory. There will always be someone putting SD cards in old computers, getting them on the Internet (and especially pointed towards our retro edition), and cloning complete systems in FPGAs. This, though, is a clear example of someone recognizing the historical importance of several thousand pounds of steel, realizing there’s a market out there, and doing the leg work to remanufacture these pieces of history.

I put in my $45 for a red one, and I tipped off [Bil Herd], designer of the C128 and Plus/4, to this Kickstarter. He’s been talking with [Dallas], there I’m sure he’ll chime in on the comments with some retellings of Commodore battle stories.

If it arrives in time, I’ll be bringing my limited-edition red 64C case to the Vintage Computer Festival in Wall, NJ April 17-19. That’s a plug for the event. If you’re in the area, you should come.

EDIT: [Dallas] has a different story of where the molds came from.