ATA PIO Mode: Difference between revisions

[unchecked revision][unchecked revision]
Line 116:
! Function
! Description
! Param. size LBA28/LBA48
|-
| 0
| Data Port
| Read/Write PIO '''data''' bytes on this port.
| 16-bit / 16-bit
|-
| 1
| Features / Error Information
| Usually used for ATAPI devices.
| 8-bit / 16-bit
|-
| 2
| Sector Count
| Number of sectors to read/write (0 is a special value).
| 8-bit / 16-bit
|-
| 3
| Sector Number / LBAlo
| This is CHS / LBA28 / LBA48 specific.
| 8-bit / 16-bit
|-
| 4
| Cylinder Low / LBAmid
| Partial Disk Sector address.
| 8-bit / 16-bit
|-
| 5
| Cylinder High / LBAhi
| Partial Disk Sector address.
| 8-bit / 16-bit
|-
| 6
| Drive / Head Port
| Used to select a drive and/or head. May supports extra address/flag bits.
| 8-bit / 8-bit
|-
| 7
| Command port / Regular Status port
| Used to send commands or read the current status.
| 8-bit / 8-bit
|-
|}
2

edits