New File Manager Is C64’s Answer To Norton Commander

Norton was always a PC company — Norton Commander, the file manager that launched a thousand clones, was only ever available for DOS, like the rest of the company’s offerings in those days. If they’d decided to port it to the C64, though, it would likely look a lot like [retro3872809] aka [Chicken 64]’s Multi Floppy Commander with Turbo, available on GitLab.

As you might be able to see on the screen shot above or in the demo video below, the application provides an 80-column interface with a split view to show a pair of floppies side-by-side. Not that you’re limited to two floppies, however. The software is happy to swap between all the drives on the bus, to the C64’s maximum of four. All four drives will be usable since the file manager lives on a cartridge.

All drive models are supported, though not all have turbo. As a file manager, it looks like it has the normal functionality you’d expect: renaming, copying, moving and deleting files and directories. You can also launch programs or print disk listings, assuming you have a printer attached to your Commodore.

Said Commodore perhaps needn’t be vintage, as they’re selling new ones again, but if you want a disk drive you may have to fix it yourself.

Continue reading “New File Manager Is C64’s Answer To Norton Commander”

Diagnosing A Mysterious Fault With A Commodore 1541 Disk Drive

Some PCB corrosion on the bottom of the 1541 drive. (Credit: TheRetroChannel, YouTube)
Some PCB corrosion on the bottom of the 1541 drive. (Credit: TheRetroChannel, YouTube)

Recently [TheRetroChannel] came across an interesting failure mode on a Commodore 1541 5.25″ floppy disk drive, in the form of the activity LED blinking just once after power-up with the drive motor continuously spinning. Since the Flash Codes that Commodore implemented and bothered to document start at 2 flashes (for RAM-related Zero Page), this raised the question of what fault this drive had, and whether a single flash is some kind of undocumented error code.

A cursory check showed that the heads were okay and not shorted, ruling out a common fault with the used floppy mechanism. Cleaning up the corrosion on IC sockets and similar basic operations were performed next, without making a change, nor did removing the ICs to induce it to produce the documented error codes, but this helped narrow down the potential causes. Especially after swapping in known-good ICs failed to make a difference. One possibility was that the drive was boot looping, as the activity LED is lit up once on boot.

Some probing around with an oscilloscope between the faulty and a working drive seemed to point to a faulty RAM IC, but while probing the faulty drive suddenly initialized successfully. After some more poking around it appeared that the drive was fine after it had a chance to warm up, which just deepened the mystery.

The drive did talk to a C64 with diagnostic cartridge at this point, but would often glitch out. Ultimately it appears that a dodgy IC socket and a few bad traces were to blame for the behavior, making it an ‘obvious in hindsight’ repair. The bottom of the PCB had some clear corrosion on it, but the affected traces were apparently still hanging on for dear life with the drive still initializing once warmed up.

Continue reading “Diagnosing A Mysterious Fault With A Commodore 1541 Disk Drive”

Commodore Disk Drive Becomes General Purpose Computer

The Commodore 1541 was built to do one job—to save and load data from 5.25″ diskettes. [Commodore History] decided to see whether the drive could be put to other purposes, though. Namely, operating as a standalone computer in its own right!

It might sound silly, but there’s a very obvious inspiration behind this hack. It’s all because the Commodore 1541 disk drive contains a MOS 6502 CPU, along with some RAM, ROM, and other necessary supporting hardware. As you might remember, that’s the very same CPU that powers the Commodore 64 itself, along with a wide range of other 1980s machines. With a bit of work, that CPU can indeed be made to act like a general purpose computer instead of a single-purpose disk controller.

[Commodore History] compares the 1541 to the Commodore VIC-20, noting that the disk drive has a very similar configuration, but less than half the RAM. The video then explains how the drive can be reconfigured to run like the even-simpler MOS Technology KIM-1 — a very primitive but well-known 8-bit machine. What’s wild is that this can be achieved with no hardware modifications. It’s not just a thought exercise, either. We get a full “Hello World!” example running in both BASIC and machine code to demonstrate that it really works.

Code is on GitHub for the curious. We’ve featured hacks with the chunky Commodore 1541 before, too.

Continue reading “Commodore Disk Drive Becomes General Purpose Computer”

How Many Phones Sport A 5 And 1/4 Diskette Drive? This One.

It all started with a sarcastic comment right here on Hackaday.com: ” How many phones do you know that sport a 5 and 1/4 inch diskette drive?” — and [Paul Sanja] took that personally, or at least thought “Challenge accepted” because he immediately hooked an old Commodore floppy drive to his somewhat-less-old smartphone. 

The argument started over UNIX file directories, in a post about Redox OS on smartphones— which was a [Paul Sajna] hack as well. [Paul] had everything he needed to pick up the gauntlet, and evidently did so promptly. The drive is a classic Commodore 1541, which means you’ll want to watch the demo video at 2x speed or better. (If you thought loading times felt slow in the old days, they’re positively glacial by modern standards.) The old floppy drive is plugged into a Google Pixel 3 running Postmarket OS. Sure, you could do this on Android, but a fully open Linux system is obviously the hacker’s choice. As a bonus, it makes the whole endeavor almost trivial.

