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

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