Make dprintf the default debugging facility

This commit is contained in:
Nero 2020-08-15 20:58:40 +00:00
parent 626b7e5624
commit d6b5792ff7
2 changed files with 161 additions and 2 deletions

View file

@ -18,7 +18,7 @@ QEMU_ARGS += --enable-kvm
endif
ifdef DEBUG
ROMS += debug.rom
ROMS += dprintf.rom
NASM_ARGS += -l $(basename $@).lst
endif
@ -65,7 +65,7 @@ fate.bs: boot/fat.asm
$(NASM) $(NASM_ARGS) -DFAT16 -DLBA -DLARGE -o $@ $<
# BIOS option roms
%.rom: rom/%.asm %/*.asm utils/fix-rom
%.rom: rom/%.asm utils/fix-rom
$(NASM) $(NASM_ARGS) -o $@ $< && utils/fix-rom $@
fdimage.img: fat1.bs $(DISTFILES)