#!/bin/bash
# Run CubeCactusOS in QEMU with serial console

echo "========================================="
echo "  CubeCactusOS - Serial Console Mode"
echo "========================================="
echo ""
echo "Note: This runs with -display none and routes"
echo "output to the terminal via serial port."
echo ""
echo "For graphical display with keyboard input,"
echo "use: ./run-os.sh"
echo ""
echo "Press Ctrl+C to exit"
echo ""

qemu-system-i386 \
  -cdrom os/build/cubecactusos.iso \
  -m 512M \
  -serial stdio \
  -display none

echo ""
echo "OS exited."
