Skip to content

Instantly share code, notes, and snippets.

@brunocastello
Last active January 2, 2022 05:54
Show Gist options
  • Save brunocastello/06077fe5c43962ff208a3e489dcb0ec1 to your computer and use it in GitHub Desktop.
Save brunocastello/06077fe5c43962ff208a3e489dcb0ec1 to your computer and use it in GitHub Desktop.
Run DOS 6.22/Windows 3.x with QEMU (Follow this guide for installation: https://computernewb.com/wiki/How_to_install_Windows_3.1_in_QEMU)
#!/bin/sh
qemu-system-i386 \
-name "Windows 3.11" \
-nodefaults -no-reboot \
-M pc,accel=tcg -cpu pentium2 -m 64 \
-drive id=root,format=raw,file=Disks/Win311.img \
-drive id=drive1,media=cdrom \
-device "vmware-svga" -device sb16 -device pcnet,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22 \
-rtc base=localtime,clock=host -boot ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment