It’s 1979 – What Exactly Did That ∫ Key Do?

[Michel Jean] asked a question few others might: what exactly is going on under the hood of a classic HP scientific calculator when one presses the key? A numerical integration, sure, but how exactly? There are a number of useful algorithms that could be firing up when the integral button is pressed, and like any curious hacker [Michel] decided to personally verify what was happening.

[Michel] implemented different integration algorithms in C++ and experimentally compared them against HP calculator results. By setting up rigorous tests, [Michel] was able to conclude that the calculators definitely use Romberg-Kahan, developed by HP Mathematician William Kahan.

Selected by HP in 1979 for use in their scientific calculators, the Romberg-Kahan algorithm was kept in service for nearly a decade. Was it because the algorithm was fast and efficient? Not really. The reason it was chosen over others was on account of its robustness. Some methods are ridiculously fast and tremendously elegant at certain types of problem, but fall apart when applied to others. The Romberg-Kahan algorithm is the only one that never throws up its hands in failure; ideal for a general-purpose scientific calculator that knows only what its operator keys in, and not a lick more.

It’s a pretty neat fact about classic HP calculators, and an interesting bit of historical context for these machines. Should you wish for something a bit more tactile and don’t mind some DIY, it’s entirely possible to re-create old HP calculators as handhelds driven by modern microcontrollers, complete with 3D-printed cases.

Thanks to [Stephen Walters] for the tip!

The LEGO-lookalike displaying [Paul]'s dashboard

LEGO Space Computer Made Full Size, 47 Years On

There’s just something delightful about scaled items. Big things shrunk down, like LEGO’s teeny tiny terminal brick? Delightful. Taking that terminal brick and scaling it back to a full-sized computer? Even better. That’s what designer [Paul Staal] has done with his M2x2 project.

In spite of the name, it actually has a Mac Mini M4 as its powerful beating heart. An M2 might have been more on-brand, but it’s probably a case of wanting the most horsepower possible in what [Paul] apparently uses as his main workstation these days. The build itself is simple, but has some great design details. As you probably expected, the case is 3D printed. You may not have expected that he can use the left stud as a volume control, thanks to an IKEA Symfonisk remote hidden beneath. The right stud comes off to allow access to a wireless charger.

The minifigs aren’t required to charge those airpods, but they’re never out of place.

The 7″ screen can display anything, but [Paul] mostly uses it either for a custom home assistant dashboard, or to display an equalizer, both loosely styled after ‘screen’ on the original brick. We have to admit, as cool as it looked with the minifigs back in the day, that sharp angle to the screen isn’t exactly ergonomic for humans.

Perhaps the best detail was putting LEGO-compatible studs on top of the 10:1 scaled up studs, so the brick that inspired the project can sit securely atop its scion. [Paul] has provided a detailed build guide and the STLs necessary to print off a brick, should anyone want to put one of these nostalgic machines on their own desk.

We’ve covered the LEGO computer brick before, but going the other way–putting a microcontroller and display in the brick it to run DOOM. We’ve also seen it scaled up before, but that project was a bit more modest in size and computing power.

Computer Terminal Replica Inspired By 70s Hardware

Not so long ago, most computer users didn’t own their own machines. Instead, they shared time on mainframes or servers, interacting with this new technology through remote terminals. While the rise of cloud computing and AI might feel like a modern, more dystopian echo of that era, some look back on those early days with genuine fondness. If you agree, check out this 70s-era terminal replica from [David Green].

The inspiration for this build was a Lear Siegler ADM-3A terminal seen at a local computer festival. These machines had no local computing resources and were only connected to their host computer via a serial connection. The new enclosure, modeled on this design, was 3D-printed and then assembled and finished for the classic 70s look. There are a few deviations from a 70s terminal, though: notably, a flat LCD panel and a Raspberry Pi 3, which, despite being a bit limited by today’s standards, still offers orders of magnitude more computing power than the average user in the 70s would have had access to.

Continue reading “Computer Terminal Replica Inspired By 70s Hardware”

Restoring A Yamaha DX7 Synthesizer

The Yamaha DX7 is one of the most iconic synthesizers that emerged in the early 1980s, and is still very popular today. That said, with even the newest of these having left the factory back in 1989, the average DX7 can use a bit of tender love and care. In particular the battered DX7 that [Drygol] recently got handed to ‘just fix the PSU voltage switch’. As it turned out, this poor DX7 had a few more issues than just a busted voltage selector.

