A New 8-bit CPU For C

It is easy to port C compilers to architectures that look like old minicomputers or bigger CPUs. However, as the authors of the Small Device C Compiler (SDCC) found, pushing C into a typical 8-bit CPU is challenging. Lessons learned from SDCC inspired a new 8-bit architecture, F8. This isn’t just a theoretical architecture. You can find an example Verilog implementation in the SDDC project and on GitHub. The name choice may turn out to be unfortunate as there was an F8 CPU from Fairchild back in the 1970s that apparently few people remember.

In the video from FOSDEM 2025, [Phillip Krause] provides a nice overview of the how and why of F8. While it might seem odd to create a new 8-bit CPU when you can get bigger CPUs for pennies, you have to consider that 8-bit machines are more than enough for many jobs, and if you can squeeze one into an FPGA, it might be a good choice as opposed to having to get a bigger FPGA to hold your design and a 32-bit CPU.

Continue reading “A New 8-bit CPU For C”

Homebrew CPU Gets A Beautiful Rotating Cube Demo

[James Sharman] designed and built his own 8-bit computer from scratch using TTL logic chips, including a VGA adapter, and you can watch it run a glorious rotating cube demo in the video below.

The rotating cube is the product of roughly 3,500 lines of custom assembly code and looks fantastic, running at 30 frames per second with shading effects from multiple light sources. Great results considering the computing power of his system is roughly on par with vintage 8-bit home computers, and the graphics capabilities are limited. [James]’s computer uses a tile map instead of a frame buffer, so getting 3D content rendered was a challenge.

The video is about 20 seconds of demo followed by a detailed technical discussion on how exactly one implements everything required for a 3D cube, from basic math to optimization. If a deep dive into that sort of thing is up your alley, give it a watch!

We’ve featured [James]’ fascinating work on his homebrew computer before. Here’s more detail on his custom VGA adapter, and his best shot at making it (kinda) run DOOM.

Continue reading “Homebrew CPU Gets A Beautiful Rotating Cube Demo”

Retro Computer Goes Back To The 1950s

When thinking of retrocomputing, many of us will imagine machines such as the Commodore 64 or Apple II. These computers were very popular and have plenty of parts and documentation available. Fewer will go back to the Intel 8008 or even 4004 era which were the first integrated circuit chips commercially available. But before even those transistor-based computers is a retrocomputing era rarely touched on: the era of programmable vacuum tube machines. [Mike] has gone back to the 1950s with this computer which uses vacuum tubes instead of transistors.

The computer has an eight-bit architecture and features most of the components of any modern transistor-based computer of similar computational ability. Memory, I/O, an arithmetic logic unit including a carry bit that allows it to do 16-bit arithmetic, are all implemented using 6N3P dual triode tubes that date to the 50s and 60s and would have been used in similar computers like the IBM 700. All of this drives a flight simulator program or a Fibonacci number generator, demonstrating its general purpose computing capabilities.

Of course, tubes were generally phased out in favor of transistors largely due to their power and space requirements; [Mike] needs a stepladder to maintain this computer as well as around ten minutes each time he starts it up to allow the tubes to warm up, with each module needing over three amps of current each. It’s a hugely impressive build and we’d recommend checking out the video linked below to get more details on its operation. If you’re looking for something a little more accessible to get into the world of vacuum tubes, this single-board tube computer fits the bill.

Continue reading “Retro Computer Goes Back To The 1950s”

KiCad render of µLind pcb

The 6809 8-Bit Microcomputer: A Father-Son Odyssey

If you’re nostalgic for the golden age of microprocessors and dream of building your own computer, this story might spark your imagination. [Eric Lind], passionate retro enthusiast and his 14-year-old son, embarked on a mission to craft a microcomputer from scratch, centred around the exotic Motorola 6809 chip: the µLind.

What sets this project apart is its ambition: bridging retro computing with modern enhancements. Starting with just a 6809 and some basic peripherals, the men designed a multi-stage roadmap to realize their dream. Each stage brought new challenges: debugging an address decoder, reworking memory management, and evolving glue logic into programmable GAL chips. Fascinatingly, the project isn’t just about nostalgia—it’s a playground for exploring multitasking operating systems and pushing the boundaries of 8-bit computing.

