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

20 lines
272 B

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