QEMU/Guests/Windows 3.1: Difference between revisions

no edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
 
==Before you start==
Windows 3.1 depends on DOS, and it must be installed before you can run it - the minimum being DOS 3.1 for Windows 3.1, and DOS 3.30 for Windows 3.11. See [[QEMU/Guests/Windows_1.x-2.x#Installing_MSMS-DOS_3.30|this page]] for moreinstructions informationon how to install DOS 3.30. It will also work on DOS 6.22 and modern versions of FreeDOS.
 
386 enhanced mode works in QEMU but it can be a bit buggy on certain systems. If it freezes for you try running <code>WIN /S</code> at the DOS prompt to disable it.
 
You can find the Windows 3.11, and MS-DOS floppy disks, on either WinWorldPC or [https://www.kirsle.net/msdos Kirsle].
 
==Installation==
Now we're ready to go.
 
===Installation===
Next, we start QEMU like this:
<pre>qemu-system-i386 -cpu 486 -m 16 -hda win31.img -fda /path/to/DOS/disk1.img -nic user,model=rtl8139,ipv6=off -vga vmware -usb -device usb-tablet -device sb16</pre>
 
===VGA setup===
Now we'll set up the generic SVGA driver which will allow for up to 256 colors. Again, [https://computernewb.com/QEMU/vmmouseSVGA.img Download the SVGA floppy driver]. Insert it into QEMU as always (CTRL-ALT-2 -> <code>change floppy0 /path/to/vmmouseSVGA.img</code> -> CTRL-ALT-1). Go to MS-DOS prompt, type <code>A:</code>, and type <code>VGAPATCH P</code>. This will patch the generic VGA driver to work with QEMU. Type <code>exit</code> and go back to Windows. Go to Main -> Windows Setup -> Options -> Change System Settings, click on the "Display" dropdown, and scroll down until you see "Other display (requires disk from OEM)". Set the path to A: and select any resolution from ET4000 (not Super VGA!). You can go up to 1024x768 with 256 colors. I chose 800x600 with 256 colors.
 
[[File:WFW Setup8.png]]