mirror of https://github.com/vinc/moros.git
12 lines
357 B
Bash
Executable File
12 lines
357 B
Bash
Executable File
#!/bin/sh
|
|
dir=$(dirname "$0")
|
|
image="target/x86_64-moros/release/bootimage-moros.bin"
|
|
qemu="qemu-system-x86_64 -display curses -cpu max"
|
|
|
|
# Build image if needed
|
|
cd "$dir/.." && cargo bootimage --release
|
|
|
|
# Launch qemu inside cool-retro-term
|
|
cool-retro-term --fullscreen --profile "$dir/cool-retro-term.json" \
|
|
--workdir "$dir/.." -e sh -c "$qemu $image"
|