First post, by AM_PM
My first post, hopefully in the right place. I've come across this forum several times before and it's great to join!
So basically, I am trying to get Windows 3.1 run on an Atom netbook that has 2GB RAM. To simplify the process, I used Virtual PC 2007 on the same machine to install MS-DOS 6.22 and Win 3.1 into a virtual machine, take the resulting .VHD and write the image into an SD card using Rufus and run it from the card.
Without making any changes: the netbook boots into DOS fine, and mem tells me a total memory of 65,150K. But it fails to boot Win 3.1: at the logo screen after a few seconds it returns to the prompt and says overflow. It does boot fine into Standard mode (win /s) but I'd like to get it working in proper Enhanced mode. After some research suggesting it is down to the high memory, I made changes to system.ini by adding MaxPhysPage and MaxFileCache values to limit the memory, but these made no changes at all.
Some more research led me to HIMEMX from the FreeDOS project. I put the himem.exe in C: and added it to the config.sys replacing himem.sys. Trying to start Windows now would give the error PageOverCommit is too large. Trying to fix this in system.ini with PageOverCommit as =4, =3, =2, would say the same error. Changing it to =1 would give the error Insufficient memory or address space to initialize Windows in 386 enhanced mode. Forget about Standard mode, it does not boot at all with HIMEMX present instead of the original HIMEM.
Further research led me to add a /max memory value to HIMEMX in config.sys to limit the allowed memory, and I tried several values. Now finally, Windows 3.1 does boot to the logo screen, but after a few seconds returns back to the DOS prompt empty without any notices or errors.
As a final experiment, I tried Windows 3.0 instead (again from a VM install to an SD): it booted fine in Real mode, but in Enhanced mode it hangs at the logo screen, and Standard mode immediately makes the whole machine hard reboot.
And now I'm lost. Does anyone know of any ways to get Windows in Enhanced mode to work?