summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2025-07-17 19:20:26 +0200
committerCarlos Maiolino <[email protected]>2025-07-17 19:20:26 +0200
commita485d59fdaf7b768f95539991d72421fb0ec85de (patch)
treec7967769cace309a526af901ba4657ba0d4bdf28
parentc91590e59f6f41b7316edd8587542ed24d0fdb22 (diff)
Restructure project folder
Signed-off-by: Carlos Maiolino <[email protected]>
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
-rw-r--r--boot.txt1
-rw-r--r--src/boot/bootloader.asm (renamed from bootloader.asm)0
4 files changed, 3 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index ad0cdfc..a8a0dce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-boot.img
+*.bin
diff --git a/Makefile b/Makefile
index f44f839..4df65dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
-BOOTLOADER=./bootloader.asm
-TARGET=./boot.img
+BOOTLOADER=./src/boot/bootloader.asm
+TARGET=./bin/boot.bin
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)
diff --git a/boot.txt b/boot.txt
deleted file mode 100644
index ebf67aa..0000000
--- a/boot.txt
+++ /dev/null
@@ -1 +0,0 @@
-Initializing CemOS...
diff --git a/bootloader.asm b/src/boot/bootloader.asm
index f42e702..f42e702 100644
--- a/bootloader.asm
+++ b/src/boot/bootloader.asm