mirror of https://github.com/vinc/moros.git
Add script to run in cool-retro-term
This commit is contained in:
parent
720cca714e
commit
c877e06def
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"backgroundColor": "#000",
|
||||
"fontColor": "#0c6",
|
||||
"flickering": 0.1,
|
||||
"horizontalSync": 0.1,
|
||||
"staticNoise": 0.1,
|
||||
"chromaColor": 0,
|
||||
"saturationColor": 0,
|
||||
"screenCurvature": 0,
|
||||
"glowingLine": 0,
|
||||
"burnIn": 0.3,
|
||||
"bloom": 0.5,
|
||||
"rasterization": 0,
|
||||
"jitter": 0.2,
|
||||
"rbgShift": 0,
|
||||
"brightness": 0.8,
|
||||
"contrast": 0.8,
|
||||
"ambientLight": 0.2,
|
||||
"windowOpacity": 1,
|
||||
"fontName": "TERMINUS_SCALED",
|
||||
"fontWidth": 1,
|
||||
"margin": 0.5,
|
||||
"name": "MOROS",
|
||||
"version": 2
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
||||
if [ ! -f "$dir/../$image" ]; then
|
||||
cd "$dir/.." && cargo xbuild --release
|
||||
fi
|
||||
|
||||
cool-retro-term --fullscreen --profile "$dir/cool-retro-term.json" \
|
||||
--workdir "$dir/.." -e sh -c "$qemu $image"
|
Loading…
Reference in New Issue