Loading A Hex File - Amateur OS Dev (x86 asm)
Integrating the new load_file function into the hex editor. At the end of this video, we can now save and load programs! Albeit only in hex for now.
To see how save_file.inc & load_file.inc were made, watch the previous video here: https://www.youtube.com/watch?v=YnfvLtlOs8I
"B4 0E B0 54 CD 10 FA F4" is equivalent to
mov ah, 0x0E
mov al, 'T'
int 0x10
cli
hlt
It prints a 'T' at the cursor and halts the cpu
----------------------------------------------------------------------------------------------------------------------------------------
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/
Suggest content you would like to see live, programming, gaming, or otherwise, through youtube comments, twitter, or by email.
Stream archive channel- https://www.youtube.com/channel/UCxi12g3jdQMFiFTA5GVcGMA
Contact:
email - fuegoqueso@gmail.com
twitter - @Queso_Fuego
Updates for this series might be tweeted out as they happen, if I remember (not likely). YT channel community tab in the future if channel metrics are met. If people prefer, I can look into a mailing list for updates
Thoughts/Notes/Suggestions/Other - Drop a message in the video comments or twitter or 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:
#os #programming #assembly