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

Discuss MS-DOS, Windows 1, 2 and 3.
Post Reply
Rmay635703
Posts: 2
Joined: Thu Nov 07, 2019 4:50 pm
Location: Wisconsin

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

Post 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

Overdoze
User avatar
FTP Access
Posts: 1689
Joined: Mon Feb 24, 2014 10:28 am
Location: Slovenia

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

Post 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.
All roads lead to Neptune™

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager | LeakDB - list of PC OS warez leaks

Rmay635703
Posts: 2
Joined: Thu Nov 07, 2019 4:50 pm
Location: Wisconsin

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

Post 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

John Elliott
Posts: 74
Joined: Thu Aug 25, 2011 7:46 pm

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

Post 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

PALCOLOR
Posts: 7
Joined: Thu Apr 30, 2020 5:44 pm

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

Post 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.

PALCOLOR
Posts: 7
Joined: Thu Apr 30, 2020 5:44 pm

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

Post 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

PALCOLOR
Posts: 7
Joined: Thu Apr 30, 2020 5:44 pm

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

Post 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.

Post Reply