Operating System Development: Interrupts

Before we move on with our kernel development, we must talk about an important concept in operating systems: interrupts. When the CPU executes a program in memory, it will take an instruction, execute it, take the next instruction, execute that, and continues without ever stopping. It isn’t distracted by anything that happens in the wider world. Sometimes, though, it’s necessary to tell the CPU to…