acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

kestrel-os/kestrel

Public
Star8

A small x86-64 kernel. Stage 0 goes from real mode to long mode inside the boot sector.

History
15 lines·239 B·Makefile Raw Blame
1NASM ?= nasm
2
3build/boot.bin: boot/boot.asm | build
4 $(NASM) -f bin -l build/boot.lst $< -o $@
5
6build:
7 mkdir -p build
8
9run: build/boot.bin
10 qemu-system-x86_64 -drive format=raw,file=build/boot.bin
12clean:
13 rm -rf build
15.PHONY: run clean