echo "* Building Native Kernel (x86)"

echo "  :: Creating Dictionary for Native Drivers"
  (cd drv ; find -name \* ! -name \*~ ! -name all -prune ! -type d -printf '%%include "drv/%P"\n' >all)

echo "  :: Compiling the kernel and boot sector"
  nasm native.asm -oretro -Dvesa
  nasm loaders/dos.asm -obin/retro.com -DVESA
  nasm loaders/fat12.asm -obin/fat12
