From c01a58b80ceb5e964f721a8d8b66912da60f46bf Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 6 Mar 2019 20:05:18 +0100 Subject: [PATCH] Revert "Revert "Makefile testing stuff"" This reverts commit d6af50d8df43caa54d45bd16ee5cc334fbc1a0c2. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d5b21b2..27b8da5 100644 --- a/Makefile +++ b/Makefile @@ -83,11 +83,14 @@ make_disk: @$(MBRDIR)/create_disk.sh $(BINDIR)/disk.img @echo ${CL2}[make_disk]${CL} OK${CL3} +testloader: loader + @qemu-system-x86_64 -hda build/bin/disk.img -d cpu_reset & + @ndisasm $(OBJDIR)/boot/loader.bin -b 32 > loader_dism.asm + + boot: make_disk boot.mbr loader @echo ${CL2}[[boot]]${CL} Terminated without error.${CL3} all: boot kernel @echo ${CL2}[[all]]${CL} Terminated without error.${CL3} -# TEST -