[comp.sys.ibm.pc] hard disk controller i/o registers

daved@cscnj.csc.COM (Dave Douglass) (10/24/89)

OK, so a typical hard disk controller has 4 registers located
at 380h or wherever (I don't recall off the top of my head)
These registers are:

OFFSET    READ                  WRITE
00h       data in               data out
01h       controller status     controller reset
02h       not used              controller select
03h       not used              DMA & int mask

So how exactly do these registers work?  I can find documentation on
how to use the data registers to feed commands to the controller and
on what the return value in the status register means, but nothing on
the controller reset, controller select and the mask register.

Would a RLL or SCSI controller work any differently?  If so, how?

Please no book references.  If there was a book containing this
information that was readily available, I'd have it already.  Just a
quick and dirty explanation of how to use them.  Thanks.
-- 
---------
Dave Douglass  Computer Sciences Corporation  Piscataway, NJ  08854
....!rutgers.rutgers.edu!cscnj!daved