A Modular 6502 Computer

Back in the day, there were plenty of nice compact microcomputers out there that featured the 6502 CPU. There were also simpler computers that put the chip on a bare board and put you very closer to the bare metal. The 20c from [osolabs] is a bit more like that, but with a unique and appealing modular design.

At its heart, the 20c is a learning platform. The hardware is built out of interchangeable modules that each correspond to a key part of the computer’s architecture. There are swappable CPU modules for the 6502 or different variants like the 6510 and 8502, as well as ROM, RAM, and address and data bus modules. There are also modules for the clock, glue logic, and even I/O subsystems like the Commodore PIA, VIA, and CIA. Bits and pieces can be assembled and swapped in and out at will to build a different character of machine and learn about different hardware and the architecture as a whole.

If you’re wanting to get to grips with how computers work at the very low level, the 6502 and the 20c are a great place to start. Design files are on Github for the curious. You might want to take a look at a guide on 6502 assembly to get you started, too. If you’ve been cooking up similar homebrew computers in the lab, don’t hesitate to let us know on the tipsline. Video after the break.

Continue reading “A Modular 6502 Computer” →

HDMI For The Color Computer 2

[Scott Baker] bought a TRS-80 Color Computer off eBay some five years ago. He’d always intended to add a CoCoVGA or CoCoDV upgrade to hook it up to a monitor, but the device was sold out and his name never made it off the waitlist. Thus, he decided to build his own solution to give the classic machine a proper HDMI output.

The concept behind the project is simple enough—grab the digital signals that feed the MC6847 IC responsible for generating the analog video output, and use them to create an all-digital video output over HDMI. [Scott] achieved this by using a Tang Nano board, which hosts a Gowin GW1N-1 FPGA. It’s able to snoop the signals heading to the MC6847 and, with some supporting components and level shifters, it can spit out video befitting modern screens. To make the system nicely complete, an analog-to-digital converter is also included to pick up the analog sound output from the TRS-80 and spit it out down the same HDMI cable. Such convenience!

There’s something strangely anachronistic about grabbing a TRS-80 off the shelf and hooking it up to a flatscreen with a single HDMI cable. Regardless, it’s a pretty great way to play with your old machine without having to futz with heavy old CRTs. We’ve featured plenty of similar projects before, too. Continue reading “HDMI For The Color Computer 2” →

Industrial GPU Adapted For The Desktop

As technologies change and adapt, we’re often left with seemingly useless junk that has nowhere to go. Certainly anyone still sitting on a pile of floppy disks feels this way sometimes, but odds are anyone who owns a mining ASIC or an NFT can attest to that as well. The trillions of dollars flowing into GPU-based data centers will likely become the next victim of this trend, so if you want to capitalize on the losses of some venture capitalist you’ll want to figure out a way to get GPUs meant for a server into your desktop doing useful work.

Of course, calling these devices GPUs is a bit of a stretch compared to the Radeon and GeForce cards many of us are used to using for gaming. These don’t even have a PCIe slot or video output, after all. But, as [] notes, the VRAM and GPU cores are very real and can still do useful work. An adapter board is able to mate a Tesla V100 SXM2 16 GB GPU to a standard PCIe slot, which solves the first problem, but the major downside from there is that the cooling fan for this unit was literally deafeningly loud. At 82 dB it was about as loud as a lawnmower, which is fine in a server rack but not great in a bedroom. [Oscar] found a way to tamp down the fan speed, making it usable in a home.

Without video output, the utility of these cards mainly comes from adding VRAM and compute for tasks that benefit from parallel computing. Using tensor splitting, [Oscar] is running a local LLM with this card alongside his RTX 4080, providing 32 GB of VRAM on his NixOS system. With his benchmarking tests, the LLM sports impressive stats for a self-hosted model, ranking somewhere around Claude Sonnet 4.6. What’s even more impressive is that this is all done for around £200, and with the rate the various LLM companies are ratcheting up pricing could pay itself back very quickly. If trading off performance for cost is acceptable, though, it’s possible to run local models on much less powerful hardware as well.

Making Old Computers Count To A Million

How fast can you count to a million? It would probably take you a while. A computer could certainly do it faster. Indeed, the The National Museum of Computing figured it could actually prove to be a simple but useful benchmark for comparing computers over many eras and architectures. Thus was born the Million Measure.

The intention was to develop a benchmark that could run on just about anything considered a “computer.” As explained in a recent talk, the Million Measure can be run quite simply on anything from an ancient World War II computer like Colossus, to a modern Raspberry Pi. There are no complicated algorithms that need optimization, nor architecture-specific code required to do the job. The museum also found it to be a useful way to figure out which computers in their collection were actually working at any given time. Early computers from the mid-20th century reported benchmark times in minutes, while a 1995 BeBox is the fastest machine tested so far at 0.004 seconds.

It’s not a particularly useful measure for modern machines, which are so fast as to make the test difficult to parse in an intuitive way. But if you’re working with today’s hardware, there are other techniques you can use. Video after the break.

