Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 284 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 284 Bytes

Kernel

Basic kernel project

Create object files: nasm -f elf32 kernel.asm -o kasm.o

Assemble object files: gcc -fno-stack-protector -m32 -c kernel.c -o kc.o

Generate executable: ld -m elf_i386 -T link.ld -o kernel kasm.o kc.o

Run kernel qemu-system-i386 -kernel kernel