Discuss: Tutorial: Windows 95/98 guest OSes

Discussions about using Windows guests in VirtualBox.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by mpack »

Just to be clear, "modern CPUs" is your special code for AMD Ryzen, right? I query this because Win98SE runs just fine without tricks on my i9-10900K, which some would consider to be quite modern ty v much. The picture I attached a few posts above was back when I had a measly 6th gen i7, Win98SE obviously ran fine on that too.

Win95 has a well known problem (protection error) with fast CPUs, they don't need to be "modern". The tutorial includes a fix for this.
birdie
Posts: 427
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by birdie »

"My" "Special" Ryzen?

Is that an insult? :shock: AMD now has the fastest supercomputer in the world, 5950X remains the fastest desktop MT CPU, 5800X3D beats anything that Intel offers in absolute most games by a wide margin.

Yes, Zen 2 and Zen 3 cannot by default run Windows 95, 98 (SE) and ME because they all these OSes coded incorrectly which was confirmed by a VBox developer. We've had this conversation before only at that time I couldn't find a solution. Now I sort of have.
Last edited by mpack on 4. Jun 2022, 08:30, edited 2 times in total.
Reason: Deleted verbatim quote of preceding post.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by mpack »

No insult, but your odd habit of referring to AMD CPUs as "modern processors" instead of clearly stating "AMD Ryzen" has caused confusion in the past. And yes, I'm not aware of anyone else with that habit, hence "your".
javispedro
Posts: 58
Joined: 29. Jan 2022, 15:31
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Old & New Windows, Linux

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by javispedro »

There's a 3rd party patch to make 9x work under Ryzen systems too: https://github.com/JHRobotics/patcher9x .

May be worth updating the tutorial with some pointers to this issue with Zen2/3 CPUs.
I don't have an AMD CPU myself so I can't really verify any of this is true. I don't know if out of the box 9x is supposed to work under AMD Zen 2/3.
What I have read:
In other news, there is also https://www.os2museum.com/wp/windows-9x ... driver-hd/ -- a VirtualBox video driver for 9x!
Last edited by javispedro on 14. Jul 2022, 19:36, edited 3 times in total.
fth0
Volunteer
Posts: 5661
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by fth0 »

javispedro wrote:The issue actually only affects Windows 98 , and not 95 nor ME
I don't agree to this part of your statement for the following reasons:

The source you cite states that it also affects Windows ME, albeit "very rarely", and rare crashes can be even worse IMHO.

The original source states that Pagewalk Coherence is an issue in all three OS variants, and I would trust this source the most. ;)
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by mpack »

Win98SE is wayyyyyyyyyyyyyy more popular than Win95 or WinME (I mean residual use now, not in the past - though that is also true), so it stands to reason that most problems will be encountered in Win98SE.
javispedro
Posts: 58
Joined: 29. Jan 2022, 15:31
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Old & New Windows, Linux

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by javispedro »

fth0 wrote:The source you cite states that it also affects Windows ME, albeit "very rarely", and rare crashes can be even worse IMHO.
The original source states that Pagewalk Coherence is an issue in all three OS variants, and I would trust this source the most. ;)
You may be right so I lowered the agressiveness of the assertion :) In any case, I was thinking that in the Vogons thread (now linked) the author of the patch was saying that he actually _never_ saw Windows ME reach that part of the code, even thought the snippet is in there. It is also possible (I guess) that there are more instances of this snippet that may not have been found by the patch author; the original source mentions that but then only gives a sample from 98. Would probably need someone with an AMD to test :)
birdie
Posts: 427
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by birdie »

javispedro wrote:There's a 3rd party patch to make 9x work under Ryzen systems too: https://github.com/JHRobotics/patcher9x .

May be worth updating the tutorial with some pointers to this issue with Zen2/3 CPUs.
I don't have an AMD CPU myself so I can't really verify any of this is true. I don't know if out of the box 9x is supposed to work under AMD Zen 2/3.
What I have read:
In other news, there is also https://www.os2museum.com/wp/windows-9x ... driver-hd/ -- a VirtualBox video driver for 9x!
The JHRobotics/patcher9x patch works beautifully, thanks! It's a little tricky to apply:
  • You start installing Windows 98 SE as usual.
  • Once the initial graphical COPYING files section completes and Windows reboots, you let it reboot and then immediately shut it down.
  • You then apply the patch using option 3 (do 1 and 2 simultaneously)
  • You continue with installation.
I don't think warez is accepted here but if anyone's interested please let me know and I'll send you a link to a VM prepared this way. I've done zero modifications to it except, obviously, patching VMM32.VXD and installing VBE9X drivers from here (version 2014.02.14). Unfortunately these drivers are not compatible with the VBoxVGA vGPU, so I had to change it to VBoxSVGA.
birdie
Posts: 427
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by birdie »

I've also researched the topic of the AC'97 codec but since I couldn't find "native" Microsoft Windows Update drivers for it I switched back to SoundBlaster16.

Realtek AC'97 drivers are quite heavy for such a light installation (~200MB).
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by mpack »

birdie wrote:Unfortunately these drivers are not compatible with the VBoxVGA vGPU, so I had to change it to VBoxSVGA.
I'm afraid that makes little sense to me. The BearWindows drivers are simple VESA drivers, they have no access to any of the simulated graphics controllers. They use the VESA interface exclusively.

And in any case I have been successfully using Win98SE VMs with BearWindows and VBoxVGA for years and am doing so right now. The option to use a different controller didn't even exist before VirtualBox v6, and I think we would all have noticed if Win98 didn't run.
AnthonyHill
Posts: 1
Joined: 5. Jul 2022, 12:23

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by AnthonyHill »

I'm a newbie here. I just signed up a few minutes ago. I have a quick question for all. I hope you can answer it easily. Are people still using Windows 95/98? I already upgraded my windows to 11. What about you?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by mpack »

This topic is for discussing the Win9x guest tutorial. If you wish to strike up a different conversation then please start your own topic.

To briefly answer: some people need to keep old systems alive to run old software. However I'd hazard a guess that most of us like to have old Windows versions - because we can, or for nostalgia reasons, or to remind ourselves of how past technologies worked. Not for daily use. VirtualBox will not run on Win9x hosts so naturally our daily PC is something else.
FranceBB
Posts: 104
Joined: 20. May 2017, 05:07
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP x86
Contact:

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by FranceBB »

Just FYI I did try the "new" driver suggested by javispedro and I would advise everyone not to use it:
Screenshot from 2022-07-09 13-27-14.png
Screenshot from 2022-07-09 13-27-14.png (18.82 KiB) Viewed 92799 times
Screenshot from 2022-07-09 13-39-16.png
Screenshot from 2022-07-09 13-39-16.png (69.7 KiB) Viewed 92799 times

after that I had to boot into safe mode and revert to the old universal driver: https://bearwindows.zcm.com.au/vbe9x.htm
Screenshot from 2022-07-09 13-27-51.png
Screenshot from 2022-07-09 13-27-51.png (18.66 KiB) Viewed 92799 times
javispedro
Posts: 58
Joined: 29. Jan 2022, 15:31
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Old & New Windows, Linux

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by javispedro »

I have read some feedback that the paging issue also affects newer Intel CPUs too -- 12th generation at least. The same patch fixes the issue. I've updated my post.
Just FYI I did try the "new" driver suggested by javispedro and I would advise everyone not to use it:
I have been using the OS/2 museum driver for weeks now and never had that problem, what did you do to trigger it ?
fth0
Volunteer
Posts: 5661
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss: Tutorial: Windows 95/98 guest OSes

Post by fth0 »

javispedro wrote:I have read some feedback that the paging issue also affects newer Intel CPUs too -- 12th generation at least.
I'm not so sure. The post was only two hours before the announcement of a newer version which additionally handles the CPU speed issue. Did you clearly read that it's related to the TLB invalidation issue somewhere?
Post Reply