mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Bootloader
|
||||
nasm -fbin src/boot.asm -o build/boot.bin
|
||||
nasm -fbin src/filetable.asm -o build/filetable.bin
|
||||
cat build/main.bin build/filetable.bin > build/bootloader.bin
|
||||
|
||||
# Kernel
|
||||
nasm -fbin src/kernel.asm -o build/kernel.bin
|
||||
|
||||
# Final binary
|
||||
cat build/bootloader.bin build/kernel.bin > build/os.bin
|
||||
|
||||
# Run QEMU
|
||||
qemu-system-x86_64 -drive format=raw,file="./build/os.bin",index=0,media=disk -m 256M
|
||||
Reference in New Issue
Block a user