Their creativity shines in solutions like a C64-compatible joystick port, add-on expansion cards, and a memory overkill of 1MB RAM. With every setback—a missing pull-up resistor or a misrouted IRQ signal—their determination grew stronger. By combining old-school know-how with modern tools like KiCad, they’ve created something that is both personal and profoundly inspiring.

[Eric]’s hope and goal is to establish a community of people that want to expand beyond the traditional Z80 and 6502 based SBC’s. Interested? Read [Eric]’s project log on Hackaday.io and start crafting!

8-Bit Computers Crunch Advanced Scientific Computations

Although largely relegated to retrocomputing enthusiasts and embedded systems or microcontrollers now, there was a time when there were no other computers available other than those with 8-bit processors. The late 70s and early 80s would have seen computers with processors like the Motorola 6800 or Intel 8080 as the top-of-the-line equipment and, while underpowered by modern standards, these machines can do quite a bit of useful work even today. Mathematician [Jean Michel Sellier] wanted to demonstrate this so he set up a Commodore 64 to study some concepts like simulating a quantum computer.

The computer programs he’s written to do this work are in BASIC, a common high-level language of the era designed for ease of use. To simulate the quantum computer he sets up a matrix-vector multiplication but simplifies it using conditional logic. Everything is shown using the LIST command so those with access to older hardware like this can follow along. From there this quantum computer even goes as far as demonstrating a quantum full adder.

There are a number of other videos on other topics available as well. For example, there’s an AmigaBasic program that simulates quantum wave packets and a QBasic program that helps visualize the statistical likelihood of finding an electron at various locations around a hydrogen nucleus. While not likely to displace any supercomputing platforms anytime soon, it’s a good look at how you don’t need a lot of computing power in all situations. And, if you need a refresher on some of these concepts, there’s an overview on how modern quantum computers work here.

Revisiting A Z80 Game From 1990

Back in the days of 8-bit computers, like no doubt many readers of similar age, we wrote little games. First in BASIC, then augmented with little machine code speed-ups. We didn’t come close to [Óscar Toledo Gutiérrez] though, who’s reverse engineering a 2K all-machine-code game he wrote back in 1990. As a tale of software archaeology it’s fascinating.

The game itself is an avoid-the-monsters platformer with plenty of ladders for the little sprite-based protagonist to run down. The computer was a Mexican homebrew educational machine with a TMS9118 display chip and an AY-3-8910 synthesizer, so the result had both color and music. His run through the code breaks it down neatly into individual sections, so it’s possible to see what’s going on without an in-depth knowledge of machine code.

He readily admits it bears all the hallmarks of an 11-year-old’s knowledge at the time, and that it has some parts less elegant, but nevertheless it’s something of an achievement at any age. It was out of date gameplay-wise in 1990 but in 1982 it could probably have been bought on a tape by eager kids. Here in 2024 he’s got it for download should you have a Colecovision or an MSX. There’s a gameplay video below the break, take a look.

Continue reading “Revisiting A Z80 Game From 1990”

Forget The Altair! Remember The Mark-8!

Calling any one computer the first hobby computer is fraught with peril. Most people think the MITS Altair 8800, first featured in Popular Electronics back in January 1975, was the first. Some might argue that others were first, but there is no doubt that the Altair started the hobby computer revolution from a practical standpoint. However, there was another computer that almost took the crown. It, too, appeared in a magazine — Radio and Electronics. But it was in the July 1974 issue. That computer was the Mark 8, and [Artem Kalinchuk] is building a replica that you can see started in the video below. This isn’t some Arduino work-alike. He has a pile of parts and some almost authentic-looking PCBs.

The Mark 8 used the 8008, not the 8080, so it was less powerful. [Artem] has been building a replica Altair, too. Check out his YouTube channel if you are interested in those.

Continue reading “Forget The Altair! Remember The Mark-8!”