Amateur OS Dev - Separate Text Files from Bin
Changing the load program code to print out 'txt' files but still run the 'bin' files. And the debugging that ensues. Printing is still kinda broken but it is fixed in the next video
Playlist link: https://www.youtube.com/playlist?list=PLT7NbkyNWaqajsw8Xh7SP9KJwjfpP8TNX
Git repos for this project:
https://git.sr.ht/~queso_fuego/quesos
https://github.com/queso-fuego/amateuros
Source code for this video:
https://git.sr.ht/~queso_fuego/amateur_os_video_sources/tree/master/item/13_separate_text_bin
Note: I have read the fasm docs more closely since this recording, imul could be used to get the file size instead of those lines in this video; for example: "imul CX, [fileSize], 512" or something similar. Also, fasm does have reserving bytes, but it is with 'rb' instead of 'db' or rw, rd, etc. Nasm does have 'resb' but fasm has 'rb' as the equivalent. This would reserve space but not initialize a value
(Update ca. 2021): There is an unofficial, maybe official, word for turning a phrase into an acronym
https://en.wiktionary.org/wiki/acronymize
----------------------------------------------------------------------------------------------------------------------------------------
Software used:
VMware Workstation Player - https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
openBSD - https://www.openbsd.org/
bochs - http://bochs.sourceforge.net/
emacs - https://www.gnu.org/software/emacs/
fasm - https://flatassembler.net/
Twitch:
Like Streamers or games? Follow & catch me live - https://www.twitch.tv/queso_fuego
I plan on actually streaming more in the near future, got better webcam settings worked out and a schedule brewing for (hopefully) regular sessions.
Suggest content you would like to see live, be it programming, gaming, or otherwise, through youtube comments or by email. If twitch has a dm feature that you can slide into, that works too, but I don't know if it does or not
Stream archive channel- https://www.youtube.com/channel/UCxi12g3jdQMFiFTA5GVcGMA
Contact:
email - fuegoqueso@gmail.com
twitter - @Queso_Fuego
Thoughts/Notes/Suggestions/Other - Drop a message in the video comments 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 #x86assembly