docs/windows-9x.md
Recommended versions:
qemu-img create -f raw hdd.img <size in megabytes>M
qemu-system-i386 -m 128 -M pc,acpi=off -drive file=hdd.img,format=raw
-cdrom /path/to/installCD.iso, if you use a CD version.-fda /path/to/boot_floppy.img -boot a, if you use a floppy version or your install CD is non-bootable.-device sb16 to enable sound-nic user,model=ne2k_pci or -device ne2k_pci,netdev=<...> to enable networkingFor Windows 98: select "Start Windows 98 Setup from CD-ROM". For Windows 95: select "Load NEC IDE CDROM driver" and run fdisk to create partition, restart emulator, run format c: and D:\WIN95\SETUP.
To change floppy disk, press Ctrl+Alt+2 to switch to the QEMU Monitor, run change floppy0 /path/to/new_floppy_image and press Ctrl+Alt+1 to switch to VGA.
Follow the installation guide on the screen.
[!TIP] For transfer files from host to guest, use genisoimage (UltraISO and PowerISO for Windows and Mac) for creating CD-ISO image or dosfstools (WinImage for Windows) for creating floppy disk images, then mount the created image to QEMU.
Workaround #1: Source: #1185
Disk 3 for the RTM version on floppy disks).For the CD version:
extract /a /l C:\Windows\System <cd-rom letter>:\WIN95\WIN95_02.CAB vfd.vxd
For the floppy version:
extract /a /l C:\Windows\System <floppy drive letter>:\WIN95_03.CAB vfd.vxd
Workaround #2: Source: #289
sysedit.C:\AUTOEXEC.BAT and add smartdrv to the top of the file.Currently, the floppy drive in v86 works only with MS-DOS compatibility mode.
To check this: open the Start menu, click on "Control Panel" and "System", select "Performance" tab. If it says "Drive A is using MS-DOS compatibility mode file system", the floppy drive should work properly in v86. If not, try this solution:
The default VGA display driver only supports 640x480x4 video mode, to fix this, you can install Universal VBE9x Video Display Driver or VMDisp9x.
[!WARNING] After installing, DOS Mode (and other programs and games that require it) may not work properly. This is a problem in VBE9x, not v86, see #110. Also, this driver doesn't support DirectX, DirectDraw and OpenGL.
032mb, 064mb, 128mb. Choose a version based on needed video memory size (for example, 032mb), then select vbemp.inf inside.[!WARNING] This driver can run DOS Mode with some graphical glitches. However, DirectX and/or DirectDraw may not work properly with this driver. Also, this driver doesn't support OpenGL.
vmdisp9x-<...>-driver-2d.img from https://github.com/JHRobotics/vmdisp9x/releases.See about installing AmnHLT.
| Option | Value |
|---|---|
| Hardware type | Network adapters |
| Manufacturers | Novell |
| Models | NE2000 Compatible |
| Option | Value |
|---|---|
| Interrupt Request | 10 |
| Input/Output Range | 0300 - 031F |
| Option | Value |
|---|---|
| Manufacturers | Microsoft |
| Network Protocols | TCP/IP |
Windows Logon.[!NOTE] If you don't have an install CD, use the Sound Blaster 16 driver from https://web.archive.org/web/20210814023225/https://www.claunia.com/qemu/drivers/index.html (unpack
sbw9xup.exeas a zip archive).
| Option | Value |
|---|---|
| Hardware type | Sound, video and game cotrollers |
| Manufacturers | Creative Labs |
| Models | Creative Labs Sound Blaster 16 or AWE-32 |