Article View: comp.sys.ibm.pc
Article #26Floppy Disk Controller Questions
From: Marco Imperatore
Date: Tue, 28 Jul 1992 18:58
Date: Tue, 28 Jul 1992 18:58
41 lines
2436 bytes
2436 bytes
Hi all.
I'm trying to program the FDC directly through the I/O ports (0x3f2-0x3f5).
I think I have some things figured out but there are still a lot of things
which are unclear. For instance:
1. Which FDC commands provide an interrupt (IRQ6) when complete?
2. The Read command takes 7 parameters (1 byte each):
1. cylinder #
2. head #
3. sector #
4. bytes per sector
5. end of track
6. gap 3 length
7. data length (if parameter 4 is 0)
- Since the 'bytes per sector' parameter is only 1 byte, does that mean
that the max sector size if 255 bytes? What happens to the 256th byte.
- What does the 'end of track' parameter do?
- What is the 'gap 3 length'?
- What does the 'data length' parameter do?
3. How does one determine the # of cylinders, # of sectors, # bytes per
sector, and # of tracks?
4. What do the Read/Write Deleted Data commands do (i.e. what is 'deleted'
data)?
5. What does the Read ID command do (i.e. what is an ID)?
6. What do the Scan Equal/Low or Equal/High or Equal commands do?
7. What is the 'step rate time'?
8. What is the 'head load/unload time'?
9. What is MFM mode?
10. How does non-DMA mode work?
11. What does 'skip deleted-data address mark' mean?
As you can see I'm still rather uninformed. I ordered the Intel Peripherals
book and it should be here in a few days but I'm not sure if it will contain
any information on the FDC. So... if anyone can answer any/all of my questions
I'd be happy to hear from you (if you'd rather give me a detailed explanation
of how data is stored on a disk, that info. would be happily received too).
Regards...
marco
--
Marco Imperatore (mimperat@cs.dal.ca)
Technical Details
Message-ID:
<Bs44qA.Dqq@cs.dal.ca>Path:
arc1-ca.pugleaf.net!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!mimperatShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc,comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer,comp.ibm.pc.hardware Path: arc1-ca.pugleaf.net!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 From: mimperat@cs.dal.ca (Marco Imperatore) Subject: Floppy Disk Controller Questions Message-ID: <Bs44qA.Dqq@cs.dal.ca> Keywords: FDC Sender: usenet@cs.dal.ca (USENET News) Nntp-Posting-Host: cs.dal.ca Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada Date: Tue, 28 Jul 1992 18:58:57 GMT Lines: 41