💾 Archived View for thrig.me › blog › 2023 › 11 › 12 › build.sh captured on 2024-07-09 at 01:58:55.
⬅️ Previous capture (2023-11-14)
-=-=-=-=-=-=-
#!/bin/sh # doas pkg_add nasm qemu [ -f bootloader.img ] || nasm -o bootloader.img bootloader.asm [ -f kernel.img ] || nasm -o kernel.img kernel.asm cat bootloader.img kernel.img > disk.img exec qemu-system-i386 -drive file=disk.img,format=raw