Ship Tracking On The Commodore 128

Most of the world found out about AIS, the Automatic Identification System used in maritime operations back in 2021, when ship trackers got a flood of traffic from people caught up in the drama of the MV Ever Given‘s Suez snafu. [Ioannis Anagnostopoulos] a.k.a [Greek Geek] had a more professional introduction to AIS, but also just enjoys tracking ships. He also likes his vintage Commodore 128 8-bit computer, so in a years-long labour of love he’s created AIS4CBM, a full-featured ship tracking application for the vintage machine.

Alas, it doesn’t quite run on a full-stock C128 — the AIS protocol streams data at 38,400 bps, which isn’t impossible for a 1980s serial port, but it is for the serial port on the C128. He started by using an Arduino to buffer the data feed and trickle information to the Commodore, but later moved to a SwiftLink/Turbo-232-style cartridge to allow for period-appropriate fast-serial reads. [Ioannis] taught himself 6502 assembly to parse the data stream rapidly enough, but the rest of AIS4CBM is in BASIC — though not standard Commodore Basic. [Ioannis] is instead using BASIC 8, an extension by Walrus Soft that dates to the 1980s and should not be confused with DEC’s earlier BASIC 8 for PDP-8s. BASIC 8 has some fast draw routines for the 128’s video chip that can take advantage of up to 64kB of VDC memory. Getting up to 64kB of video memory was the upgrade that took [Ionnis]’s C128 beyond a stock machine, since it wasn’t a 128D. We’re pretty sure the warranty was void by now anyway.

Continue reading “Ship Tracking On The Commodore 128” →

Two images of similar all-in-one computers side-by-side. They each are sitting on a green cutting mat with a pedestal with two black slits below a slightly wider screen mounted at the top. It is lined up on the left side with the pedestal, but the right edge of the screen is floating over space. The left image has a white apple logo and the text "Apple Computer" on the screen bezel while the device on the right has the rainbow Apple logo and no text.

The Happy Mac That Apple Never Made

The plethora of different machines available in the 80s are one of the things that makes retrocomputing fun, but sometimes we run across ideas that never quite made it to production that are also worth a look. [wottle] wanted to reexamine some early designs investigated by Apple with the Frog Design “Happy” Mac.

In 1982, Apple contracted Frog Design to develop a new design language for their products. The eight non-functional “Snow White” concepts ranged from mild to wild, but most never saw the light of day, despite influencing most Apple products in the late 80s. [wottle] chose the LisaEm Lisa emulator as the interface for the device to give it a period-correct OS.

The machine uses a Raspberry Pi 5 coupled to the LCD panel from an iPad 3 or 4, giving it a slimmer silhouette than the original concept as it would have been limited by the CRT technology of the time. Steel bar ballast in the base of the 3D printed enclosure keep the device stable. The current build is lacking built-in sound or an external power button, so there’s still some room for improvement.

If you are interested in the ill-fated Lisa, we’ve discussed it before, the open sourcing of its code, as well as seen it resurrected on an FPGA. We’ve also seen the Apple Jonathan concept that showed promise, but didn’t make it to production either.

The Curious Case Of The Second Spacebar

[Adrian] shared a very unusual Commodore 64 he came across with some unique modifications made to it. Not only did it have an unexplained DIP socket on the back, it also had a second space bar. What a mystery!

Before [Adrian] could solve this he needed to do some good old refurbishing to get the machine back up and running. A mechanical inspection showed both the red DIP socket on the back of the machine and the extra space bar were wired up to the main keyboard PCB. Once the machine was functional, he was able to do some reverse engineering to figure out what these decades-old hacks were for. Even our own [Kristina Panos] who has again and again dived into how creative keyboards can get has never seen a second space bar above the number row.

A mystery red DIP socket and a second space bar. What purpose did these decades-old hacks serve?

[Adrian] determines the DIP socket was almost certainly used as a makeshift port for plugging in some kind of numeric keypad, probably one built by the same person did the modifications. As for the extra space bar located right above the number row? It acts as an extra SHIFT key.

That means entering symbols like the dollar sign, parentheses, and so forth becomes a one-handed operation. [Adrian] demonstrates pressing the top space bar (which is actually SHIFT) then numbers to get the corresponding symbols. It’s a two-finger operation that, as he puts it, “feels kind of natural, to be honest”.

It sure looks like this machine was modified to have a separate number pad for one-handed numeric entry, and the extra space bar as a way to more easily enter symbols using the other hand. The mods still left the keyboard able to work normally. And based on the visible wear in the form of shiny spots on the plastic, this modded keyboard saw a lot of use.

