Building an OS - 6 - FAT subdirectory support

preview_player
Показать описание
We adapt and improve the FAT driver written in part 3, adding support for parsing entire paths, and providing an stdio.h - like FILE API.

Links:

Documentation:

Chapters:
0:00 Introduction
0:35 Implementing DISK functions
12:44 FAT API
15:57 Implementing FAT initialize
22:19 Implementing FAT open
36:37 Implementing FAT read
41:00 Implementing FAT read directory entry
41:18 Implementing FAT close
41:34 Implementing FAT find file
44:38 Testing
47:40 Debugging
1:04:39 Conclusion
Рекомендации по теме
Комментарии
Автор

I loved that portion on debugging. I've had too many days like that.

treytomes
Автор

I had to do a low level file system on Linux for Uni, and this is very much so what we had to do. It was extremely hard to program and the teacher wasn't as helpful as he should of.

redhawk
Автор

At the flashback I thought YouTube was glitching or something

crazygames
Автор

why is this complicated fat driver and custom libraries needed while still in stage2? isn't the cpu still in 16 bit real mode, meaning this won't be reusable once the kernel is loaded?

meiskam
Автор

i am struggling with context switching and address spaces... maybe in the future you'll make a tutorial about this, but this tutorial made me understand even better the things about an operating system

alexandrubossro
Автор

It only took you 3 hours to fix all the bugs? Unbelievable! I might took me a day.

imafishI
Автор

Please don't stop with these low level videos. There are very little information about these topics out there.

sreyanchakravarty
Автор

in x86.asm, the disk read function is taking the drive number which is 8 bit from bp+4 position and the next arguement from bp+6 but it is 8 bits so only 8 bits would have been pushed onto stack right?, why are we considering 16 bits

burhanuddinmurtazatinwala
Автор

what theme are you using in VSCode in this video??

swartex
Автор

thank you broh, i was finding this. will you please give me which destro you are using ??

omarfaruk
Автор

Is it possible to change fat12 to exfat after reaching this point?

caibi_
Автор

you might have a bug when reading folders. I tried opening and reading the mydir folder and it spammed alot of whitespace

Shadowblitz
Автор

Hey! Can you please explain the purpose of "far". It seems you just define it, but i dont see why is this relevant. Thank you!

Airknightangel