Binary Patch Details
To fix this, we can force NTVDM to completely bypass the VME initialization path and fall back to the safe legacy software-emulation mode (486-compatible mode).
We only need to change a single conditional jump (jz) into a forced unconditional jump (jmp).
�_ Target OS: Windows 2000 SP4
�_ Target File: C:\WINNT\system32\ntvdm.exe (and dllcache\ntvdm.exe)
�_ File Version: 5.0.2195.7061
Hex Edit Details:
�_ RVA (Relative Virtual Address): 0x0000C415 (.text section + 0x0000B415)
�_ File Offset (RAW Address): 0x0BA15 <-- Open with any Hex Editor!
�_ Original Bytes: 74 07 (jz short ...)
�_ Patched Bytes: EB 07 (jmp short ...)
Results
Tested successfully on real Intel 486 hardware running Windows 2000 SP4. NTVDM no longer crashes when opening command.com or launching 16-bit DOS/Win16 applications, and properly routes to the non-VME legacy path.
Hopefully, this helps anyone tinkering with retro x86 hardware or unique CPU upgrades!
To fix this, we can force NTVDM to completely bypass the VME initialization path and fall back to the safe legacy software-emulation mode (486-compatible mode).
We only need to change a single conditional jump (jz) into a forced unconditional jump (jmp).
�_ Target OS: Windows 2000 SP4
�_ Target File: C:\WINNT\system32\ntvdm.exe (and dllcache\ntvdm.exe)
�_ File Version: 5.0.2195.7061
Hex Edit Details:
�_ RVA (Relative Virtual Address): 0x0000C415 (.text section + 0x0000B415)
�_ File Offset (RAW Address): 0x0BA15 <-- Open with any Hex Editor!
�_ Original Bytes: 74 07 (jz short ...)
�_ Patched Bytes: EB 07 (jmp short ...)
Results
Tested successfully on real Intel 486 hardware running Windows 2000 SP4. NTVDM no longer crashes when opening command.com or launching 16-bit DOS/Win16 applications, and properly routes to the non-VME legacy path.
Hopefully, this helps anyone tinkering with retro x86 hardware or unique CPU upgrades!