Delete File Command - Amateur OS Dev (x86 asm)

Channel:
Subscribers:
5,840
Published on ● Video Link: https://www.youtube.com/watch?v=wMbDCoKFdv8



Duration: 40:31
392 views
11


Adding a delete file command to the shell/kernel

Notes:
I'll probably go through and refactor to use 'movzx' or 'lea' instructions soon-ish. Noticed a couple use cases in this video.

I was pretty tired and had a couple beers during this, apologies for any low audio and mumbling

There is a lot of similar/repeated code in the "delete_file/save_file/load_file.inc" files, I think I'm going to combine all these into a general "file_ops.inc" file or similar to simplify and de-duplicate code. That might be in the next video

Video outline:
0:00 - Add "del filename" command to shell/kernel
2:15 - Create delete_file.inc file
23:42 - Finish call to delete_file in kernel
27:47 - Debugging start
33:23 - Show working delete and explain changes
39:57 - Next up & Outro

----------------------------------------------------------------------------------------------------------------------------------------
Playlist for this series:
https://www.youtube.com/playlist?list=PLT7NbkyNWaqajsw8Xh7SP9KJwjfpP8TNX

Git repos:
https://git.sr.ht/~queso_fuego/quesos
https://github.com/queso-fuego/amateuros

Software used:
VMware Workstation Player - https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
openBSD - https://www.openbsd.org/
qemu - https://www.qemu.org/
vim - https://www.vim.org/ (neovim is probably better :p)
fasm - https://flatassembler.net/
fasm docs - https://flatassembler.net/docs.php?article=manual

Contact:
email - fuegoqueso@gmail.com
twitter - @Queso_Fuego

Thoughts/Notes/Suggestions/Other - Drop a message in the video comments, by twitter, or by email

Credits:
Music from https://incompetech.com:
"Your Call" by Kevin MacLeod (https://incompetech.com)
Licence: CC BY (http://creativecommons.org/licenses/by/4.0/)

The blue title tags:
#osdev #programming #x86







Tags:
delete file
del file
x86
assembly
assembler
fasm
programming
coding
low level
16 bit
real mode
vim
qemu
os dev
operating systems
development
systems