stdio.asm
[pwnd.git] / Makefile
blob84c8f65c2d292bde0fb8870e256a8a887d28387a
1 all:
2 nasm -f bin ./boot/main.asm -o ./boot/boot
3 nasm -I./stage2/include/ -f bin ./stage2/main.asm -o ./stage2/stage2.sys
4 dd if=./boot/boot of=./floppy.flp conv=notrunc
5 sleep 1
6 sudo mount ./floppy.flp /mnt/floppy -t vfat -o loop,umask=0
7 cp ./stage2/stage2.sys /mnt/floppy/
8 sync
9 sleep 1
10 sudo umount /mnt/floppy
11 ./start.sh