Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Small correction if I may: Windows 3.1 did not add Win32S. > > Win32S was an optional extra: a separate download and was never included with any version of Windows 3.x.

Andrew Schulman (in Unauthorized Windows 95) and Matt Pietrek (in Windows Internals) both describe the Windows 3.1 EXE loader as shipping with special case code for detecting PE executables. Win32s was an add on to Windows 3.1, but Windows 3.1 shipped out of the box with the necessary hook.

Whether or not that qualifies as Windows 3.1 _adding_ Win32s is a matter of packaging. (But it is why I used the wording I did.)

> IBM a really hard time supporting Win32S in WinOS2 on top of 32-bit OS/2.

Interesting, I never imagined Win32s working on OS/2 at all. I didn't use it much, but I always envisioned the Windows on OS/2 2.x as being closer to Standard mode (286) windows, since the Windows VMM probably didn't run on OS/2. But like I said... I didn't use it much.

Related to this: do you happen to remember Microsoft's earlier solution for 32-bit code on Windows? Predating Win32s, I remember there being a library that allowed allocation of 32-bit memory and jumping to 32-bit code. This code wasn't like Win32s code that had API access (it didn't), but it was a rudimentary way to access 32-bit offsets.



You wrote "Windows 3.1" twice there so I'm not sure exactly what you meant.

I deployed and supported 3.0, 3.1, WfWg 3.1, WfWg 3.11 and Win 3.11.

AFAICR after some 30y, none of them included Win32S as standard.

And no, I don't recall any earlier 32-bit binary or API support.

I think there were some dozen versions; 10 are listed here: https://www.classicdosgames.com/utilities/win9x.html

... and that does not include 1.0.


There's a bit of nuance in what I was saying.... I agree (and agreed) that Windows 3.1 didn't include Win32s. What it _did_ include, though, is direct support for Win32s in the form of PE executable detection and a hook for the (separately installable) Win32s PE loader.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: