Text Editor Navigation Keys p.3 - Amateur OS Dev (x86 asm)

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



Duration: 1:05:07
426 views
11


Last nav keys video for awhile, wanted to get a lot of it done before moving on. Next video should be loading & saving files in the text editor.
Common-ish question:
Q: Will you be using C or 'insert other language here' in the future?
A: Yes, probably after moving to 32-bit mode first; Clang/GCC don't emit valid 16-bit code unless using inline assembly, and I'd rather use fasm for assembly. After replacing most/all interrupts outside of the bootsector, and making a global descriptor table and other prerequisites, we can move to 32-bit protected mode and use C. Alternatively, I might make an assembler and small C-like language compiler to use in the OS. Not sure yet.

The video timestamps feature is really useful; I'll try to remember to add these from now on, as time/laziness permits. But it does add another $video_length amount of time to editing.

Video outline:
0:00 - How to check for CTRL key
4:23 - Add CTRL-R to text editor
17:09 - Add arrow keys/home/end to text editor, fix left & right arrow
29:05 - Add Newline logic
34:13 - Work on up arrow
42:12 - Work on down arrow
48:54 - Review arrow key/home/end logic rewrite after debugging (better audio starts here)
1:02:58 - Outro & thoughts, next stuff coming up

----------------------------------------------------------------------------------------------------------------------------------------
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...). I'll probably use the YT channel community tab in the future for video/channel updates if requisite channel metrics are met. Though if people prefer, I can look into a mailing list for updates, or tweet out stuff anyway

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:
os dev
os
dev
operating systems
assembly
assembler
x86
16 bit
real mode
text editor
fasm
programming
coding
queso fuego
low level
qemu