Retrotechtacular: Here’s How They Programmed The EDSAC Computer

When you write a program for your computer, whether it is a desktop machine, a microcontroller, or a supercomputer, the chances are that you use software tools to help you get the job done. High level languages, compilers, linkers, assemblers, debuggers, and code libraries have become so integrated that in many cases you will barely be aware of their existence. To all intents and purposes this huge toolchain will be the computer. But the first computer programmers had none of these luxuries. They had to hand assemble their own binaries, check them by hand, and debug them by guessing what had happened when they failed.

EDSAC I, 1948, W.Renwick with 5 hole tape reader and Creed teleprinter. Copyright Computer Laboratory, University of Cambridge. Reproduced by permission. [CC BY 2.0 UK]
EDSAC I, 1948, W.Renwick with 5 hole tape reader and Creed teleprinter. Copyright Computer Laboratory, University of Cambridge. Reproduced by permission. [CC BY 2.0 UK]
EDSAC (Electronic delay storage automatic calculator) was the first computer operated by the University of Cambridge in the UK and one of the first few computers in the entire world when it was built in the late 1940s. It is the subject of the 1951 film you’ll find embedded below. Originally produced for a conference, the video sports a 1976 introduction and narration from the machine’s creator Professor Maurice Wilkes. It doesn’t take us through the design of the machine itself, instead it concentrates on the workflow required to program it.

The Paper-Heavy Process of Programming EDSAC

To illustrate the programming process, a committee of people who would now call themselves computer scientists, but probably then called themselves mathematicians, breaking a formula into subroutines before the code is laboriously hand assembled. The linking process is performed manually too by the secretary who types the code into a teletype for transfer to a punched tape. When a library function is required she reaches into a filing cabinet for the roll of tape containing it before running it through a tape duplicator to add it to the program. Finally the completed tape is checked and added to a job queue that consists of a row of hooks on the wall. Never complain that your toolchain is unwieldy again!

The original EDSAC was decommissioned in the late 1950s after serving the university and spawning a commercial version, the LEO, which became the first ever computer manufactured for use in commerce. That was not the end of the EDSAC story though, because in this century a team at the National Museum of Computing at Bletchley Park set about recreating EDSAC as an exhibit. And as luck would have it a member of that team was at the recent Electromagnetic Field hacker camp to give a talk about their work which you will also find below.

Building a Faithful Reproduction of EDSAC

Tony Abbey gives us both a history of the machine and a description of its architecture, followed by a run through their efforts in rebuilding it. You may be surprised by some of the unexpected facts from the talk. For instance, while all the tubes used in the EDSAC are still available, their bases are not. Equivalents were sourced from China, but team members had to modify them with dental drills.

They also needed to manufact the 1940s-style tube chassis, and the solution to that problem happened to be just down the road. Bletchley is part of modern-day Milton Keynes, a post-war new town that is also home to another famous name: Marshall amplifiers. Tube amps are built in a surprisingly similar way, so they took on the manufactured challenge. Not all the parts of the new EDSAC are original though. The memory used mercury delay lines in 1949, but for 2018 recreation the computer has a delay line using nickel wire and modern components. Tony admits that even that has caused problems, and there is a simulator using a microcontroller.

You can see the restored EDSAC at the National Museum of Computing. We visited it in 2016, and you can read our review. Meanwhile if you are an FPGA wizard, you can even have a virtual EDSAC of your own.

Continue reading “Retrotechtacular: Here’s How They Programmed The EDSAC Computer”

Apple’s Best Computer Gets WiFi

The greatest computer Apple will ever make isn’t the Apple II, it isn’t the Bondi Blue iMac, it isn’t the trash can, and it certainly isn’t whatever overheating mess they’re pushing out now. The best computer Apple will ever make is the SE/30, at its time a server in a tiny portable shell, and capable of supporting 128 Megabytes of RAM thirty years ago.

