开源项目otvdm基于winevdm开发,旨在解决在64位Windows操作系统上运行Windows 1.x、2.x、3.0及3.1等早期16位程序的技术难题1。该工具通过集成CPU模拟器、DOS仿真层以及Win16到Win32的转换代码来实现兼容性支持1。由于64位Windows架构无法修改局部描述符表(LDT),otvdm采用了特定的替代机制来应对这一限制1。
用户可通过将16位可执行文件直接拖拽至otvdm.exe图标,或使用命令行调用otvdmw.exe来启动应用程序1。若运行时出现“VCRUNTIME140.dll missing”错误提示,用户需安装32位的Microsoft Visual C++ Redistributable for Visual Studio 2017以修复依赖问题1。对于需要自行编译项目的开发者,环境配置要求包括Visual Studio 2017、CMake和Git,源码仓库地址为https://github.com/otya128/winevdm.git[1](#source-1)。鉴于其内置的DOS仿真功能尚不完整,官方建议配合使用DOSBox或MS-DOS Player以获得更好的体验1。
A new open-source utility named otvdm allows users to run legacy 16-bit Windows programs, including those from Windows 1.x through 3.1, directly on modern 64-bit Windows operating systems 1. The tool is a modified version of winevdm and achieves compatibility by integrating a CPU emulator, DOS emulation, and conversion codes that translate Win16 instructions into Win32 1. Since 64-bit Windows architectures do not permit modifications to the Local Descriptor Table (LDT), otvdm employs an alternative mechanism to handle these legacy calls 1.
Users can execute compatible applications by dragging 16-bit executable files onto otvdm.exe or by invoking otvdmw.exe via the command line 1. However, the built-in DOS emulation is noted as incomplete, with developers recommending the use of external solutions like DOSBox or MS-DOS Player for better DOS compatibility 1. If users encounter errors regarding missing VCRUNTIME140.dll, they must install the Microsoft Visual C++ Redistributable for Visual Studio 2017 in its 32-bit variant 1.
For those wishing to compile the software themselves, the project requires Visual Studio 2017, CMake, and Git 1. The source code is hosted on GitHub at https://github.com/otya128/winevdm.git, where installation and uninstallation guides are also provided 1.
评论
还没有评论,欢迎留下第一条。