ATA PIO Mode: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
(Added table of ATA commands) |
(→Registers: Added Drive Address Register) |
||
Line 233: | Line 233: | ||
| Command Register |
| Command Register |
||
| Used to send ATA commands to the device. |
| Used to send ATA commands to the device. |
||
| 8-bit / 8-bit |
|||
|- |
|||
| 1 |
|||
| R |
|||
| Drive Address Register |
|||
| Provides drive select and head select information. |
|||
| 8-bit / 8-bit |
| 8-bit / 8-bit |
||
|- |
|- |
||
Line 411: | Line 417: | ||
====Drive Address Register==== |
|||
{| {{wikitable}} |
|||
|- |
|||
! Bit |
|||
! Abbreviation |
|||
! Function |
|||
|- |
|||
| 0 |
|||
| DS0 |
|||
| Drive 0 select. Clears when drive 0 selected. |
|||
|- |
|||
| 1 |
|||
| DS1 |
|||
| Drive 1 select. Clears when drive 1 selected. |
|||
|- |
|||
| 2 - 5 |
|||
| HS0 - HS3 |
|||
| One's compliment representation of the currently selected head. |
|||
|- |
|||
| 6 |
|||
| WTG |
|||
| Write gate; goes low while writing to the drive is in progress. |
|||
|- |
|||
| 7 |
|||
| n/a |
|||
| Reserved for compatibility with floppy drive controllers which may use this bit. |
|||
|} |
|||
==Resetting a drive / Software Reset== |
==Resetting a drive / Software Reset== |