Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Mark Tyson

Commodore 64 floppy drive has the power to be a computer — bulky 1982 Commodore 1541 5.25 inch drive packs a 1 MHz MOS 6502 CPU

Commodore 1541 floppy disk electronics used as a computer.

The Commodore History channel on YouTube has confirmed that the Commodore 1541 floppy disk drives electronics are powerful and capable enough to work as a standalone computer. This 1982 vintage peripheral, designed to add a 5.25-inch floppy disc to the equally ancient Commodore 64, actually has its own processor, RAM, ROM and I/O.

There’s a 1 MHz MOS 6502 in the floppy drive electronics, which is closely related to the C64’s MOS 6510, and exactly the same processor as in the VIC-20. However, Dave from the Commodore History channel did his work with minimal hardware modding, so the resulting ‘1541 computer’ ended up being rather limited.

The video starts with Dave explaining that a channel subscriber had asked about whether the Commodore 1541 floppy disk could work as a general purpose computer – as it was known to pack a MOS 6502 chip, its own RAM, its own I/O chips, alongside the ROMs which help it carry out its day job as a storage device. The CPU is very similar to the C64’s MOS 6510, which is just “a customized upgrade for the Commodore 64” based on the 6502. But the VIC-20 is actually a much closer match, and you can see a comparison in the infographic, below.

(Image credit: Commodore History channel on YouTube)

Turning the 1541 into a VIC-20-a-like was still too much of a stretch for this investigation, as Dave wanted to keep hardware modding off the menu. The VIC-20 owes a lot of its general purpose computing ability to its additional 6560 VIC chip – a custom IC for graphics and sound. It also offers lot more I/O for general purpose computing appeal.

Thus, Dave had to wind-back the Commodore clock even further for inspiration. And he decided the first way to demonstrate that the Commodore 1541 floppy disk could work as a general purpose computer was to look at the Commodore KIM-1, the firm’s first, and most simple computer, which would be described as a Single Board Computer (SBC) today.

The KIM-1 was programmed using an onboard keypad, punching in values in 6502 machine language, byte-by-byte. Its only display was a set of 6 segmented LCDs. This computer could also be used via Teletype (TTY) over serial connection, and this method was adopted as the way to interface and work with the Commodore 1541.

So, the KIM-1 became the new target of the Commodore 1541 as a computer project. Dave found the KIM-1 kernel had already been published, so set about modifying it with code to initialize the 1541, and tweak I/O routines so serial teletype would work. This code was burned onto an EEPROM, and is now available on GitHub.

Costs
  • The Commodore 64's original price was $599 in 1982 (~$1,950 in today’s money)
  • The Commodore 1541 disk drive was originally priced at $399 in 1982 (~$1,300 in today’s money)

To teletype interface with the pair of 1541 serial connectors, an adaptor / dongle was required. Dave brewed up a USB to RS232 to TTL dongle. The finished MacBook USB to 1541 serial adaptor looks a bit messy, but did the job.

Next up, Dave communicated with the 1541, with its freshly baked KIM-1 ROMs, and dongle, via a Minicom terminal on his Mac. His hand typed assembly Hello World code worked first time (as far as we saw in the video).

(Image credit: Commodore History channel on YouTube)
(Image credit: Commodore History channel on YouTube)
(Image credit: Commodore History channel on YouTube)
(Image credit: Commodore History channel on YouTube)
(Image credit: Commodore History channel on YouTube)
(Image credit: Commodore History channel on YouTube)

Before signing off, Dave wanted to get a bit nearer to making the 1541 into a VIC-20 by adding a BASIC interpreter. He ported Tiny Basic to the KIM-1 and burned it to a ROM to insert on the 1541's PCB. Again, this worked, making it much quicker to code a Hello World program.

The TechTuber made it clear that this 1541 ‘general purpose computer’ remained very limited without major hardware mods due to its lack of I/O – limiting it to serial terminal use. But we don’t blame him for not wanting to mess with this precious retro hardware too much.

This project makes us wonder about the general purpose computing abilities of modern drive controller electronics.

Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.