Create fdimage using mtools
This commit is contained in:
parent
c88395c12d
commit
f1d11d84a2
6
Makefile
6
Makefile
@ -7,7 +7,9 @@ vbr.bin: boot/vbr.asm
|
|||||||
nasm -s -o $@ -I lib $<
|
nasm -s -o $@ -I lib $<
|
||||||
|
|
||||||
fdimage.img: vbr.bin kernel.com
|
fdimage.img: vbr.bin kernel.com
|
||||||
cat vbr.bin kernel.com > $@
|
dd if=/dev/zero bs=512 count=720 of=$@
|
||||||
|
mformat -i $@ -f 360 -B vbr.bin -v "BOOT2B" ::
|
||||||
|
mcopy -i fdimage.img kernel.com ::boot.bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.com
|
rm -f *.com *.bin *.img
|
||||||
|
Loading…
Reference in New Issue
Block a user