Hi
I've gotten to a point where I have paging enabled, finally. The next step would be to write the disk and filesystem drivers. I've read trough most of the ATA PIO article on the wiki, and I have a question now.. Is there a complete structure for data returned by the IDENTIFY command? What other data, besides the stuff listed here does it return?
ATA PIO IDENTIFY return data
- makerimages
- Member
- Posts: 27
- Joined: Sun Dec 28, 2014 11:16 am
- Libera.chat IRC: Makerimages
- Location: Estonia
ATA PIO IDENTIFY return data
Working on SinusOS.
Re: ATA PIO IDENTIFY return data
There is a lot of information in there. Just read the section on IDENTIFY in the ACS-3 spec, it has a long table that describes each word in the IDENTIFY data. Starting to read the spec instead of relying only on secondary sources like the wiki is a good idea anyway as soon as you get to non-trivial hardware like IDE.
- makerimages
- Member
- Posts: 27
- Joined: Sun Dec 28, 2014 11:16 am
- Libera.chat IRC: Makerimages
- Location: Estonia
Re: ATA PIO IDENTIFY return data
K, that table is loong. Is there a drop-in structure for loading this into, or how would anyone efficiently load the 256 words into something useable?
Working on SinusOS.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: ATA PIO IDENTIFY return data
Defining that packed struct as appropriate. It's probably faster than finding one you can reuse without copyright issues.makerimages wrote:or how would anyone efficiently load the 256 words into something useable?