Jump to content

Recommended Posts

Posted (edited)

All revisions (ALPHA/I386/MIPS/PPC) of Windows NT 4.0 and Windows NT 3.51 has issue with maximum possible total video mode count limit and it is around 296 modes. Any mode provided by driver above 296 will be cutted down. It is not depended on driver issue, this bug is inside Windows NT system itself. Windows 2000 and later does not have such issue.

Here it is a binary patch for Windows NT 4.0 (I386, any SP/edition, language) for SYSTEM32\WIN32K.SYS :

  1. Change 0x68 0xB8 0x00 0xFF 0x00 0x00 0x6A to 0x68 0xB8 0x00 0xFF 0x03 0x00 0x6A
  2. Change 0x68 0xB8 0x00 0xFF 0x00 0x00 0xFF to 0x68 0xB8 0x00 0xFF 0x03 0x00 0xFF
  3. Recalculate checksum, f.e. EDITBIN.EXE WIN32K.SYS /RELEASE

Here it is a binary patch for Windows NT 3.51 (I386, any SP/edition, language) for SYSTEM32\WINSRV.DLL :

  1. Change 0x68 0xB8 0x00 0xFF 0x00 0x00 0xA1 to 0x68 0xB8 0x00 0xFF 0x03 0x00 0xA1
  2. Change 0x68 0xB8 0x00 0xFF 0x00 0x00 0xFF to 0x68 0xB8 0x00 0xFF 0x03 0x00 0xFF
  3. Recalculate checksum, f.e. EDITBIN.EXE WINSRV.DLL /RELEASE

This will increase total limit to 1190 modes. Below are results in screenshots, before and after.

1_before.png

2_after.png

Edited by bearwindows

Posted (edited)

Thank you for sharing the patch @bearwindows

I haven't seen you around for, um, at least a few years now. Anyway, I'm glad that you are still active.

You have worked a lot on Windows NT 4 in the past. But did you also stumble over bugs in win32k.sys of Windows 2000 while you were working on your universal VBE driver? I would be interessed if you have any patches for win32k.sys of Windows 2000.

But you are right that the bug with the limitation of display modes doesn't seem to exist in Windows 2000. My graphics driver announces about 11,000 display modes and Windows 2000 seems to be able to handle it. Desk.cpl is a bit slow with many modes but there doesn't seem to be a real bug in Windows 2000.

Edited by Start Me Up

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...