Rename floppy bootsec into fatvbr, thats more accurate
This commit is contained in:
parent
567e09f7e9
commit
e143159a7a
10
Makefile
10
Makefile
@ -28,17 +28,17 @@ kernel.com: kernel/*.asm lib/*.inc
|
||||
debug.rom: debug/*.asm lib/*.inc
|
||||
nasm -s -o $@ -I lib -I debug debug/main.asm && scripts/fix-rom.sh $@
|
||||
|
||||
boot/%.bin: boot/%.asm lib/*.inc
|
||||
nasm -s -o $@ -I boot -I lib $<
|
||||
floppy.bs: boot/fatvbr.asm
|
||||
nasm -s -o $@ $<
|
||||
|
||||
fdimage.img: boot/floppy.bin kernel.com
|
||||
fdimage.img: floppy.bs kernel.com
|
||||
dd if=/dev/zero bs=512 count=$$(( $(FD_CYLINDERS) * $(FD_HEADS) * $(FD_SECTORS) )) of=$@
|
||||
mformat -i $@ -t $(FD_CYLINDERS) -h $(FD_HEADS) -n $(FD_SECTORS) -B boot/floppy.bin ::
|
||||
mformat -i $@ -t $(FD_CYLINDERS) -h $(FD_HEADS) -n $(FD_SECTORS) -B floppy.bs ::
|
||||
mcopy -i $@ kernel.com ::kernel.com
|
||||
mattrib -i $@ +s ::kernel.com
|
||||
|
||||
clean:
|
||||
rm -f *.com *.bin *.rom *.img *.log boot/*.bin
|
||||
rm -f *.com *.bin *.rom *.img *.log *.bs *.lst
|
||||
|
||||
qemu-rom: kernel.rom $(DEBUGROM)
|
||||
$(QEMU) $(QEMU_ARGS) -option-rom kernel.rom
|
||||
|
Loading…
Reference in New Issue
Block a user