home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text3968.txt < prev    next >
Encoding:
Internet Message Format  |  1996-07-25  |  6.3 KB

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