A poorly written OS for the x86 arch. (WIP)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/bash
|
|
|
|
bootloader=bin/bootloader.bin
|
|
osimage=bin/os-image
|
|
|
|
start_bootloader() {
|
|
qemu-system-x86_64 $osimage
|
|
}
|
|
|
|
compile() {
|
|
/usr/bin/bash $PWD/compile.sh
|
|
}
|
|
|
|
if test -f "$PWD/$bootloader"; then
|
|
rm $PWD/$bootloader
|
|
fi
|
|
|
|
|
|
compile && start_bootloader
|
|
|