July 6th, 2024

Preserving a floppy disk with a logic analyzer and a serial cable

CHZ-Soft explains preserving floppy disks with a logic analyzer and serial cable. Using Saleae Logic 8, the author automates imaging with Python scripts, exporting data in Supercard Pro format. Successful disk capture showcases setup effectiveness, with suggestions for speed optimization and handling defective disks.

Read original articleLink Icon
Preserving a floppy disk with a logic analyzer and a serial cable

CHZ-Soft details a method to preserve floppy disks using a logic analyzer and a serial cable. The author, involved in retro computers, opts to use existing hardware like the Saleae Logic 8 logic analyzer instead of dedicated preservation devices. The article explains the low-level interface of floppy drives, emphasizing the need for encoding schemes due to differences between systems. By connecting the logic analyzer to the drive and a USB serial cable for head movement, the author captures and automates the imaging process using Python scripts. Data is exported in the Supercard Pro (.scp) format for preservation. A test run successfully captures a disk, demonstrating the effectiveness of the setup. The author also highlights the ability to analyze drive characteristics from the captured data. Suggestions for improvement include optimizing the process speed and accommodating defective disks by saving multiple revolutions per track. The article concludes with a link to the author's Python script for reference.

Related

Agilent 2000a / 3000a Oscilloscope NAND Recovery

Agilent 2000a / 3000a Oscilloscope NAND Recovery

Anthony Kouttron salvaged a damaged Agilent oscilloscope, addressing physical and boot issues. He repaired an encoder, fixed cosmetic damages, and explored internal components, demonstrating technical prowess and troubleshooting skills.

Upgrading my Chumby 8 kernel part 11: SD/CF card reader

Upgrading my Chumby 8 kernel part 11: SD/CF card reader

Doug Brown discusses upgrading the Chumby 8 kernel, addressing an SD/CF card reader issue by modifying the USB storage driver and implementing a userspace daemon to manage the device effectively.

Show HN: I built a large JavaScript powered flipdisc display. Here's a guide

Show HN: I built a large JavaScript powered flipdisc display. Here's a guide

Flipdisc displays, or flip dots, use electromagnetic pulses to switch colors. A project details building a large interactive display for offices, covering construction, power, software, and design considerations. It aims to explore real-time visualizations and user interactions, hoping to make flipdisc technology more accessible.

The Apple II shows how amazing the C64 was

The Apple II shows how amazing the C64 was

Ruben Schade, a tech writer and IaaS engineer, shared his experience with retro computers, favoring the Apple //e despite being a "Commodore guy." He praised the Apple //e's charm, expandability, and value proposition over the Commodore 64, acknowledging the C64's superior graphics and sound. Schade plans to enhance his Apple //e setup with modern reproductions, emphasizing its unique appeal for retro computing.

1990's Workstation in Your Pocket

1990's Workstation in Your Pocket

A project on Hackaday emulates a 1990s DECstation workstation with an RP2040 microcontroller, replicating features like a MIPS processor, UNIX OS, monochrome screen, USB peripherals, and Ethernet. The GitHub repository offers detailed information.

Link Icon 8 comments
By @snvzz - 3 months
Appreciate how the article documents the physical side of floppy interface and how a track is selected and read.

Then there's the (several) formats of tracks and sectors, which are left out of scope.

Mature open-source alternatives include GreaseWeazle[0] and FluxEngine[1].

They are also cheap and effective, based on off-the-shelf parts.

0. https://github.com/keirf/greaseweazle/wiki

1. https://cowlark.com/fluxengine/index.html

By @jgalt212 - 3 months
The cheapest Saleae Logic Analyzer costs $499.

https://www.saleae.com/products/saleae-logic-pro-16

A Greaseweazle costs like $35.

That being said, it's always fun to hack around using the tools you have lying around. Put money already spent to good use.

By @beej71 - 3 months
I would pay excellent money to get my hands on the floppies that held my childhood programs. They're long gone.

So if you're just getting started today, I recommend you keep copies of everything you do. It's fun to go back and look at, and maintaining those copies is a lot easier to do than it was in the 80s.

By @ck2 - 3 months
Fun-fact the last floppy disc was made in 2011

Also the BBC seems to be running an odd number of floppy stories lately?

https://www.bbc.com/future/article/20240510-floppy-disks-why...

https://www.bbc.com/news/articles/cx82407j1v3o

By @ThomasBb - 3 months
Reminds me of the applesauce project for Apple ][ disks; https://overcast.fm/+BRm0EGSWs
By @asdefghyk - 3 months
Would not the best way to scan a deteriorating? floppy disks is with a magnetic flux measuring tool that flies very close to surface of floppy , but not touching the floppy. Recording the analogue signal, generated a require a big storage space .....
By @silvestrov - 3 months
The graphs would be easier to read for somebody not already familiar with floppy drives if the signals (e.g. Step, Index0) were marked with direction, i.e. is it input to the FD or output from it.
By @pshirshov - 3 months
This is extremely cool, but isn't imdisk supposed to do the same?