VOGONS


First post, by GoldenPentium

User metadata
Rank Newbie
Rank
Newbie

Hello everybody,

Windows 3.11 WFW doesn't want to change resolution on Cirrus Logic GD5422 1MB ISA card. I installed v1.43 drivers - resolution locked in 640x480 (but I can change number of colors, up to 16M), then installed v1.5 - the same. I want to set 1024x768x256, but whatever I tried (VGA, SVGA, CL drivers) - everything locked in 640x480.

What I missed?

The attachment 20221020_235418.jpg is no longer available
Last edited by GoldenPentium on 2022-10-22, 15:55. Edited 1 time in total.

Reply 1 of 10, by clb

User metadata
Rank Oldbie
Rank
Oldbie

I am currently also playing with my Cirrus Logic CL-GD5422 card (photo attached), and I am not sure it is able to do 1024x768 as progressive. When I initialize any SVGA modes for 1024x768 (using its "proprietary SVGA mode numbering", haven't tried VESA modes), I always get an interlaced output. (does Windows support interlaced video?)

Though on the 800x600 front, it does give me 16, 256, 64K and 16M colors as progressive. So would expect for Windows to be able to support that at least. Attached supported resolution table for Cirrus Logic from the book "Programmers Guide to the EGA, VGA and SuperVGA cards", which does confirm it should be able to reach such resolutions, and higher.

Try maybe a UniVBE mode utility, or some other DOS tool that allows testing Super VGA modes? (e.g. Pinball Illusions has a 800x600 SVGA mode it supports)

1MB of VRAM should be enough to support 800x600@64K (800*600*2=960000 bytes), and 1024x768@256 colors (1024*768=786432 bytes).

Reply 2 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t

Looks like the monitor type is set to plain VGA - "clmode m0"
Try some other number...

Type  Example      HFreq  VFreq   Resolution
# (kHz) (Hz)
==== ======= ===== ===== ===========
0 IBM 8512 31.5 60/70 640x480, 720x400
IBM 8503
IBM 8503

1 IBM 8514 31.5 60/70 640x480, 720x400
IBM 8515 35.5 43.5 1024x768 interlaced

2 NEC 2A 31.5 60/70 640x480, 720x400
35.1 56 800x600


3 NEC II 31.5 60/70 640x480, 720x400
35.1 56 800x600
35.5 43.5 1024x768 interlaced


4 NEC 3D 31.5 60/70 640x480, 720x400
35.5 43.5 1024x768 interlaced
37.8 60 800x600


5 Sony CPD-1304 31.5 60/70 640x480, 720x400
NEC 3FGx 48.0 72 800x600
Nanao 9065S 48.0 60 1024x768
Nanao 9070U 48.0 43.5 1280x1024 interlaced


6 NEC 4D 31.5 60/70 640x480, 720x400
NEC 4FG 48.0 72 800x600
Nanao T240i 56.5 70 1024x768
48.0 43.5 1280x1024 interlaced


7 NEC 5D 31.5 60/70 640x480, 720x400
NEC 5FG/6FG 48.0 72 800x600
Nanao T560i 56.5 70 1024x768
Nanao T660i 64.0 60 1280x1024
Nanao F550i
Nanao F750i
Nanao 9400i
Nanao 9080i

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 3 of 10, by GoldenPentium

User metadata
Rank Newbie
Rank
Newbie
Grzyb wrote on 2022-10-22, 09:32:

Looks like the monitor type is set to plain VGA - "clmode m0"
Try some other number...

Where should I set that? system/win.ini or somewhere else?

Reply 4 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t
GoldenPentium wrote on 2022-10-22, 15:49:

Where should I set that? system/win.ini or somewhere else?

In DOS, preferrably AUTOEXEC.BAT

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 6 of 10, by freaked

User metadata
Rank Newbie
Rank
Newbie

using a Cirrus Logic 5422 with 1 MB.

I'm following this document:
https://files.support.epson.com/pdf/en____/en____us.pdf

In autoexec.bat:
clmode 3+ m7+

Which reports: "high refresh mode set, super multi frequency monitor".
I also tried m1 through m6, but no luck.

In Windows 3.1, the Multiresolution driver 1.1 is installed.
Resolution is set to 800x600 with 64k colors using the SetRes utility (video mode 65).
The [CLVGA] section in system.ini has no option for setting a refresh rate, and if it is possible, it is not documented.

Yet Windows 3.1 still runs at an eye-straining 56 Hz. Any ideas?

Reply 7 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t

I'm afraid that card can't do 800 x 600 x 64K with more than 56 Hz.

Try UniVBE/SDD to see what refresh rates are available.

If the hardware seems capable of more, you can try different drivers - eg. the attached stuff I got with a Machspeed VGA 1000 card, also based on CL-GD5422.

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 8 of 10, by freaked

User metadata
Rank Newbie
Rank
Newbie

It is capable of 800×600×64K @ 72 Hz. I successfully used OpenGEM 6 with the GEM driver on the same machine. The GEM driver seems to respect the refresh rate settings I configured via CLMODE.
The newer CLMODE version with the Tx= switches doesn’t help under Windows 3.1 either.
It seems this is a bug in the 3.1 driver version 1.1, which was fixed in later revisions (1.41, 1.50) - but those use 386 opcodes. I didn't come across a 2.0 driver yet, which might be still 286 compatible.

The driver v1.1 I am using:
https://www.retrospace.net/infoseiten/downloa … n=get&dlid=2014

Your attached driver seems to be v1.2 - I will give it a try.

Reply 9 of 10, by freaked

User metadata
Rank Newbie
Rank
Newbie

Hm, sadly, Win3.1 gets stuck on the loading screen using your v1.2 driver. Seems I have to stick to v1.1 with 56Hz.

Reply 10 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t
freaked wrote on 2025-08-05, 11:22:

Hm, sadly, Win3.1 gets stuck on the loading screen using your v1.2 driver. Seems I have to stick to v1.1 with 56Hz.

There's a nice collection of drivers tested for 286 compatibility - Re: Should a Diamond Speedstar Pro (CL-GD5426) work in Win3.1 in 286 real-mode?

The only 5422 driver is v1.1, so I guess no hope...

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!