vbr: CHS reading seems to work so far

This commit is contained in:
Nero 2019-03-26 20:46:40 +00:00
parent 96234c2a40
commit 391a1aa7d5
2 changed files with 91 additions and 31 deletions

View file

@ -7,8 +7,7 @@ vbr.bin: boot/vbr.asm
nasm -s -o $@ -I lib $<
fdimage.img: vbr.bin kernel.com
dd if=/dev/zero bs=512 count=720 of=$@
dd if=vbr.bin bs=512 count=1 conv=notrunc of=$@
cat vbr.bin kernel.com > $@
clean:
rm -f *.com