Changes

MFM

833 bytes removed, 14:11, 29 July 2018
/* Syncing */
Each clock and data bit on disc is 2microseconds in duration which means a full byte is 32 microseconds (2 * 16 bits).
 
===Syncing===
 
In order to read the data correctly and to ensure the bits are in the expected order a specific bit pattern is used for syncing. This bit pattern is specific to the format used by the FDC.
 
When this pattern is recognised then all data following is synced and will always read the same.
 
This special value used by the NEC765 is 4489 and has the following properties.
* 4489 is an encoded version of the data byte A1 and has bit 7 set. It doesn't matter what the value of the previous byte is, the first clock of 4489 will always be 0. Therefore the pattern 4489 can't be influenced by data around it.
* To make the value special, it has a "missing clock". What this means is that one of the clocks is forced to 0. The equivalent A1 byte encoded to MFM without the missing clock is different, therefore it is unique.
2,541
edits