From 9b8854a177cb2a4b674a4fc2bad165230c2a596a 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 e25d76a..78b7f00 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 -