Building an OS - 9 - Interrupt handling
Channel: nanobyte
Date: 2022-05-10

How to implement interrupt handlers, and creating a dispatching interrupt mechanism.

Links:
- Patreon: https://www.patreon.com/nanobyte
- Discord channel: https://discord.gg/RgHc5XrCEw
- Source code: https://github.com/nanobyte-dev/nanobyte_os/tree/videos/part9

Documentation:
- Intel manuals: https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html
- Interrupts: https://wiki.osdev.org/Interrupts
- IDT: https://wiki.osdev.org/IDT
- Exceptions: https://wiki.osdev.org/Exceptions

Chapters:
0:00 Intro
2:00 Assembly ISR wrapper
7:11 C ISR handler
8:48 Generating assembly stubs with macros
10:10 Generating code with bash
13:15 Registering handlers in IDT
14:17 Generating C code with bash
15:55 Integrating into build
17:12 Putting it all together
18:23 Testing
23:32 Conclusion