fluxengine icon indicating copy to clipboard operation
fluxengine copied to clipboard

Reported clock rate for decode is different than clock rate in config files

Open tdaede opened this issue 2 years ago • 1 comments

In ibm*.textpb files, the clock rate is specified as 500kHz for HD media:

			clock_rate_khz: 500

However, when decoding HD media, the reported clock rate is shown as double:

 36.1: 290.11225 ms in 123425 bytes
       26 records, 13 sectors; 1.00us clock (998kHz); 8 distinct sectors; 
       logical track 36.1; 12288 bytes decoded.

tdaede avatar Nov 27 '21 19:11 tdaede

This is happening because internally the decoder is using bits-per-second for the clock, which of course is half the MFM or FM clock rate (but correct for GCR). That should be relatively easy to correct in the appropriate decoders.

davidgiven avatar Dec 06 '21 22:12 davidgiven