Make kernel and fat.bs use BPB struct
This commit is contained in:
parent
303b1756e0
commit
9cd4c04c42
3 changed files with 247 additions and 336 deletions
11
Makefile
11
Makefile
|
@ -1,4 +1,4 @@
|
|||
FLOPPY = 360
|
||||
FLOPPY = 1440
|
||||
|
||||
PROGRAMS = hello.com
|
||||
DISTFILES = $(PROGRAMS) kernel.bs
|
||||
|
@ -55,15 +55,6 @@ fat4.bs: boot/fat.asm
|
|||
fat6.bs: boot/fat.asm
|
||||
$(NASM) $(NASM_ARGS) -DFAT16 -DCHS -DLARGE -o $@ $<
|
||||
|
||||
fatb.bs: boot/fat.asm
|
||||
$(NASM) $(NASM_ARGS) -DFAT32 -DCHS -DLARGE -o $@ $<
|
||||
|
||||
fatc.bs: boot/fat.asm
|
||||
$(NASM) $(NASM_ARGS) -DFAT32 -DLBA -DLARGE -o $@ $<
|
||||
|
||||
fate.bs: boot/fat.asm
|
||||
$(NASM) $(NASM_ARGS) -DFAT16 -DLBA -DLARGE -o $@ $<
|
||||
|
||||
# BIOS option roms
|
||||
%.rom: rom/%.asm utils/fix-rom
|
||||
$(NASM) $(NASM_ARGS) -o $@ $< && utils/fix-rom $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue