hn.today

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

github.com85 points18 comments
Screenshot of 16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

WineVDM is a modified version of the Wine-based 16-bit Windows emulator, ported to run Windows 1.x through 3.1 applications on 64-bit Windows. Because modern 64-bit Windows cannot provide the legacy Local Descriptor Table support these programs expect, WineVDM combines a CPU emulator with code that translates 16-bit Windows calls into their 32-bit equivalents. It also handles conversion between 16-bit and native Windows handles and supplies DOS emulation for applications that need it.

To try it, users can drag a Win16 executable onto otvdm.exe or launch it with otvdmw.exe. Installing through the included shortcut or install.inf lets Windows start Win16 programs directly, including through its alternative-installer mechanism. The software also redirects attempts by older programs to save settings in protected Windows-directory .ini files. Configuration is available in otvdm.ini, and the project provides Visual Studio and CMake build instructions. It can run some DOS executables as well, with the emulated DOS version set through VDMDOSVER, but that feature is incomplete; DOSBox or MS-DOS Player is recommended for DOS use. Running the program may require the 32-bit Visual C++ 2017 runtime.

Read on github.com18 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.