QEMU/Guests/Windows 98: Difference between revisions

SoftGPU runs at 32-bit color by default, tested CPU config on my AMD Ryzen and it works as well as an workaround in case some things don't work right.
m (doing this from memory is not the greatest idea)
(SoftGPU runs at 32-bit color by default, tested CPU config on my AMD Ryzen and it works as well as an workaround in case some things don't work right.)
 
For audio add <code>-device AC97</code> to the parameters and use the [http://a320.the-cake-is-a-lie.com:8000/pgm/drv/sound/ac97/ac97_362.zip ac97_362.zip] driver. This driver also provides as an additional bonus some pretty respectable Sound Blaster Pro 2.0 PCM emulation out of the box which is compatible and fully functional on QEMU.
 
The machine argument is set to pc-i440fx-2.4, this is to get around the PCI Bus bug that persists within QEMU, and the <code>-device VGA,vgamem_mb=64</code> parameter allocates 64MB of VRAM onto the generic VGA adapter QEMU provides to allow higher resolutions and color depths within 98SE.
 
We set the memory to 256 MB, but it can run on as low as 16 MB of RAM, although this isn't recommended as the SoftGPU driver requires extra memory in order to be able to allocate textures in games.
# Click Install. After a minute or two, you will be prompted to reboot. Click Yes.
# Once Windows reboots, right click the desktop, select properties, and switch to the "Settings" tab
# If all went well, you should now be able to switch the Colors to "True Color (32-bit)", andset the resolution to 1024x768.
 
You may encounter a bug where not all color modes are available, and attempting to increase to one that is or change the resolution does not properly apply. Refer to the troubleshooting section for how to fix this.
== Troubleshooting ==
=== VXD or protection errors on first boot ===
Upon rebooting from the quick installer into Windows 98, you may get a blue screen and error related to "VXDVxD", or "Windows protection". This is usually caused by Windows 98 not being compatible with one or more features of your CPU. To solve this, change <precode>-cpu host</precode> in your QEMU startup command to <precode>-cpu core2duo</precode> or if you're on an AMD CPU use <code>-cpu Opteron_G2</code> and restart the installation. Windows should now install without issues.
 
=== Cannot change color depth or resolution after installing SoftGPU ===