Page 1 of 1

Does a 640x200 16 color EGA driver exist for Windows 3.0 ?

Posted: Thu Nov 07, 2019 4:58 pm
by Rmay635703
Years ago I could swear I had 640x200 x16 colors running under Windows 1 on my IBM PC 5151 /5153 using a real IBM EGA card.

Does a driver exist for WINDOWS 3.0 that runs 640x200 16 color EGA?

This guy could use it

https://www.vogons.org/viewtopic.php?f=61&t=70158

Thanks
Ryan

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Fri Nov 08, 2019 3:17 pm
by Overdoze
640x200x16 is mode 0Eh, you can use it with CGA monitor + EGA card or EGA monitor + EGA card (so called "EGA mode 1" or "EGA lo-res"). It's also supported by VGA, though the signal is different in that case (70Hz vertical sync).

The Windows 1.0 driver for this mode is EGALORES.DRV ("EGA with Enhanced Color Display or Personal Computer Color Display"). Don't know if there was ever a working driver for this mode for Windows 3.0, though.

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Fri Nov 08, 2019 5:03 pm
by Rmay635703
Thank you and sorry for any double post,
If I dig out my old PC I might have to see what Windows 3 does with an old Windows 1 driver

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Fri Nov 08, 2019 9:40 pm
by John Elliott
I've just thrown this patch to EGA.DRV together which may help - at least it starts up for me on DOSBox, though I was only able to test in real mode (the stock Windows 3.0 EGA driver doesn't seem to work in my DOSBox in protected mode). I found it was best to configure Windows for CGA and then drop in the patched EGA driver.

Image

Code: Select all

038b0:  b8 0e 00 cd 10		Mode set
038ba:  3c 0e b8 00 00		Mode check
00eb6:  c8 00				Y resolution
0143b:  c8 00				Y resolution
01441:  c8 00				Y resolution
037c4:  c8 00				Y resolution
037ea:  c8 00				Y resolution
03ce9:  c8 00				Y resolution
0d344:  bf c7 00			Y resolution
I can see at least one obvious to-do here: the aspect ratio isn't patched, so if Reversi works the counters would be oval.
ETA: Here's the additional patch for aspect ratio:

Code: Select all

037e4:  f0 00 b4 00     Aspect ratio

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Thu Apr 30, 2020 5:49 pm
by PALCOLOR
I have a Windows 3.1 EGA driver Remodeling to support 640x200 Succeeded.
The Windows 3.1 EGA driver works better than the Windows 3.0 driver.

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Thu Apr 30, 2020 7:02 pm
by PALCOLOR
It seems that the display of the dialog box becomes large. It seems that a DPI fix is needed to fix this issue.
There was a DPI setting behind the aspect ratio setting. The code is for the Windows 3.0 EGA driver.

Code: Select all

03834:  ff 60 00 30 00 04     DPI

Re: Does a 640x200 16 color EGA driver exist for Windows 3.0

Posted: Thu Apr 30, 2020 10:27 pm
by PALCOLOR
I uploaded the modified EGA driver to VOGONS.

As a supplement, OEMBIN of driver resource
Contains information about aspect ratio, icon size, mouse cursor size, so it's a good idea to fix that too.