From 0e9e5411ac53d2e494d0fc3dc91611d69a08177f Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 4 Mar 2019 22:50:35 +0100 Subject: [PATCH] Makefile testing stuff --- 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 -