Newer
Older
CubeCactusCpp / run-os.sh
@agalyaramadoss agalyaramadoss on 6 Dec 775 bytes fixed keyboard serial mode
#!/bin/bash
# Run CubeCactusOS in QEMU with serial I/O

echo "========================================="
echo "     Starting CubeCactusOS"
echo "========================================="
echo ""
echo "SERIAL MODE - Interactive shell in this terminal!"
echo ""
echo "Instructions:"
echo "  - Type commands directly in THIS terminal"
echo "  - Try: help, about, mem, echo hello"
echo "  - Type 'shutdown' to exit cleanly"
echo "  - Or press Ctrl+A then X to quit QEMU"
echo ""
echo "Starting QEMU with serial console..."
echo ""

qemu-system-i386 \
  -kernel os/build/cubecactusos.bin \
  -m 512M \
  -serial stdio \
  -display none \
  -monitor none

echo ""
echo "========================================="
echo "OS exited."
echo "========================================="