Old Style 1802 Computer Has MMU

When you think of an MMU — a memory management unit — you probably think of a modern 32-bit computer. But [Jeff Truck] has a surprise. His new RCA 1802 computer has bank switching, allowing the plucky little processor to address 256K of RAM. This isn’t just the usual bank-switching design, either.

The machine has several unique features. For example, an Arduino onboard can control the CPU so that you can remotely control the bus. It does not, apparently, stand in for any of the microprocessor support chips. It also doesn’t add additional memory or control its access.

The 256K of memory is under the control of the MMU board. This board generates two extra address bits by snooping the executing instruction and figures out what register is involved in any memory access. Memory in the MMU stores a table that lets you set different memory pages for each register. This works even if the register is not explicit and also for the machine’s DMA and instruction fetch cycles. If you know about the RCA “standard call and return technique,” which also needed a little patching for the MMU. [Jeff] covers that at the end of the video below.

This is a very simple version of a modern MMU and is an impressive trick for a 50-something-year-old CPU. We were surprised to hear — no offense to [Jeff] — that the design worked the first time. Impressive! There’s also some 3D printing and other tips to pick up along the way. But we were super impressed with the MMU. You might never have to do this yourself (although you could), but you can still marvel that it can be done at all.

We have a soft spot for the 1802s, real or emulated. The original ELF was great, but 256K is a lot better than the original 256 bytes!

Continue reading “Old Style 1802 Computer Has MMU”

Lighting Up With Chemistry, 1823-Style

With our mass-produced butane lighters and matches made in the billions, fire is never more than a flick of the finger away these days. But starting a fire 200 years ago? That’s a different story.

One method we’d never heard of was Döbereiner’s lamp, an 1823 invention by German chemist Johann Wolfgang Döbereiner. At first glance, the device seems a little sketchy, what with a tank of sulfuric acid and a piece of zinc to create a stream of hydrogen gas ignited by a platinum catalyst. But as [Marb’s Lab] shows with the recreation in the video below, while it’s not exactly as pocket-friendly as a Zippo, the device actually has some inherent safety features.

[Marb]’s version is built mainly from laboratory glassware, with a beaker of dilute sulfuric acid — “Add acid to water, like you ought-er!” — bathing a chunk of zinc on a fixed support. An inverted glass funnel acts as a gas collector, which feeds the hydrogen gas to a nozzle through a pinch valve. The hydrogen gas never mixes with oxygen — that would be bad — and the production of gas stops once the gas displaces the sulfuric acid below the level of the zinc pellet. It’s a clever self-limiting feature that probably contributed to the commercial success of the invention back in the day.

To produce a flame, Döbereiner originally used a platinum sponge, which catalyzed the reaction between hydrogen and oxygen in the air; the heat produced by the reaction was enough to ignite the mixture and produce an open flame. [Marb] couldn’t come up with enough of the precious metal, so instead harvested the catalyst from a lighter fluid-fueled hand warmer. The catalyst wasn’t quite enough to generate an open flame, but it glowed pretty brightly, and would be more than enough to start a fire.

Hats off to [Marb] for the great lesson is chemical ingenuity and history. We’ve seen similar old-school catalytic lighters before, too.

Continue reading “Lighting Up With Chemistry, 1823-Style”

Hackaday Links Column Banner

Hackaday Links: June 18, 2023

Will it or won’t it? That’s the question much on the minds of astronomers, astrophysicists, and the astro-adjacent this week as Betelgeuse continued its pattern of mysterious behavior that might portend a supernova sometime soon. You’ll recall that the red giant star in the constellation Orion went through a “great dimming” event back in 2019, where its brightness dipped to 60% of its normal intensity. That was taken as a sign that perhaps the star was getting ready to explode — or rather, that the light from whatever happened to the star 548 years ago finally reached us — and was much anticipated by skywatchers, yours truly included. As it turned out, the dimming was likely caused by Betelgeuse belching forth an immense plume of dust, temporarily obscuring our view of its light. Disappointing.

Those who gave up on the hope of seeing a supernova might have done so too fast, though, because now, the star seems to be swinging the other way and brightening. It briefly became the brightest star in Orion, nearly outshining nearby Sirius, the brightest star in the sky. So what does all this on-again, off-again business mean? According to Dr. Becky, a new study — not yet peer-reviewed, so proceed with caution — suggests that the star could go supernova in the next few decades. The evidence for this is completely unrelated to the great dimming event, but by analyzing the star’s long history of variable brightness. The data suggest that Betelgeuse has entered the carbon fusion phase of its life, a period that only lasts on the scale of a hundred years for a star that size. So we could be in for the ultimate fireworks show, which would leave us with a star brighter than the full moon that’s visible even in daylight. And who doesn’t want to see something like that?

Continue reading “Hackaday Links: June 18, 2023”

New Zealand’s First Microcomputer May Be This 1802

Hardware hackers of a certain age likely got started with microcontrollers via the RCA 1802 — a relatively easy-to-use processor that was the subject of several excellent articles in Popular Electronics magazine back in the late 1970s. [Al’s Geek Lab] has an interview with [Hugh Anderson], who saw the articles and eventually designed the HUG1802, which may be the first microcontroller kit designed and sold in New Zealand.

The 1802 was very attractive at the time since it was inexpensive, static, didn’t require exotic voltages, and had a DMA system that allowed you to load software without complex ROMs. He initially marketed a kit unsuccessfully until an Australian company convinced him to create a proper PC board — the resulting kit was sold to about 100 customers.

The HUG1802 reminded us somewhat of the Quest Super Elf since it had a keypad, a cassette interface, and even a TV output. The 1802 had a DMA-enabled chip that made crude memory-mapped video output. The computer eventually morphed into the ETI 660, which they talk about at the end of the interview.

A lot of people built 1802 computers back in those days. If you don’t have an 1802, but you have an Arduino… ell, there’s always emulation.

Continue reading “New Zealand’s First Microcomputer May Be This 1802”

Hackaday Podcast 218: Open Source AI, The Rescue Of Salyut 7, The Homework Machine

This week, Editor-in-Chief Elliot Williams and Kristina Panos have much in the way of Hackaday news — the Op Amp Challenge is about halfway over, and there are roughly three weeks left in the Assistive Tech challenge of the 2023 Hackaday Prize. Show us what you’ve got on the analog front, and then see what you can do to help people with disabilities to live better lives!

Kristina is still striking out on What’s That Sound, which this week honestly sounded much more horrendous and mechanical than the thing it actually is. Then it’s on to the hacks, beginning with the we-told-you-so that even Google believes that open source AI will out-compete both Google’s own AI and the questionably-named OpenAI.

From there we take a look at a light-up breadboard, listen to some magnetite music, and look inside a pair of smart sunglasses. Finally, we talk cars, beginning with the bleeding edge of driver-less. Then we go back in time to discuss in-vehicle record players of the late 1950s.

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 and savor at your leisure.

Continue reading “Hackaday Podcast 218: Open Source AI, The Rescue Of Salyut 7, The Homework Machine”

Mystery 1802 Computer Was A Homebrew Project

[CelGenStudios] has an impressive collection of vintage hardware. One that really struck us came from a thrift store in Canada, so the original provenance of it is unknown. It looks like someone’s handmade interpretation of a SOL-20. There’s a wooden and sheet metal box containing a keyboard looted from an old dedicated word processor (back when a word processor was a machine, not a piece of software). Inside? Some vintage-looking hand-drawn PC boards, including a backplane with two boards. One contains an RCA 1802 and a little bit of memory. There’s also a video card with more memory on it than the CPU.

We loved the 1802, and we disagree with [CelGenStudios] that it “wasn’t that popular.” It was super popular in some areas. The CMOS processor was popular in spacecraft and among homebrew builders. There were a few reasons for that. Unlike some early CPUs, you didn’t need much to bootstrap a system. It would run on 5V and had a “DMA” mode to key data in with just a few simple switches and buttons. You didn’t need a ROM-based monitor to get the system to work. In addition, the design could be low power, and the static design meant you could slow or stop the clock for very low power compared to many other systems of the day.

Continue reading “Mystery 1802 Computer Was A Homebrew Project”

Hackaday Links Column Banner

Hackaday Links: December 18, 2022

By now everyone has probably seen the devastation wrought by the structural failure of what was once the world’s largest free-standing cylindrical aquarium. The scale of the tank, which until about 5:50 AM Berlin time on Friday graced the lobby of the Raddison Blu hotel, was amazing — 16 meters tall, 12 meters in diameter, holding a million liters of saltwater and some 1,500 tropical fish. The tank sat atop a bar in the hotel lobby and was so big that it even had an elevator passing up through the middle of it.

But for some reason, the tank failed catastrophically, emptying its contents into the hotel lobby and spilling the hapless fish out into the freezing streets of Berlin. No humans were killed by the flood, which is miraculous when you consider the forces that were unleashed here. Given the level of destruction, the displaced hotel guests, and the fact that a €13 million structure just up and failed, we’re pretty sure there will be a thorough analysis of the incident. We’re pretty interested in why structures fail, so we’ll be looking forward to finding out the story here.

Continue reading “Hackaday Links: December 18, 2022”