Skip to content

AOS Kernel Tutorials

Learn how a small x86 operating-system kernel is built, one stage at a time.

This site publishes clear English editions of the original Arabic AOS tutorials. Each lesson preserves the technical intent of the source while improving code formatting, diagrams, and explanations for the web.

Start with the parts of a PC, how the CPU uses memory and registers, and how assembly becomes machine code. Then build 512 bootable bytes that print your first message.

Build on that boot sector by reading a tiny kernel from disk and transferring execution to it with a far jump.

Build a Global Descriptor Table, switch the processor into protected mode, and print directly through VGA text memory from a 32-bit kernel.

The repository also preserves the original PDFs, HTML exports, assembly files, and later kernel source code. The website contains only the curated English tutorials; historical source material remains available in the GitHub repository.