Categories
Operating Systems Video

OS11: Calling Assembly from C

Join us in this video to find out how we can call a function in assembly from our kernel in C. This will allow us to do things in raw assembly when needed, and then we can pop back to the comfortable world of C when finished!

Notes for this video (and all others) are on the wiki:

https://github.com/stephengrice/pkos/…

Latest source can be found at the main repo:

https://github.com/stephengrice/pkos

Categories
Operating Systems Video

OS12: Basic Keyboard Driver (x86 Interrupts)

In this video, we learn about interrupts and write our own basic keyboard driver!

0:00 Lecture

9:58 What we’re building

10:39 Updates to Makefile, add .gdbinit file

12:32 Updates to kernel.asm

18:08 Updates to kernel.c

28:28 Compiler error fixes; working demo again

29:06 GDB debugging skills; making the keyboard map from scratch

Notes for this video (and all others) are on the wiki:

https://github.com/stephengrice/pkos/…

Latest source can be found at the main repo:

https://github.com/stephengrice/pkos