Accessing SATA devices in DOS (DOSX)
just in case someone is interested to access SATA devices in DOS, here is some info based on my experiences:
1. SATA - as the name implies - still uses the ATA port interface :)).
2. to get the ports for a SATA device if it's not using the legacy ports
(1F0-1F7, 170-177), the BIOS must support int 13h, ah=41h and return
EDD >= 3.0 (should always be true for SATA motherboards)
3. calling int 13h, ah=48h for the drive will return if it's a PCI ATA device
and if yes, return the PCI bus, device and function number, which are
needed to call the PCI BIOS function B10Ah.
4. calling int 1Ah, ax=B10Ah (read configuration dword) should now return
the ports. Config dwords 4+5 and 6+7 are the ports for ATA, config dword
8 will return the port of the DMA controller.
---
MS-DOS forever!
Complete thread:
- Accessing SATA devices in DOS - Japheth, 14.08.2007, 11:58 (DOSX)
- Accessing SATA devices in DOS - avoskov, 14.08.2007, 19:06
- Accessing SATA devices in DOS - Japheth, 14.08.2007, 22:18
- Accessing SATA devices in DOS - DOS386, 16.08.2007, 09:56
- Accessing SATA devices in DOS - tom, 09.01.2008, 20:38
- Accessing SATA devices in DOS - sol, 09.01.2008, 22:30
- Accessing SATA devices in DOS | FreeDOS and 2 TiB size - DOS386, 10.01.2008, 00:47
- Accessing SATA devices in DOS | FreeDOS and 2 TiB size - tom, 10.01.2008, 20:45
- Accessing SATA devices in DOS | FreeDOS and 2 TiB size - Steve, 11.01.2008, 00:19
- Accessing SATA devices in DOS - tom, 09.01.2008, 20:38
- Accessing SATA devices in DOS - DOS386, 16.08.2007, 09:56
- Accessing SATA devices in DOS - Japheth, 14.08.2007, 22:18
- Accessing SATA devices in DOS - avoskov, 14.08.2007, 19:06