[Adrian] suspects these mods were made to support some financial application. That seems sensible, but there’s no way to be completely sure. Do you have a different theory, or have you ever seen something similar? Let us know in the comments.

Continue reading “The Curious Case Of The Second Spacebar” →

Ask Hackaday: Putting The C In CPU

I was once in a meeting where the facilitator asked us to introduce ourselves with the usual information, but also wanted us to share our favorite hobby. I spent a second trying to think of which hobby I could say to not sound like a total nerd. Then I realized it didn’t matter. All my hobbies are nerdy, including designing CPUs and their instruction sets.

I actually started sketching out an instruction set when I was a kid, back when no one had home computers. I am glad I lost that notebook: it would be painful to see today. The first CPU I put on an FPGA wasn’t of my own design, though. I implemented BLUE from Caxton Foster’s Computer Architecture book. I also extended it and modernized it a lot. I really wanted a C compiler for it.

C Compilation

That’s really the problem. C was once a simple language, but modern C is far from simple, and compilers are huge projects. I have looked before at porting GCC to a different architecture, and it looks daunting. There’s LLVM, which is a bit more modern, but also non-trivial to port. There are a few older compilers that ought to be easier, but they often aren’t quite modern enough. Plus, if your CPU were big enough, which BLUE isn’t, GCC or a similar modern compiler would be attractive because you could use it to get Linux going.

Keep in mind, though, I’m not talking about a C compiler that runs on BLUE. Just a cross-compiler. My OneDer CPU is 32-bit and could host a C compiler, though. That’s another reason to bite the bullet and do a “big” compiler port. Because even if BLUE isn’t that big, other CPUs are, and I’d love to have a GCC port under my belt.

Continue reading “Ask Hackaday: Putting The C In CPU” →

Building A Wireless Network Adapter For The Super Nintendo

The Super Nintendo Entertainment System, or SNES for short, didn’t have much in terms of networking or online functionality. While it originally did have an expansion port on the bottom that the SatellaView satellite modem uses, this was very much a niche application outside of Japan. Correspondingly [Danny Boland] opted to use the front serial ports – also known as the controller ports – for a wireless network adapter instead.

This Super Network Adapter, or SNET, project combines an RP2350 with an ESP32-C3 to provide both connectivity with the SNES’ controller port for a ~30 kB/s data link and a WiFi connection to the local network or as a hotspot. By default SNES games do nothing with this peripheral, so ROMs have to be patched and loaded from an appropriate flash cartridge.

With that done it unlocks features such as being able to synchronize game saves between the cartridge’s SRAM and – as shown here – a WebDAV server to keep your game saves consistent between the cartridge and a RetroArch instance. There’s also a demonstration of having an LLM generate NPC dialogue for Legend of Zelda: Link to the Past to have them do things like react to you smashing their pots, though your mileage may vary on how useful this feature is.

Overall it seems like it could be a pretty useful add-on for custom SNES ROMs, if you’re into that sort of thing.

No MicroDrive? No Problem!

The Sinclair ZX Spectrum and QL computers contained many of Sir Clive’s signature quirks, but perhaps chief among them was their take on mass storage. The Microdrive was something similar to a miniaturised version of an 8-track cartridge, with a continuous loop of tape inside that gave about 80k of storage. At the best of times, their reliability was a little suspect, but with all examples now being over four decades old, a working one is something to be cherished in 2026. If you have a QL or a Spectrum with Interface 1, though, all is not lost. [Alexander Vollschwitz] has your back with Oqtadrive, an emulator for Sinclair microdrives. What it delivers is an emulated eight daisy-chained Microdrives, and even the Sinclair networking system over the Internet, something that many users never even saw locally back in the day.

At its heart is an Arduino Nano that connects to the Microdrive port and, if necessary, the network port, which in turn connects to a daemon running on a host computer. This can be anything from a PC or Mac to a Pi Zero. The Arduino emulates the hardware and the protocol for the Sinclair machine, while the daemon manages the storage and networking.

Continue reading “No MicroDrive? No Problem!” →

It’s A NAS, For Sony Mavica Disks

At the dawn of the consumer digital camera age, manufacturers tested this new market with a wide array of interesting and unorthodox designs. This era only lasted a few years before they moved toward making models that resembled the 35mm cameras the consumers were used to. Sony’s Mavica offerings were particularly unusual, because they eschewed Flash storage for the then-ubiquitous 3.5″ floppy disk. Where there are files, there might be a need to share them, so [Bigcrimping] has created floppy3.5. It’s a NAS for digital Mavica disks.

Continue reading “It’s A NAS, For Sony Mavica Disks” →