Hacker News new | past | comments | ask | show | jobs | submit login

As others have stated there are much better guides than this.

I did this recently for fun, including the bootloader (I considered GRUB cheating!) The best tutorial IMO was https://samypesse.gitbook.io/how-to-create-an-operating-syst...

Some other useful resources I found:

  - http://3zanders.co.uk/2017/10/13/writing-a-bootloader/
  - http://mikeos.sourceforge.net/write-your-own-os.html
  - https://www.nasm.us/doc/
  - http://faydoc.tripod.com/cpu/
  - https://github.com/cfenollosa/os-tutorialjos




OSDev.org is the starting point for this stuff. It also contains links to many resources on https://wiki.osdev.org/Tutorials




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

Search: