Home›Hackaday›Article

Ship Tracking On The Commodore 128

Tyler August · Nov 30, 2026

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.

The extra VDC memory is key to let him draw a map with vessel positions on screen — otherwise the 6502 is so busy parsing data AIS4CBM can only show an 80-column text interface with BASIC 8. That still gives position, course, and speed for vessels in the area of interest, sure, but there’s something about a map that makes it much easier.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

More from Hackaday

Air Quality Monitor Runs For Months On Batteries

Air quality can be poor without us even realizing it, particularly when it comes to things like CO2 levels that don’t create any detectable visual change. If you’re interested in monitoring such things, consider building something like this

Repairing a Much-Abused Sony Zoom Lens

Although lenses for DSLRs and similar cameras are pretty hefty and solid, they’re also amazingly fragile if you happen to drop one on a hard surface. Case in point the Sony E-mount zoom lens that [Evan Monsma] had previously bought for chea

Reading Jeep ECUs With AI And Arduino

Let’s say you’ve got one of the best Jeeps ever made, the XJ Cherokee. You might, now and then, want to read the ECU and get an idea of what’s going on under the hood. [MZULALI] has whipped up a scanner to let you do just that, with the aid

Track the Cargo Ships Riding the Wind

For a time, all maritime cargo was hauled on sailing ships. While we’re not likely to switch completely back to sails, you can now track all the cargo vessels hauling freight with help from the wind. [Thomas Steip] wanted to help businesses

3D Plotting on Legacy Handhelds

It comes as no surprise that we love vintage devices here at Hackaday, and anytime new software is released for old platforms is a cause for celebration. For the mathematically inclined among you, [anderain]’s Plotter-Z can help you plot 3D