diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c5399b --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +kernel.com: *.asm + nasm -s -o kernel.com main.asm + +clean: + rm -f kernel.com diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..1bd108f --- /dev/null +++ b/run.sh @@ -0,0 +1,5 @@ +#!/bin/sh +exec qemu-system-x86_64 -boot n \ + -option-rom /usr/share/qemu/pxe-rtl8139.rom \ + -device e1000,netdev=mynet0,mac=52:54:00:12:34:56 \ + -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9,tftp=$PWD,bootfile=kernel.com