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

  1. Xref: sparky comp.sys.ibm.pc:326 comp.sys.ibm.pc.hardware:20508 comp.sys.ibm.pc.misc:10929 comp.sys.ibm.pc.programmer:291
  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!paladin.american.edu!darwin.sura.net!mips!sdd.hp.com!cs.utexas.edu!hermes.chpc.utexas.edu!news.utdallas.edu!corpgate!bnrgate!nrcnet0!cunews!torn!csd.unb.ca!morgan.ucs.mun.ca!nstn.ns.ca!cs.dal.ca!mimperat
  4. From: mimperat@cs.dal.ca (Marco Imperatore)
  5. Subject: Floppy Disk Controller Questions
  6. Message-ID: <Bs44qA.Dqq@cs.dal.ca>
  7. Keywords: FDC
  8. Sender: usenet@cs.dal.ca (USENET News)
  9. Nntp-Posting-Host: cs.dal.ca
  10. Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
  11. Date: Tue, 28 Jul 1992 18:58:57 GMT
  12. Lines: 41
  13.  
  14. Hi all.
  15.  
  16. I'm trying to program the FDC directly through the I/O ports (0x3f2-0x3f5).
  17. I think I have some things figured out but there are still a lot of things
  18. which are unclear.  For instance:
  19.   1.  Which FDC commands provide an interrupt (IRQ6) when complete?
  20.   2.  The Read command takes 7 parameters (1 byte each):
  21.     1. cylinder #
  22.     2. head #
  23.     3. sector #
  24.     4. bytes per sector
  25.     5. end of track
  26.     6. gap 3 length
  27.     7. data length (if parameter 4 is 0)
  28.       - Since the 'bytes per sector' parameter is only 1 byte, does that mean
  29.         that the max sector size if 255 bytes?  What happens to the 256th byte.
  30.       - What does the 'end of track' parameter do?
  31.       - What is the 'gap 3 length'?
  32.       - What does the 'data length' parameter do?
  33.   3.  How does one determine the # of cylinders, # of sectors, # bytes per
  34.       sector, and # of tracks?
  35.   4.  What do the Read/Write Deleted Data commands do (i.e. what is 'deleted'
  36.       data)?
  37.   5.  What does the Read ID command do (i.e. what is an ID)?
  38.   6.  What do the Scan Equal/Low or Equal/High or Equal commands do?
  39.   7.  What is the 'step rate time'?
  40.   8.  What is the 'head load/unload time'?
  41.   9.  What is MFM mode?
  42.  10.  How does non-DMA mode work?
  43.  11.  What does 'skip deleted-data address mark' mean?
  44.  
  45. As you can see I'm still rather uninformed.  I ordered the Intel Peripherals
  46. book and it should be here in a few days but I'm not sure if it will contain
  47. any information on the FDC.  So... if anyone can answer any/all of my questions
  48. I'd be happy to hear from you (if you'd rather give me a detailed explanation
  49. of how data is stored on a disk, that info. would be happily received too).
  50.  
  51. Regards...
  52. marco
  53. -- 
  54. Marco Imperatore (mimperat@cs.dal.ca)
  55.