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.
 
 
 
eOS/start.sh

19 lines
272 B

#!/usr/bin/bash
bootloader=bin/bootloader.bin
start_bootloader() {
qemu-system-x86_64 $bootloader
}
compile() {
/usr/bin/bash $PWD/compile.sh
}
if test -f "$PWD/$bootloader"; then
rm $PWD/$bootloader
compile
start_bootloader
else
compile && start_bootloader
fi