Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,763 posts.

Any topic
2017
1666

How to write a simple operating system

This document shows you how to write and build your first operating system in x86 assembly language. It explains what you need, the fundamentals of the PC boot process and assembly language, and how to take it further. The resulting OS will be very small (fitting into a bootloader) and have very few features, but it's…