udem-dlteam / mimosa

Minimal operating system for x86 intended as a basis for benchmarking and running Gambit
80 stars 5 forks source link

IDE: Read multiple sectors when possible #54

Open SamuelYvon opened 5 years ago

SamuelYvon commented 5 years ago

Currently, reading from the IDE drive reads sector by sector, which is really slow. Some performance improvement can be reached from reading more than one sector at a time.

SamuelYvon commented 5 years ago

The file_read method on FAT files is not designed to work correctly with this design... The cache blocks are only one sector long.