This is a simple operating system that I am developing based on the osdev wiki
If you want to build this, you first of all need a gcc cross compiler toolchain with the target i686-elfAfter building, set the following environment variables:
I686_GCC="path/to/cross-gcc"
I686_LD="path/to/cross-ld"
On Nix-OS, you can run nix-shell at the root directory of the project, which will then have all other packages required I am looking into the feasibility of making the cross compiler into the shell.nix
For non-Nix-OS, these are the packages required:
nasm
qemu
grub2
xorriso
gnumake
You can use qemu-img to do so
Then, simply run ./run would emulate the iso in qemu