Over the years, people have extended and expanded the SE/30 to absolutely ludicrous degrees, but now we have a simple way of adding WiFi to this classic computer. Over on the 68kmla forums, [ants] discovered a tiny cheap card that could easily serve as an Ethernet to WiFi bridge. After attaching this card to a Danaport Ethernet card and bending some aluminum for a bracket, they had a WiFi antenna sticking out of the back of a 30-year-old computer.

But adding a WiFi card to an old computer is nothing new — this could have been done with a Pi, or if you’re a hacker, a TP-Link router flashed with OpenWRT. To really do this right, you’ll need integration with the operating system, and that’s where this build goes off the rails. [ants] wrote a WiFi extension for System 7 (with the relevant GitHub)

The problem with the Vonets WiFi card is that configuration has to be done through a browser. Since there are no modern browsers for classic macs, this meant either pulling out a PowerBook or doing the configuration through your daily driver desktop PC. The WiFi extension gets around that by giving a classic mac the ability to configure the Vonets card almost automatically. This extension also looks like how you would configure the WiFi on a modern mac, complete with the WiFi icon in the toolbar. It’s beautiful, and one of the rare examples of modern 68k mac programming.

As for what you can do by adding WiFi to a 30-year-old computer with a 16MHz processor, the answer is a resounding, ‘not much’. Your choice of browsers is limited (iCab seems to be the best), but you can load the Google homepage slowly. HTTPS isn’t going to work, and the Internet right now is full of megabytes of Javascript cruft. If you find a nice, lightweight web page — such as the Hackaday Retro Edition, for example — you’re looking at a capable web browsing machine. Of course, the real use case for giving the SE/30 WiFi is file transfer around the home network, but still: it’s WiFi for the best computer Apple ever made.

Bask In The Warm Glow Of DIY Incandescent Bulbs

With most of the apparatus and instruments we now take for granted yet to be developed, the early pioneers of the Electric Age had to bring a lot to the lab besides electrical skills. Machining, chemistry, and metallurgy were all basic skills that the inventor either had to have or hire in. Most of these skills still have currency of course, but one that was once crucial – glassblowing – has sadly fallen into relative obscurity.

There are still practitioners of course, like [2SC1815] who is learning how to make homemade incandescent light bulbs. The Instructable is in both English and Japanese, and the process is explained in some detail. Basic supplies include soda-lime glass tubing and pre-coiled tungsten filaments. Support wires are made from Dumet, an alloy of iron, nickel, and cobalt with an oxidized copper cladding which forms a vacuum-tight seal with molten glass. The filament is crimped to the Dumet leads and pinched into a stem of glass tubing. A bulb is blown in another piece of tubing and the two are welded together, evacuated with a vacuum pump, and sealed. The bulbs are baked after sealing to drive off any remaining water vapor. The resulting bulbs have a cheery glow and a rustic look that we really like.

Of course, it’s not a huge leap from DIY light bulbs to making your own vacuum tubes. That’s how [Dalibor Farny] got started on his handmade Nixie business, after all.

Building A Hardware Store Faraday Cage

Most Hackaday readers are no doubt familiar with the Faraday cage, at least in name, and nearly everyone owns one: if you’ve ever stood watching a bag of popcorn slowly revolve inside of a microwave, you’be seen Michael Faraday’s 1836 invention in action. Yet despite being such a well known device, the average hacker still doesn’t have one in their arsenal. But why?

It could be that there’s a certain mystique about Faraday cages, an assumption that their construction requires techniques or materials outside the realm of the home hacker. While it’s true that building a perfect Faraday cage for a given frequency involves math and careful attention to detail, putting together a simple model for general purpose use and experimentation turns out to be quick and easy.

As an exercise in minimalist hacking I recently built a basic Faraday cage out of materials sourced from Home Depot, and thought it would be interesting to not only describe its construction but give some ideas as to how one can put it to practical use in the home lab. While it’s hardly a perfect specimen, it clearly works, and it didn’t take anything that can’t be sourced locally pretty much anywhere in the world.

Continue reading “Building A Hardware Store Faraday Cage”

Box Forts For Adults: Best Practices And Design Strategies