Continue reading “How Many Phones Sport A 5 And 1/4 Diskette Drive? This One.”

Commodore Floppy Drive Fixing Chaos

One of the best parts of retrocomputing is that you can obtain so many broken systems and peripherals for repairing and other assorted fun. This was the wholesome activity that [Drygol] embarked on recently with a gaggle of Commodore floppy disk drives that he obtained, involving a lot of cleaning, soldering, calibrating and other assorted entertainment. This follows cold on the heels of an earlier repair session of a stash of Commodore 1541 FDDs.

Testing Commodore FDD head alignment using the 1541 diagnostic cartridge.
Testing Commodore FDD head alignment using the 1541 diagnostic cartridge.

As with any such devices, the first thing to do is to clean the heck out of them, to remove forty-odd years of dust and other debris, followed by testing of functionality, replacing dead ICs and the usual round of (electrolytic) capacitor replacement. Retrobrighting gives it that fresh-out-of-packaging look, which leaves just the calibrating of these drives. This procedure is essential to make sure the read/write head is aligned with the tracks on the disks, and is the most fiddly part of the process.

What helps a lot here is the 1541 diagnostic cartridge by [World of Jani] that displays real-time information on the drive while you are tweaking its speed and head alignment. All you have to do is tweak the speed potentiometer, and adjust the position of the drive motor, which takes a bit of patience and a steady hand. After this repair session a few Mitsumi drives unfortunately remained dead due to busted coils. Despite a valiant repair attempt on the heads by manually rewinding the coils, this remains a topic for a potential part III.

The Ultimate 1541 Talk by Michael Steil, presented at the Vintage Computer Festival West

The Ultimate Commodore 1541 Drive Talk: A Deep Dive Into Disks, Controllers, And Much More

When we think of retrocomputing, it’s very often the computers themselves that get all the glory.  There’s nothing wrong with this of course- the computers of the late 70’s and 80’s were incredible machines that were chock full of hacks in their own right. But some of the most interesting hacks of the day happened not in the computers, but rather in their peripherals. A devotee of such periphery is [Michael Steil], who was driven to compile years of research, knowledge, and hard data into The Ultimate Commodore 1541 Drive Talk which you can view below the break.

In the talk, [Michael] covers the physical disk composition and construction, the disk drives, controller hardware, and the evolution thereof. The bit-by-bit breakdown of the tracks, sectors, and header information on the disks themselves is fascinating, as is the discussion of various copy protection techniques used by vendors to prevent piracy at a time when sneakernet was in full swing.

The descent into the circuitry of the controller reveals a venerable 6502 CPU which powered many vintage computers. Further discussion divulges the secrets for getting higher performance from the 1541 drive using innovations that are as recent as 2013.

A computer historian and archaeologist, [Michael] discusses how using modified vintage hardware is sometimes enough to save your old floppy collection. He also shows how modern interfaces that read disks all the way down to the magnetic flux level can be used to reconstruct missing data.

[Michael] masterfully lays bare the complexity, engineering, and hackery that went into storing less than 200kb of data. Whether you’re a Commodore enthusiast or not, your appreciation for the 32GB USB stick collecting dust on your desk is bound to grow!

We’ve covered [Michael]’s exploits before, and you may wish to check out the Ultimate Apollo Guidance Computer Talk or the Ultimate Gameboy Talk. Do you have your own favorite retrocomputer hacks and insights to share? Be sure to let us know via the Tip Line!

Continue reading “The Ultimate Commodore 1541 Drive Talk: A Deep Dive Into Disks, Controllers, And Much More”

Custom Joystick For An Old Commodore Finds An Unlikely Home

Retro hardware is getting harder and harder to come by, with accessories such as joysticks and mice dropping out of the market the fastest. So if your old machine needs a new joystick, you may find yourself whipping it up yourself. While you’re at it, you might as well have some fun as [Tom Tilley] did when he built a C-64 joystick inside a replica disk drive case for his rare SX-64 luggable.

Anyone who remembers the amount of desk space the classic Commodore 1541 disk drive occupied might wonder why someone would want such an enormous base for a joystick. But rest assured that no actual 1541s were harmed in the making of this joystick; rather, [Tom] created a smaller replica of the drive case from MDF. The face of the case is about 80% original size, and the depth is cut down to about half the original, so the joystick actually ends up being a manageable size while offering a nice, broad wrist support. The drive door is 3D-printed and painted, and adorned with the original green and red LEDs. Decorations like the front badge and even replicas of the original rear panel labels, connectors, and switches were printed from files off a website devoted to recreating Commodore hardware from paper. Because Commodore love knows no bounds.

It’s silly, but it works, and we love the attention to detail. Hat’s off to [Tom] for not settling for yet another joystick build, and for keeping the Commodore flame burning. They may be tough machines, but they won’t be around forever.

Continue reading “Custom Joystick For An Old Commodore Finds An Unlikely Home”