floppy: bootloader fs mkfs.fat -C -f 1 -F 12 -n "PORTLAND OS" -R 2 -S 512 out/floppy.img 1440 mkdir out/floppy_mount mount out/floppy.img out/floppy_mount cp out/fs/* out/floppy_mount/ umount out/floppy_mount dd if=obj/bootloader.bin of=out/floppy.img bs=1 seek=62 conv=notrunc bootloader: obj nasm src/bootloader.asm -o obj/bootloader.bin kernel: fs gcc src/kernel/*.c -o out/fs/kernel.sys -ffreestanding -nostdlib -m32 -T src/kernel/link.ld fs: out mkdir -p out/fs obj: mkdir -p obj out: mkdir -p out