skni-kod / MicrOS

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

HDD reading issues #120

Closed MinusPL closed 1 year ago

MinusPL commented 2 years ago

After loading FAT16 partitions on MBR formatted disk system becomes unstable. Switching in shell to B partition and then launching one of programs available in ENV works fine first time it is launched. After launching second time (also it doesn't have to be the same application) it will cause pagefault with CR2 equal to 0x4. Using cat on file located on B partition also causes issues and will pagefault almost immediately. When creating new file by touch it is possible it will end up in endless loop and will treat each keyboard input as if it was multiple ones, leading to keyboard buffer filling up.

More testing required, most likely related to #89.

MinusPL commented 2 years ago

Fixes were applied on PIO mode driver on hdd-fix branch. Please test them. Wiritng will be fixed soon too.

MinusPL commented 1 year ago

Closed since being consolidated in #134