Continue reading “Making Old Computers Count To A Million” →

What Is A Computer?

On the podcast, [Tom] and I were talking about the new generation of smartphones which are, at least in terms of RAM and CPU speed, on par with a decent laptop computer. If so, why not just add on a screen, keyboard, and mouse and use it as your daily driver? That was the question posed by [ETA Prime] in a video essay and attempt to do so.

Our consensus was that it’s the Android operating system holding it back. Some of the applications you might want to run just aren’t there, and on the open side of the world, even more are missing. Is the platform usable if you can’t get the software you need to get your work done?

But that’s just the computer-as-a-tool side of the equation. The other thing a computer is, at least to many of our kind of folk, is a playground. It’s a machine for experimenting with, and for having fun just messing around. Android has become way too polished to have fun, and recent changes on the Google side of things actively prevent you from installing arbitrary software. The hardware is similarly too slimmed-down to allow for experimentation.

Looking back, these have been the same stumbling blocks for the last decade. In 2018, I was wondering aloud why we as a community don’t hack on cell phones, and the answer then was the same as it is now – the software is not friendly to our kind. You can write phone apps, and I have tried to do so, but it’s just not fun.

The polar opposites of the smartphone-as-computer are no strangers in our community. I’m thinking of the Linux single-board computers, or even something like a Steam Deck, all of which are significantly less powerful spec-wise than a flagship cell phone, but which are in many ways much more suitable for hacking. Why? Because they make it easy to do the things that we like to do. They’re designed to be fun computers, and so we use them.

So for me, a smartphone isn’t a computer, but oddly enough it’s not because of the hardware. It’s because what I want out of a computer is more than Turing completeness. What I want is the fun and the freedom of computering.

Modernizing A Classic Datsun Engine

Although Nissan has been in the doldrums ever since getting purchased by Renault in the early 2000s, it once had a reputation as a car company that was always on the cutting edge of technology. Nissan was generally well ahead of its peers when bringing technologies like variable valve timing, turbocharging, fuel injection, and adjustable suspension to affordable, reliable vehicles meant for everyday use. Of course, a lot of this was done before computers were as powerful as they are today so [Ronald] set out to modernize some of these features on his 1978 Datsun 280Z.

Of course there are outright engine swaps that could bring a car like this up to semi-modern standards of power and efficiency, but he wanted to keep everything fully reversible in case he wants to revert to stock in the future, and didn’t want to do anything to the engine’s interior. The first thing was to remove the complicated mechanical system to control the throttle and replace it with an electronic throttle body with fly-by-wire system and a more powerful computer. The next step was removing the distributor-based ignition system in favor of individual coil packs and electronic ignition control, also managed by the new computer. This was perhaps the most complicated part of the build as it involved using a custom-made hall effect sensor on the original distributor shaft to tell the computer where the engine was in its rotation.

The final part of this engine modernization effort was upgrading the fuel delivery system. The original fuel injection system fired all of the injectors all the time, needlessly wasting fuel, but the new system only fires a specific cylinder when it needs fuel. This ended up improving gas mileage dramatically, and dyno tests also showed these modifications improved power significantly as well. Nissan hasn’t been completely whiffing since the Renault takeover, either. Their electric Leaf was the first mass-produced EV and is hugely popular in all kinds of projects like this build which uses a Leaf powertrain in a Nissan Frontier.

Continue reading “Modernizing A Classic Datsun Engine” →

Raspberry Pi Gets Desktop Form Factor

Before the Raspberry Pi came out, one cheap and easy way to get GPIO on a computer with a real operating system was to manipulate the pins on an old parallel port, then most commonly used for printers. Luckily, as that port became obsolete we got the Raspberry Pi, which has the GPIO and a number of other advantages over huge desktop computers from the 90s and 00s as well. But if you really miss that form factor or as yearn for the days of the old parallel port, this build which puts a Raspberry Pi into a mini ITX desktop case is just the thing for you.

There are a few features that make this build more than just a curiosity. The most obvious is that the Pi actually has support for PCIe and includes a single PCIe x1 slot which could be used for anything from a powerful networking card to an NVMe to a GPU for parallel computing in largely the same way that any desktop computer might them. The Pi Compute Module 5 that this motherboard is designed for doesn’t provide power to the PCIe slots automatically though, but the power supply that can be installed in the case should provide power not only to the CM5 but to any peripherals or expansion cards, PCIe or otherwise, that you could think of to put in this machine.

Of course all the GPIO is also made easily accessible, and there are also pins for installing various hats on the motherboard easily as well. And with everything installed in a desktop form factor it also helps to improve the cable management and alleviate the rats-nest-of-wires problems that often come with Pi-based projects. There’s also some more information on the project’s Hackaday.io page. And, if you’re surprised that Raspberry Pis can use normal graphics cards now, make sure to take a look at this build from a few years ago that uses completely standard gaming GPUs on the Pi 5.