DOSBox extension for pi. Run DOS programs in the terminal with agent interaction.
Note: This is experimental and has known issues with rendering during streaming and some key mappings.
- Persistent DOSBox instance running in background
- QuickBASIC 4.5 bundled and mounted at
C:\QB /dosboxcommand to view and interact with DOSBox (Ctrl+Q to detach)dosboxtool for agent interaction:send_keys- Send keystrokes to DOSBoxscreenshot- Get PNG screenshotread_text- Read text-mode screen content
git clone https://github.com/badlogic/pi-dosbox.git
cd pi-dosbox
npm installpi -e /path/to/pi-dosboxThen:
/dosboxto view and interact manually- Ask the agent to use DOSBox, e.g., "Start QBasic and write a hello world program"
- Some keys don't work properly in interactive mode (comma, etc.)
- Rendering corruption can occur during agent streaming
- Text mode detection may not work correctly in all cases
MIT