Just a hint of cosmetic damage on this Yamaha DX7. (Credit: Drygol)
Just a hint of cosmetic damage on this Yamaha DX7.

In addition to missing slider caps and a vanished key, the paint of the case also had clearly lost a fight with various hard surfaces in addition to a thick coating of unidentifiable dust and grime inside the synthesizer. Feeling a pang of sympathy, [Drygol] thus decided to give the old girl a complete restoration.

After taking the synthesizer apart for a good scrub-down, the parts were assessed for further damage. This turned out to include the plastic stubs on some keys to hold a spring for which a replacement was modelled and 3D printed, along with replacements for the missing slider caps.

Next the case was painted, with a brand new Yamaha DX7 vinyl logo rather than trying to fix up the old paint and logo. With the outside fixed up, the broken and dodgy controls, audio jacks and potentiometers were addressed, followed by the busted onboard battery, leaving just the original voltage selector. This one got replaced by an IEC 60320 C13 jack, with the transformer hardwired for 230 VAC input, out of convenience grounds.

We’re always excited when [Drygol] sends in another restoration project — from a glowing Amiga 500 to vacuum-formed keycap covers, they’re always remarkable displays of ingenuity.

How The Intel 8087 FPU Knows Which Instructions To Execute

An interesting detail about the Intel 8087 floating point processor (FPU) is that it’s a co-processor that shares a bus with the 8086 or 8088 CPU and system memory, which means that somehow both the CPU and FPU need to know which instructions are intended for the FPU. Key to this are eight so-called ESCAPE opcodes that are assigned to the co-processor, as explained in a recent article by [Ken Shirriff].

The 8087 thus waits to see whether it sees these opcodes, but since it doesn’t have access to the CPU’s registers, sharing data has to occur via system memory. The address for this is calculated by the CPU and read from by the CPU, with this address registered by the FPU and stores for later use in its BIU register. From there the instruction can be fully decoded and executed.

This decoding is mostly done by the microcode engine, with conditional instructions like cos featuring circuitry that sprawls all over the IC. Explained in the article is how the microcode engine even knows how to begin this decoding process, considering the complexity of these instructions. The biggest limitation at the time was that even a 2 kB ROM was already quite large, which resulted in the 8087 using only 22 microcode entry points, using a combination of logic gates and PLAs to fully implement the entire ROM.

Only some instructions are directly implemented in hardware at the bus interface (BIU), which means that a lot depends on this microcode engine and the ROM for things to work half-way efficiently. This need to solve problems like e.g. fetching constants resulted in a similarly complex-but-transistor-saving approach for such cases.

Even if the 8087 architecture is convoluted and the ISA not well-regarded today, you absolutely have to respect the sheer engineering skills and out-of-the-box thinking of the 8087 project’s engineers.

Hackaday Podcast Episode 357: BreezyBox, Antique Tech, And Defusing Killer Robots

In the latest episode of the Hackaday Podcast, editors Elliot Williams and Tom Nardi start things off by discussing the game of lunar hide-and-seek that has researchers searching for the lost Luna 9 probe, and drop a few hints about the upcoming Hackaday Europe conference. From there they’ll marvel over a miniature operating system for the ESP32, examine the re-use of iPad displays, and find out about homebrew software development for an obscure Nintendo handheld. You’ll also hear about a gorgeous RGB 14-segment display, a robot that plays chess, and a custom 3D printed turntable for all your rotational needs. The episode wraps up with a sobering look at the dangers of industrial robotics, and some fascinating experiments to determine if a decade-old roll of PLA filament is worth keeping or not.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Download this episode in DRM-free MP3 on your ESP32 with BreezyBox for maximum enjoyment.

Continue reading “Hackaday Podcast Episode 357: BreezyBox, Antique Tech, And Defusing Killer Robots”

A 1970s Electronic Game

What happens when a traditional board game company decides to break into electronic gaming? Well, if it were a UK gaming company in 1978, the result would be a Waddingtons 2001 The Game Machine that you can see in the video from [Re:Enthused] below.

The “deluxe console model” had four complete games: a shooting gallery, blackjack, Code Hunter, and Grand Prix. But when you were done having fun, no worries. The machine was also a basic calculator with a very strange keyboard. We couldn’t find an original retail price on these, but we’ve read it probably sold for £20 to £40, which, in 1978, was more than it sounds like today.

Continue reading “A 1970s Electronic Game”