A minimal 32-bit Multiboot2-compatible kernel
written in C and NASM, featuring a basic clear_screen
and printk function for text output.
KERNEL/
βββ boot/
β βββ boot.asm #Multiboot2 bootloader (ASM)
β
βββ kernel/
β βββ kernel.c #Kernel main code (printk, clear_screen)
β
βββ iso/
β βββ boot/
β βββ grub/
β βββ grub.cfg #GRUB configuration file
β
βββ linker.ld #connects object files
βββ Makefile #Build automation
βββ README.md #This file
- GCC (32-bit target support)
- NASM (for assembly)
- GNU Make
- GRUB (for ISO generation)
- QEMU (for emulation)
- Build the kernel and create ISO
make
- Run in QEMU
make run
- Clean build files
make clean #delets the executable files