Many a grown up can reminisce about building various architectural wonders in their youth. Forts, whether based on boxes or blankets, were the order of the day, and an excellent way to spend a rainy Sunday afternoon.

It just so happens that there is no law against scaling up such activities once one has reached the age of majority. However, to build a structure at this level takes some careful planning and consideration, and that is the purpose of our article here today.

Location, Location, Location

To avoid an awkward conflict, be sure to warn your housemates of impending construction well ahead of time.

The first major consideration when starting your build should be the area in which you wish to do it. Building inside has the advantage of avoiding the weather, however hard floors can lead to sore knees when crawling around. Additionally, you’re a grown up now, so it’s less likely your peers will be impressed to hear you sat inside a box in your living room.

No, if you’re going to do this right, you’ll want to go outside. A nice flat lawn is best, providing soft ground and plenty of space. The challenges of the elements will guide your work – sitting inside your cardboard home feels all the more satisfying when you’re cosy and dry as you listen to the patter of rain on the roof. There’s a real sense of accomplishment when you’ve built something that can survive the harsh outdoors, and besides, the views are better, too. Continue reading “Box Forts For Adults: Best Practices And Design Strategies”

World’s Smallest LED Blinky

[Mike Harrison] is known for incredibly tiny soldering. Now he’s claiming a “world’s smallest” in the form of a stand-alone LED blinker, and we think he’s got the record.

He brought it along with him to Friday’s Beagleboard Bring-a-Hack, and we got a close look at the diminutive assembly. The project was dreamed up when [Mike] saw an announcement from Seiko about a new supercapacitor in a tiny package (likely the CPH3225A giving the blinky a footprint of 3.2 x 2.5 mm). With that in hand he added a PIC 10f322 microcontroller in a SOT23 package, an 0603 smoothing capacitor, and an SMD LED.

With such a tiny package, the trickiest part is figuring out how to charge that supercap. [Mike] used a drill and hand files to make a square hole in a CR2032 battery holder to serve as a jig. The bottom of the supercap rests against the battery as a pogo pin makes the second connection to a terminal on the side of his assembly. It charges quickly and will happily blink away for about six minutes after charging.

Mike set out to make two of these, but dropped the second supercap when at his workbench to be forever lost in the detritus common to every electronics workshop. When he first pulled it out at the meetup we were on a rooftop terrace and we were more than a bit concerned that this would just blow away. How do you begin to fabricate such a tiny assembly? He used UV cured epoxy to glue them together first, then somehow completed the soldering by hand!

Continue reading “World’s Smallest LED Blinky”

Soldering Like It’s 205 BC

Did you ever stop to think how unlikely the discovery of soldering is? It’s hard to imagine what sequence of events led to it; after all, metals heated to just the right temperature while applying an alloy of lead and tin in the right proportions in the presence of a proper fluxing agent doesn’t seem like something that would happen by accident.

Luckily, [Chris] at Clickspring is currently in the business of recreating the tools and technologies that would have been used in ancient times, and he’s made a wonderful video on precision soft soldering the old-fashioned way. The video below is part of a side series he’s been working on while he builds a replica of the Antikythera mechanism, that curious analog astronomical computer of antiquity. Many parts in the mechanism were soldered, and [Chris] explores plausible methods using tools and materials known to have been available at the time the mechanism was constructed (reported by different historians as any time between 205 BC and 70 BC or so). His irons are forged copper blocks, his heat source is a charcoal fire, and his solder is a 60:40 mix of lead and tin, just as we use today. He vividly demonstrates how important both surface prep and flux are, and shows both active and passive fluxes. He settled on rosin for the final joints, which turned out silky smooth and perfect; we suspect it took quite a bit of practice to get the technique down, but as always, [Chris] makes it look easy.

If you’d like to dig a bit deeper into modern techniques, we’ve covered the physics of solder and fluxes in some depth. And if you need more of those sweet, sweet Clickspring videos, we’ve got you covered there as well.

Continue reading “Soldering Like It’s 205 BC”