It boots and dies, good start

This commit is contained in:
2015-01-23 20:26:12 -08:00
commit 7edcfd1336
3 changed files with 24 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
all: boot.img
boot.bin: bootloader.S
nasm $< -f bin -o $@
boot.img: boot.bin
dd if=$< bs=512 of=$@
test: boot.img
bochs -f bochsrc -q
.PHONY: clean
clean:
rm -f boot.bin