Skip to content

Instantly share code, notes, and snippets.

@brunocastello
Last active December 2, 2022 20:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunocastello/a38ca6ef0e8b6a8bb9ee881b0afd089c to your computer and use it in GitHub Desktop.
Save brunocastello/a38ca6ef0e8b6a8bb9ee881b0afd089c to your computer and use it in GitHub Desktop.
Run Windows XP SP3 with QEMU-3Dfx
#!/bin/sh
qemu-3dfx/bin/qemu-system-i386 \
-name "Windows 2002 Professional" \
-L pc-bios -nodefaults -no-hpet -no-reboot -display sdl \
-M pc,accel=tcg -cpu qemu32 -m 1024 \
-drive id=root,format=raw,file=Disks/WinXP.img \
-drive id=drive1,media=cdrom \
-device VGA -device sb16 -device rtl8139,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22 \
-rtc base=localtime,clock=host -boot c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment