Debugging Open() & Print Dir | 32 Bit OS Dev (in C)
Debugging the open() syscall, printing dir entries, and fixing datetime. We can technically make files now! :D
OS Dev playlist:
https://www.youtube.com/playlist?list=PLT7NbkyNWaqajsw8Xh7SP9KJwjfpP8TNX
Git Repos:
Sourcehut: https://git.sr.ht/~queso_fuego/quesos
Github mirror: https://github.com/queso-fuego/amateuros
Repo state before open() syscall (this will be updated on the next video):
git clone -n https://github.com/queso-fuego/amateuros
cd amateuros
git checkout 4255fe96f1efb69498eec2a55417dd3eca3eb2de
Join the Community Discord: https://discord.gg/yKm4T89QFn
Contact:
email: fuegoqueso@gmail.com
twitter: @Queso_Fuego
twitch: https://www.twitch.tv/queso_fuego
Next video:
- Either close/seek/read/write syscalls, or making/changing directories
- Let me know if there's anything specific you'd like to see!
Outline:
0:00 changes since last video
5:17 fix new 'dir' output
7:27 change shell prompt to use current dir string
9:27 fix cursor staying on user input
14:01 test/debug open() syscall
59:33 found the issue
1:03:37 debug reading dir for new entry
1:12:42 update current_dir_inode after adding new file
1:19:22 debug showing datetime
1:26:52 fix for datetime, add time to print_dir
1:33:08 wrap up & outro
Questions about setup/software/etc.?
Check the FAQ: https://queso_fuego.srht.site/about.html
Music credits:
City Life by Artificial.Music | https://soundcloud.com/artificial-music/
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY 3.0
https://creativecommons.org/licenses/by/3.0/
#osdev #filesystem #createfiles