home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text3966.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  6.7 KB  |  131 lines

  1.     (Smail3.1.29.1 #3) id m0u3zL2-0007rKn; Mon, 1 Apr 96 23:13 MST
  2. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!noao!ennfs.eas.asu.edu!cs.utexas.edu!uwm.edu!lll-winken.llnl.gov!nntp.coast.net!fu-berlin.de!zrz.TU-Berlin.DE!news.dfn.de!uni-muenster.de!news
  3. From: gutschk@uni-muenster.de (Markus Gutschke)
  4. Newsgroups: comp.emulators.mac.executor
  5. Subject: Re: mac 800k disks
  6. Date: 01 Apr 1996 08:46:46 GMT
  7. Organization: Markus Gutschke, Schlage 5a, 48268 Greven-Gimbte, Germany
  8. Lines: 110
  9. Message-ID: <GUTSCHK.96Apr1104646corpus@uni-muenster.de>
  10. References: <Doy90x.8wE@cix.compulink.co.uk> <DozB2p.DLx@statcan.ca>
  11. NNTP-Posting-Host: pppe091.uni-muenster.de
  12. Mime-Version: 1.0 (generated by tm-edit 7.41)
  13. Content-Type: text/plain; charset=US-ASCII
  14. In-reply-to: royfran@statcan.ca's message of Thu, 28 Mar 1996 13:06:24 GMT
  15. To: executor@ardi.com
  16. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  17. Sender: owner-executor@ardi.com
  18. Precedence: bulk
  19.  
  20. -----BEGIN PGP SIGNED MESSAGE-----
  21.  
  22. In article <DozB2p.DLx@statcan.ca> royfran@statcan.ca (Francois Roy) writes:
  23. > Rob Heath (rheath@cix.compulink.co.uk) wrote:
  24. > : is there any program out there that will read 800k mac floppy disks?
  25. > As far as I know, there isn't.  From what I've heard, the 800k floppys
  26. > are written with a different speed of rotation depending on whether you
  27. > are writing on the outer or the inner tracks.  The drives on PCs all
  28. > operate at a constant rotational speed.
  29.  
  30. It is a common trick (used by harddrive manufacturers) to increase the
  31. data density on the outer tracks, but I do not know whether the Mac
  32. actually makes use of this for its 800k floppy disks.
  33.  
  34. But the main problem with trying to use 800k floppy disks on a PC is
  35. different from that (I try to explain just the basic concepts; if you
  36. do not like the simplifications that I make, either get hold of good
  37. documentation on these topics or ask me and I will try to look it up):
  38.  
  39. The data on each track of a the floppy disk is basically a cyclical
  40. stream of "one" and "zero" bits. There is no way, that the hardware
  41. could tell where the data starts and where it ends. Thus this
  42. information needs to be somehow encoded into the data stream; a very
  43. simplistic approach could work like this:
  44.  
  45.  1) expand every byte ( = 8 bits) of data to be 9 bits long
  46.  2) for regular user-supplied data, that is to be stored on the disk,
  47.     set the 9th bit to "one"
  48.  3) for synchronisation information, set the 9th bit to "zero"
  49.  4) mark the beginning of each data block, that contains just
  50.     synchronisation data, but nine consecutive "zero" bits.
  51.  
  52. This way we would waste a little more than 11% of disk capacity, but
  53. we could now tell where to start looking for data. Unfortunately, this
  54. will fail if the user data contains long blocks of 0xFF bytes (all
  55. bits set). Small deviations in rotational velocity would cause us to
  56. get out of phase and we would then read bogus data.
  57.  
  58. Therefore, encoding mechanisms have been designed which guarantee,
  59. that there will be no more than a certain amount of consecutive bits
  60. with the same value. This enables us to obtain clock information and
  61. re-synchronize on the data stream while reading the data. Besides, it
  62. offers a new improved technique for marking the beginning of
  63. synchronisation information. Now, there are sequences of bits, that
  64. are definitly "illegal" with regard to our encoding scheme; these
  65. sequences are used to mark "out-of-band" data.
  66.  
  67. As computer technology improved, different encoding schemes were used;
  68. some of the more important schemes where named FM, GCR, MFM, and
  69. RLL. In early days, the computer's CPU would actively do the
  70. encoding/decoding. Thus it did not really matter, if a new encoding
  71. scheme was developed; as long as the CPU was sufficiently fast, all
  72. you had to do was upgrading your software. This was the case for the
  73. Commodore C64 and for the Apple II. Later, some dedicated hardware was
  74. designed that assisted the CPU while still retaining flexibility and
  75. allowing for different encoding schemes. As far as I can tell this is
  76. the case with the Commodore Amiga and the Apple MacIntosh. At about
  77. the same time, MFM encoding became very popular and developed into the
  78. dominating encoding scheme. Thus chip designers, developed a "floppy
  79. disk controller" that would do *all* of the encoding/decoding. This is
  80. what is done in current PC's.
  81.  
  82. The PC has always used MFM encoding (even though RLL encoding would
  83. bring a 50% improvement in data capacity), but the data density has
  84. increased considerably from single sided, 40 tracks, 9 sectors (this
  85. gives 180kB) to double sided, 80 tracks, 18 sectors (this gives 1.44
  86. MB). I believe there have been some other formats that stored even
  87. less data and there also is a format that stores 2.88 MB (while using
  88. 36 sectors), but I think these have never been really popular.
  89.  
  90. The Apple MacIntosh used to have its own proprietary format. I do not
  91. know much about the encoding scheme other than one reference that I
  92. found; it states something about "6-out-of-2" coding. Back in the
  93. days, when "double density" disks (720kB) where popular, the Apple
  94. MacIntosh had the advantage of storing about 10% more data (800kB) on
  95. the same medium. But when "high density" disks (1.44MB) became
  96. commonly available, Apple had to decide whether they wanted to come up
  97. with an improved proprietary format or if they would go with the
  98. "industry standard". Fortunately, they decided for the latter. This
  99. has the disadvantage of storing less data than is physically possible
  100. (I believe, advanced encoding schemes can store at least up to 1.8MB
  101. user data on a regular "high density" disk), but finally there is just
  102. one standardized format, which allows for easy exchange of media.
  103.  
  104. Computers such as the Commodore Amiga or the Apple MacIntosh still
  105. have the ability of handling arbitrary encoding schemes, if the CPU is
  106. programmed to recognize this format, but the PC never had this
  107. ability. There are tricks that can be used in order to force the
  108. "floppy controller" into accessing the raw data stream, but this is
  109. usually very unreliable and you will never read the same data
  110. twice. Thus, with sophisticated software it might just be possible to
  111. make the PC read 800kB floppy disks, but I would not trust it to
  112. reliably write these disks.
  113.  
  114. I hope, I cleared up some of the confusion,
  115.  
  116.  
  117. Markus
  118.  
  119. -----BEGIN PGP SIGNATURE-----
  120. Version: 2.6.2
  121. Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface
  122.  
  123. iQCVAgUBMV+X7xqJqDLErwMxAQFzPgP/YifZAIPZJl5pA7tatIW8rB/rfEx4VhMz
  124. 6D7u+oQPpTUswmqmbgyFe9Y6JsfKNvzryqt+WCb1Sqeh06bXi57GcB5sLAM8PfRk
  125. 6Cu6HtVzgAXKEraCOOGNjod/ApO8vLAal02nAWivwjMCjq8KiWdMgCjp2EtJj710
  126. vf9terdgnTM=
  127. =V7ai
  128. -----END PGP SIGNATURE-----
  129.  
  130.