Update comment about the generation of the desync sequence.

This commit is contained in:
David Given
2022-03-19 18:41:03 +01:00
parent 39d6b0525f
commit fc7859dc27

View File

@@ -18,10 +18,19 @@
*
* Each pattern is prefixed with this one:
*
* data: - - - X - - X - = 12
* flux: 10 10 10 01 00 10 01 00 = a924
* magic: 10 00 10 01 00 10 01 00 = 8924
* ^
* data: - - - X - - X - = 12
* flux: (10) 10 10 10 01 00 10 01 00 = a924
* magic: (10) 10 00 10 01 00 10 01 00 = 8924
* ^
*
* This seems to be generated by emitting A4 in MFM and then a single 0 bit to
* shift it out of phase, so the data bits become clock bits and vice versa.
*
* X - X - - X - - = A4
* 0100010010010010 = MFM encoded
* 1000100100100100 = with trailing zero
* - - - X - - X - = effective bitstream
*
*/
static const uint64_t SECTOR_ID = 0x8924555549111444;