home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / 334 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.4 KB

  1. Xref: sparky comp.sys.ibm.pc:334 comp.sys.ibm.pc.hardware:20600 comp.sys.ibm.pc.misc:10980 comp.sys.ibm.pc.programmer:300
  2. Newsgroups: comp.sys.ibm.pc,comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer,comp.ibm.pc.hardware
  3. Path: sparky!uunet!munnari.oz.au!uniwa!gude
  4. From: gude@uniwa.uwa.edu.au (David J W Emrich)
  5. Subject: Re: Floppy Disk Controller Questions
  6. Message-ID: <1992Jul29.155554.14834@uniwa.uwa.edu.au>
  7. Keywords: FDC
  8. Organization: University of Western Australia
  9. References: <Bs44qA.Dqq@cs.dal.ca>
  10. Date: Wed, 29 Jul 1992 15:55:54 GMT
  11. Lines: 49
  12.  
  13. mimperat@cs.dal.ca (Marco Imperatore) writes:
  14.  
  15. >Hi all.
  16.  
  17. >I'm trying to program the FDC directly through the I/O ports (0x3f2-0x3f5).
  18. >I think I have some things figured out but there are still a lot of things
  19. >which are unclear.  For instance:
  20. >  1.  Which FDC commands provide an interrupt (IRQ6) when complete?
  21.  
  22. ...lots of fun questions deleted......(brevity)
  23.  
  24. >As you can see I'm still rather uninformed.  I ordered the Intel Peripherals
  25. >book and it should be here in a few days but I'm not sure if it will contain
  26. >any information on the FDC.
  27.  
  28. The Intel book is quite good to have anyhow, but you will probably find
  29. that it doesn't do justice to the formatting modes.  What you probably
  30. need is an IBM publication that covers the abstract information about
  31. floppies, since they (or DEC) came up with the idea of a floppy in the
  32. first place.  A good application note from IBM or DEC will explain how
  33. data is written on diskettes, right from the low level (i.e. magnetic
  34. fields) to high level (Dos or equiv. level).
  35.  
  36. I don't know many answers for you questions, since I haven't had the
  37. need to go so deep into things, but a few things I can answer.  
  38. Numbers of heads, etc. etc. are following (MS-DOS formats assumed)
  39. Form-
  40. atted        Num of    Num of    Sctrs    Bytes
  41. Size        Heads    Tracks    / Trk    / Sctr    Normal    Unusual    Obs
  42. 160Kb    5.25"    1    40    8    512        X    X
  43. 180Kb    5.25"    1    40    9    512    X        X
  44. 320Kb    5.25"    2    40    8    512        X    X
  45. 360Kb    5.25"    2    40    9    512    X        X
  46. 720Kb    3.5"    2    80    9    512    X
  47. 1.2M    5.25"    2    80    15    512    X
  48. 1.4M    3.5"    2    80    18    512    X
  49.  
  50. In general, approx. formatted capacity is Heads * Tracks * Sectors *
  51. Bytes-per-sector.
  52.  
  53. There's one (of the easier) questions answered.  Also, a look at
  54. Norton's Utilities may yield more answers that may be helpful.
  55. Especially Nortons Disk Doctor, Disk statistics option.
  56.  
  57. Best of luck with the rest of your quest(ions!).
  58.  
  59. [dav]   aka.
  60. David Emrich
  61. gude@uniwa.uwa.edu.au
  62.