Go to file
Nicolás Ortega Froysa 9711ebb62c
Updated the README.md
2018-02-28 22:56:58 +01:00
boot Only need one hang. 2018-02-26 18:15:12 +01:00
drivers Should be working, but function call fails. 2018-02-26 16:53:13 +01:00
kernel Better boot message. 2018-02-26 17:01:18 +01:00
.gitignore Adding code so far. 2018-02-23 17:20:31 +01:00
LICENSE Adding code so far. 2018-02-23 17:20:31 +01:00
Makefile Use a cross compiler. 2018-02-27 00:50:27 +01:00
README.md Updated the README.md 2018-02-28 22:56:58 +01:00



This is code that I've been writing for a basic kernel from the Writing a Simple Operating System from Scratch book.


I cross-compile from x86_64 to i686 on my machine. You will require i686-elf-gcc and nasm (as well as all the rest of the GNU binutils for i686) and you can run the final image using QEMU. To compile just run make.

Code Structure

  • boot/: code necessary for the boot process (i.e. loading the kernel and switching to 32-bit protected mode).
  • kernel/: code related to the kernel itself.
  • drivers/: interface code that simplifies interaction with hardware devices.
  • bin/: binary directory where final os-image is stored.


Since this code is made with the help of the above mentioned book so generously created (yet incomplete), I've licensed this repo under the Unlicense.