Reply 760 of 762, by superfury
And trying to run the Windows 3.1 setup.exe under MS-DOS 6.22 running a CD-ROM driver (OAKCDROM) and EMM386 loaded, I see the CPU get into the hang condition trying to #GP(0) fault for a IN AL,DX instruction. Though this should have worked properly.
Edit: Managed to fix the issue.
Windows 3.x's EMM386 somehow doesn't detect all RAM? It only shows 256KB of EMS memory available, unlike MS-DOS EMM386's 50ish MB (all HIMEM extended memory).
Edit: Checked Windows 3.1 EMM386.SYS without parameters. It only reports 256K (262144 bytes) of EMS memory? That's of 640K EMS memory total, as reported by the driver to MEM.EXE.
So there's definitely going something wrong with it's execution.
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io