From aeff38fe153addba50b40600166acd42e7885e99 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 11 Dec 2019 10:14:32 -0500 Subject: still need to read, parse root directory to find kernel and need to put boot signature at 0x7dfe to jump around --- makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..c3d4174 --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +floppy: out bootloader + mkfs.fat -C -f 1 -F 12 -n "PORTLAND OS" -R 2 -S 512 out/floppy.img 1440 + dd if=obj/bootloader.bin of=out/floppy.img bs=1 seek=62 conv=notrunc + +bootloader: obj + nasm src/bootloader.bin -o obj/bootloader.bin + +obj: + mkdir -p obj + +out: + mkdir -p out \ No newline at end of file -- cgit v1.2.3