QEMU/Guests/Windows 98: Difference between revisions

m
→‎Display driver installation: more accurate values
No edit summary
m (→‎Display driver installation: more accurate values)
(3 intermediate revisions by the same user not shown)
When that's done, start up QEMU with a command like the following:
 
<pre>qemu-system-i386 -hda win98.img -cdrom win98_iso_name.iso -device VGA,vgamem_mb=64 -cpu host -m 256 -accel kvm -M pc-i440fx-2.04,hpet=off -netdev user,id=lan -device pcnet,netdev=lan -usb -device usb-tablet -rtc base=localtime -monitor stdio</pre>
 
The machine argument is set to pc-i440fx-2.04, this is to get around the PCI Bus bug that persists within QEMU, And the VGA,vgamem_mb=64 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 816 MB of RAM, although this isn't recommended if you want to be running any programs.
 
Press any key except F8 to boot into the Windows 98 Quick Installer. The installation here is pretty self explanatory. If you used the "all" iso, you'll be prompted to select a Windows version. We recommend 98 SE. Proceed to format a single FAT32 partition taking up all of available space and mark it as bootable, make sure to write changes to the disk and exit. Once prompted to install integrated device drivers, select Yes and continue. By any circumstances do NOT select slow PnP detection as this will hinder the installation process, let it install and reboot.
After the first boot, you will notice that the display is small and very low quality. This is because, without drivers, Windows 98 runs in 16-color mode, fixed to 640x480 resolution.
 
This is where <code>-cpu host</code> comes into play, as SoftGPU provides SSE3 optimized binaries for in this case, software accelerated 3D rendering. Now yes, you could use this with <code>-cpu pentium3</code> but do keep in mind MMX optimized binaries are very slow as the maximum performance you can reach with those is around 155 orto 2010 FPS if you are lucky and may or may not have tons of bugs that just don't make them worth using.
 
We will now install the SoftGPU driver to enable higher resolutions and 32-bit color support.
Congratulations, you should now have a functioning Windows 98 install! Here is some recommended software to install:
 
* [https://winworldpc.com/download/48c2b151-2618-c39a-11c3-a4e284a2c3a5 Internet Explorer 6 SP1] (This is also bundled on the Win98 QuickInstall CD replace X with corresponding CD drive letter: X:\extras\IE6Sp1)
* [https://archive.org/download/10.63Opera1063IntSetup/10.63_opera_1063_int_setup.exe Opera 10.63]