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

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