Modified Frequency Modulation

From Wikipedia, the free encyclopedia

This article is about modified frequency modulation. For other uses of MFM, see the disambiguation page.

Modified Frequency Modulation, commonly MFM, is a line coding scheme used to encode information on most floppy disk formats, which include the floppy disk formats used in most CP/M machines as well as PCs running DOS.

MFM is a modification to the original FM (frequency modulation) scheme for encoding data on single-density floppy disks. Because the minimum spacing between flux transitions is a property of the disk and head design, MFM which guarantees at most one flux transition per data bit can be written at higher density than FM, which can require two transitions per data bit. It is used with a data rate of 250-500 kbit/s (500-1000 kbit/s encoded) on industry standard 5¼" and 3½" ordinary and high density diskettes. MFM was also used in early hard disk designs, before the advent of more efficient types of Run Length Limited (RLL) coding. Except for the steadily disappearing 1.44 MB floppy disk drives, MFM encoding is obsolete.

Data MFM
1 01 (or NP)
0 10 (or PN) if following a data 0
0 00 (or NN) if following a data 1

Notice no.1:

P - is a pulse (change the level of signal)

N - not a pulse (no change the level of signal)


Notice no.2 that two "ones" can't appear together, and the maximum number of zeros in a row is three. Thus, MFM is a (1,3) RLL code. This bit stream is then NRZI encoded to be written to disk, a 1 bit representing a magnetic transition, and a 0 bit no transition.

A special "sync mark" that violates the MFM encoding rules but maintains the (1,3) RLL property is used to identify headers. This is referred to as a "sync A1" because it decodes as hexadecimal A1, although it cannot appear in normal data.

No.1

 1  0  1  0  0  0  0  1
NP NN NP NN PN PN PN NP (MFM encoding)

No.2

 1  0  1  0  0  0  0  1 ($A1 - Data)
01 00 01 00 10 10 10 01 ($44A9 - MFM encoding)
01 00 01 00 10 00 10 01 ($4489 - sync mark)
               ^ missing clock


This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.