picosonic/bbc-fdc

Enhance .RAW output

picosonic opened this issue · 1 comments

The current .raw output method gives great sampling of the flux transitions detected by the drive, however initially they were just meant to contain 1Mb per track for all 40 or 80 tracks.

I propose two enhancements :

  1. Write a short header to say if it's single/double sided and 40/80 track, possibly also the sampling frequency. Then with another short header, record per-track which head and track the sample relates to. Also the RPM may be useful for disks which vary this depending on track.

  2. Compress the .raw data with RLE to reduce file size but remain lossless.

I've created a .RFI format which supports RAW captured flux transition data with added metadata to indicate where physically on the disk the data was captured from.

It includes support for RAW and RLE encoded outputs.