From 60ad28e57a02d17981f3854f1f23b8740c309f60 Mon Sep 17 00:00:00 2001 From: Carlos Maiolino Date: Thu, 17 Jul 2025 19:20:00 +0200 Subject: Initial commit Add a bootloader and a hello message. Signed-off-by: Carlos Maiolino --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f44f839 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +BOOTLOADER=./bootloader.asm +TARGET=./boot.img + +all: + nasm -f bin $(BOOTLOADER) -o $(TARGET) + dd if=./boot.txt >> $(TARGET) + dd if=/dev/zero bs=512 count=1 >> $(TARGET) +clean: + rm -f $(TARGET) -- cgit v1.2.3