skni-kod / MicrOS

32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
50 stars 6 forks source link

ATA/IDE PCI drivers #124

Open MinusPL opened 2 years ago

MinusPL commented 2 years ago

As of current state MicrOS has no PCI driver for ATA/IDE controller. That means every single read operation on HDD is made using PIO mode. It is very compatible with all hardware, but sadly is also really slow. Since we cannot really ensure all possible ATA controllers drivers (since there is alot of them) we're going to work on mostly known to us controllers, and support for more devices will be aded later, when somebody finds yet another unsupported controller device.

As for now we're following Intel controllers specification and some of Texas Instruments variety, it seems it will be possible to use DMA reads, that are going to vastly improve read speeds.

As of current state we do have working reading part on emulators, it needs more work and testing on hardware.

MinusPL commented 1 year ago

Moved ATA/IDE PCI drivers to OS Release 1.4. It needs more work done. Instead improvements for ATA PIO mode drivers are added for 1.3 OS Release.