Hacker News new | past | comments | ask | show | jobs | submit login
Writing a PC Operating System (losethos.com)
2 points by fogus on March 15, 2011 | hide | past | favorite | 1 comment



"The first step to writing an operating system is getting to ring 0"

Right; just as the first step to building a web site is to write your own web server, and your first line of code is: int main()

Most "how to write an OS" tutorials make me sad because they're just "how to write a boot loader". If you're serious about writing an OS, you'll use GRUB, and concentrate on the actual OS.

Edit: Years ago, I did this as a hobby, and I wrote some tutorials that go beyond the boot loader:

http://www.osdever.net/tutorials/view/memory-management-1

http://www.osdever.net/tutorials/view/memory-management-2




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: