Page 4 of 5
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Fri Apr 01, 2022 4:46 am
by thorr
These are still a work in progress, but here is what I have so far:
[video=320x199@59.7]
video_mode=640,25,130,75,398,50,29,50,27370,0,1 ; 640x398@59.7Hz@31.46kHz Jazz Jackrabbit
[video=320x240@59.7]
video_mode=640,40,96,64,480,14,2,31,26430,0,1 ; 640x480@59.7Hz Epic Pinball
[video=640x480@59.7]
video_mode=640,40,96,64,480,14,2,31,26430,0,1 ; 640x480@59.7Hz
EDIT: The above are not great, use the post below instead...
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Fri Apr 15, 2022 4:52 am
by thorr
Update, these are much better:
[video=320x240@59.7]
video_mode=640,4,88,60,480,1,5,19,23876,0,0 ; 640x480@59.7Hz Epic Pinball / Mode X
[video=640x480@59.7]
video_mode=640,4,88,60,480,1,5,19,23876,0,0 ; 640x480@59.7Hz
[video=320x199@59.7]
video_mode=640,2,100,62,597,2,6,22,30093,0,0 ; 640x597@59.7Hz@37.43kHz Jazz Jackrabbit
Here are all my settings so far:
[ao486]
; Set it to "Variable" in the video settings in the menu of the core
video_mode=1600,64,192,304,1200,1,3,46,162000 ; 1600x1200x60Hz
direct_video=0 ; use the scaler
vsync_adjust=2 ; set to 2 above
vscale_mode=1 ; set to 0 above
video_info=5 ; show resolution information for X seconds
hdmi_limited=2 ; 1 - use limited (16..235) color range over HDMI
; 2 - use limited (16..255) color range over HDMI, for VGA converters.
[video=320x199@59.7]
video_mode=640,2,100,62,597,2,6,22,30093,0,0 ; 640x597@59.7Hz@37.43kHz Jazz Jackrabbit
[video=320x200@70.1]
;video_mode=320,24,49,38,200,2,2,20,13535,0,1 ; 320x200@140.2Hz@31.4kHz DOS CGA/EGA/Adventure games with scanlines
video_mode=640,7,108,30,400,13,2,34,24708,0,1 ; 640x400@70.1Hz@31.48kHz VGA era games including 320x200, 320x400, 640x400 @70.1Hz
[video=320x240@59.7]
video_mode=640,4,88,60,480,1,5,19,23876,0,0 ; 640x480@59.7Hz Epic Pinball / Mode X
[video=320x400@70.1]
video_mode=640,7,108,30,400,13,2,34,24708,0,1 ; 640x400@70.1Hz@31.48kHz VGA Games including 320x200, 320x400, 640x400 @70.1Hz
[video=640x400@70.1]
video_mode=640,7,108,30,400,13,2,34,24708,0,1 ; 640x400@70.1Hz@31.48kHz VGA Games including 320x200, 320x400, 640x400 @70.1Hz
[video=640x480@59.7]
video_mode=640,4,88,60,480,1,5,19,23876,0,0 ; 640x480@59.7Hz
[video=720x400@70.1]
video_mode=720,15,108,46,400,13,2,34,27983,0,1 ; 720x400@70.1Hz@31.48kHz DOS Text
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Apr 23, 2022 7:42 pm
by HerrBerzerk
Hi,
want to thank you, that's great with these video modes. Really fantastic.
Can I use these settings with the ScummVM Script somehow?
Thank you!
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Apr 23, 2022 11:25 pm
by FoxbatStargazer
I don't think SCUMMVM uses the scaler system? The program itself has to take care of scaling. Which is to say, it's just going to use your video_mode for the menu and that's all you can do?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sun Apr 24, 2022 7:38 am
by HerrBerzerk
So you mean, when I put the resolution of the menu e.g. to:
video_mode=640,7,108,30,400,13,2,34,24708,0,1 ; 640x400@70.1Hz@31.48kHz VGA Games including 320x200, 320x400, 640x400 @70.1Hz
Most VGA-Adventures should look original? Can't I just put that at the beginning of the mister.ini?
Or can I create a MENU section for that?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sun Apr 24, 2022 10:46 am
by thorr
HerrBerzerk wrote: ↑Sun Apr 24, 2022 7:38 am
So you mean, when I put the resolution of the menu e.g. to:
video_mode=640,7,108,30,400,13,2,34,24708,0,1 ; 640x400@70.1Hz@31.48kHz VGA Games including 320x200, 320x400, 640x400 @70.1Hz
Most VGA-Adventures should look original? Can't I just put that at the beginning of the mister.ini?
Or can I create a MENU section for that?
Just start a new section with:
[Menu]
video_mode=whatever one you want for the menu and ScummVM
and put settings under it you want in the Menu. It can only have one default video mode though, so whatever you want ScummVM to be, make it the same as the Menu video mode. This is theory only, since I haven't personally tested this.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sun Apr 24, 2022 7:52 pm
by HerrBerzerk
Thank you, you are right and I understand the concept, but I think that it will not work with scumm because it seems that ScummVM only supports 640x480, nothing else... however, that's nothing we can change
An other error occurred to me: I have a VHD with a Win95 Installation that worked well. Now after changing the INI adding the AO486 section, Win95 is crashing with a blue screen just before the desktop shows up. I changed to alt_ini 1 and it booted without a problem.... back to new ini... crash... also when I change the windows resolutions between 640x480 and 800x600 no boot. Also not in safe mode.
Though with an old ini, there is no problem. Any idea someone?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Mon Apr 25, 2022 7:14 pm
by HerrBerzerk
I just did some tests about Win95. It is really like, as soon as I add the AO486 section to the ini, even with only one setting in it, Windows is crashing as soon as the desktop should appear.
As soon as I delete the ao486 section, Windows is booting with no problem... strange.
E.g. with these minimal settings, I get a crash.
[ao486]
; Set it to "Variable" in the video settings in the menu of the core
;video_mode=1600,64,192,304,1200,1,3,46,162000 ; 1600x1200x60Hz
video_mode=6
;direct_video=0 ; use the scaler
;vsync_adjust=2 ; set to 2 above
;vscale_mode=1 ; set to 0 above
;video_info=5 ; show resolution information for X seconds
I mean, I can live with that, im just interested if it is only me and strange is the bug anyway.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Apr 30, 2022 10:12 am
by Nikoh
Guys would it be possible to have a more or less standard configuration to cover all standard game resolution needs?
So we simple players can copy and paste....
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Apr 30, 2022 11:10 am
by akeley
Nikoh wrote: ↑Sat Apr 30, 2022 10:12 am
Guys would it be possible to have a more or less standard configuration to cover all standard game resolution needs?
So we simple players can copy and paste....
https://github.com/MiSTer-devel/Wiki_Mi ... uide#ao486
Check the "for 31kHz VGA monitors" section.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Apr 30, 2022 12:47 pm
by Nikoh
akeley wrote: ↑Sat Apr 30, 2022 11:10 am
Nikoh wrote: ↑Sat Apr 30, 2022 10:12 am
Guys would it be possible to have a more or less standard configuration to cover all standard game resolution needs?
So we simple players can copy and paste....
https://github.com/MiSTer-devel/Wiki_Mi ... uide#ao486
Check the "for 31kHz VGA monitors" section.
thanks, it was just what I was looking for
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 21, 2023 1:27 am
by GutBomb
In case anyone ends up here via google, the URL to that wiki has changed to https://github.com/MiSTer-devel/Wiki_Mi ... uide#ao486 and it worked great for me!
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 21, 2023 6:26 am
by akeley
I'm glad to hear these modelines are still useful, but I think these days you could do it simpler way (better?) with the new "cvt" command. Eg, that's what I'm using for ao486 atm (experimental, not sure it's better than the "normal" modelines):
Code: Select all
[ao486]
forced_scandoubler=0
direct_video=0
[video=720x400]
video_mode=720,400,70,cvt
[video=320x200]
video_mode=640,400,70,cvt
[video=640x400]
video_mode=640,400,70,cvt
[video=640x480]
video_mode=640,480,60,cvt
That Wiki guide could do with some updating overall. I'm bit too busy with other stuff atm, away from most of my OG hardware, and have been out of the loop with all the latest CRT-related developments though. Here's hoping somebody else can bring it up to date.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 21, 2023 3:22 pm
by GutBomb
akeley wrote: ↑Tue Feb 21, 2023 6:26 am
I'm glad to hear these modelines are still useful, but I think these days you could do it simpler way (better?) with the new "cvt" command. Eg, that's what I'm using for ao486 atm (experimental, not sure it's better than the "normal" modelines):
Code: Select all
[ao486]
forced_scandoubler=0
direct_video=0
[video=720x400]
video_mode=720,400,70,cvt
[video=320x200]
video_mode=640,400,70,cvt
[video=640x400]
video_mode=640,400,70,cvt
[video=640x480]
video_mode=640,480,60,cvt
That Wiki guide could do with some updating overall. I'm bit too busy with other stuff atm, away from most of my OG hardware, and have been out of the loop with all the latest CRT-related developments though. Here's hoping somebody else can bring it up to date.
This is fantastic! It works for everything. I added some entries for 800x600 and 1024x768 and everything just works and looks perfect. Thank you!
Code: Select all
[video=800x600]
video_mode=800,600,60,cvt
[video=1024x768]
video_mode=1024,768,60,cvt
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 21, 2023 6:44 pm
by AmintaMister
akeley wrote: ↑Tue Feb 21, 2023 6:26 am
I'm glad to hear these modelines are still useful, but I think these days you could do it simpler way (better?) with the new "cvt" command. Eg, that's what I'm using for ao486 atm (experimental, not sure it's better than the "normal" modelines):
Code: Select all
[ao486]
forced_scandoubler=0
direct_video=0
[video=720x400]
video_mode=720,400,70,cvt
[video=320x200]
video_mode=640,400,70,cvt
[video=640x400]
video_mode=640,400,70,cvt
[video=640x480]
video_mode=640,480,60,cvt
That Wiki guide could do with some updating overall. I'm bit too busy with other stuff atm, away from most of my OG hardware, and have been out of the loop with all the latest CRT-related developments though. Here's hoping somebody else can bring it up to date.
Are these commands valid also for 31khz VGA monitors?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 21, 2023 7:49 pm
by HerrBerzerk
And what does it mean, can I read about cvt somewhere?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Feb 22, 2023 5:53 am
by akeley
AmintaMister wrote: ↑Tue Feb 21, 2023 6:44 pm
Are these commands valid also for 31khz VGA monitors?
They're dedicated for 31khz. I only have a VGA monitor at the moment so haven't tried any 15kHz ones.
HerrBerzerk wrote: ↑Tue Feb 21, 2023 7:49 pm
And what does it mean, can I read about cvt somewhere?
I'm not sure really. There were some posts about it here on the forums (I think I took these modelines from @Foxbat Stargazer's example in some thread about VGA monitors).
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Sat Feb 25, 2023 3:49 pm
by FoxbatStargazer
So in the bad old days, you had to manually specify the parameters for the horizontal and vertical blank as well as the pixel clock. Although you can still go that route if you want more precision and control over size/position.
Recent-ish the video_mode will now calculate standard timings if you just supply it vertical and horizontal # of pixels and a refresh rate. CVT parameter indicates to use CVT standard timings, which were designed around CRTs. If you don't put the parameter, it would default to CVT-RB, which is designed for LCDs and may have trouble on CRTs.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Tue Feb 28, 2023 7:45 pm
by HerrBerzerk
akeley wrote: ↑Tue Feb 21, 2023 6:26 am
I'm glad to hear these modelines are still useful, but I think these days you could do it simpler way (better?) with the new "cvt" command. Eg, that's what I'm using for ao486 atm (experimental, not sure it's better than the "normal" modelines):
[ao486]
forced_scandoubler=0
direct_video=0
[video=720x400]
video_mode=720,400,70,cvt
[video=320x200]
video_mode=640,400,70,cvt
[video=640x400]
video_mode=640,400,70,cvt
[video=640x480]
video_mode=640,480,60,cvt
I tried these video modes in my ini now and for me, a lot of games just crash on start (with the top 300 from flynnsbit).
E.g. Beyond Castle Wolfenstein crashes in the start screen
Commander Keen 5 crahes on the start screen
Earthworm Jim is crashing.... and others...
Is that only for me? I am using a CRT-VGA Monitor on the HDMI-Port with an adapter.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Mar 01, 2023 5:46 am
by akeley
Like I said, these are "experimental" - meaning I did not have much time to test them, for various reasons.
If the old ones work for you, just stick with these, there shouldn't be much (any?) difference.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Mar 01, 2023 6:13 am
by FoxbatStargazer
I'm more surprised that any video settings would cause a "crash", rather than just a sync failure.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Mar 01, 2023 9:03 am
by HerrBerzerk
akeley wrote: ↑Wed Mar 01, 2023 5:46 am
Like I said, these are "experimental" - meaning I did not have much time to test them, for various reasons.
If the old ones work for you, just stick with these, there shouldn't be much (any?) difference.
I'm afraid it has nothing to do with the video modes but with the mister version. The "old" method also does not work anymore for a lot of games. I did not play ao486 for some months. But for testing purposes I installed an old Mister Version from github yesterday and with this old version everything was working fine. I will so some more tests this evening.
When I have no ao486 version in the ini, means always the same resolution, also everything works fine with most recent mister version.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Mar 01, 2023 9:11 am
by akeley
Interesting, I also have had problems with a lot of ao486 games in the last few months (usually literally "crash" - black screen) but I have chalked it up to maybe not having a heatsink. This happens on both old/new modeline method.
What is the number of the version of the mister that you say works fine with the old one? I might give it a spin.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Wed Mar 01, 2023 8:47 pm
by HerrBerzerk
akeley wrote: ↑Wed Mar 01, 2023 9:11 am
What is the number of the version of the mister that you say works fine with the old one? I might give it a spin.
I didn't have that much time today but if you want to try something, test an older AO486 version. I was jumping around between different Mister and different AO486 versions to test. It seems, that this black screen crash is not happening with any older version of AO486 like 22/03 or or 22/02...
At least Wolfenstein, Commander Keen 5 and Duke Nukem 3d are working fine with the older versions while they do NOT run with the most recent version for me. I did an update all before testing and I'm testing with the release version of Dos300.
I will continue testing until I have a definite result.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Thu Mar 02, 2023 6:52 am
by breiztiger
with last buiid of ao486 wolf3D work great for me
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Thu Mar 02, 2023 8:07 am
by HerrBerzerk
breiztiger wrote: ↑Thu Mar 02, 2023 6:52 am
with last buiid of ao486 wolf3D work great for me
Do you use a crt-vga monitor with HDMI adpater and mode-lines with resolution switching?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Thu Mar 02, 2023 5:48 pm
by breiztiger
hdmi to vga adapter with dell 2007fp
edit : just make an update_all and the screen is flickering on wolf3d now ;-(
i return to my ipad 3 hdmi screen it's more simple to configure for now
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Thu Mar 02, 2023 5:55 pm
by HerrBerzerk
breiztiger wrote: ↑Thu Mar 02, 2023 5:48 pm
hdmi to vga adapter with dell 2007fp
Would it be possible to post or send your ini, so I could test it here?
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Fri Mar 03, 2023 8:29 pm
by HerrBerzerk
I am testing around and getting very mixed results. At the moment I am concentrating on Wolf3d and Duke Nukem wich both don't start with the latest core but are working with an older AO486 core.
But also, there are different results with different mister.ini files that make Duke either work or crash on start. It's is just that to me it looks like the content in the ini's is the same, just different structured. So I am really confused at the moment.
Probably I will do a complete fresh install and see if this makes a difference. Or if someone here says, I got a system that plays all these games on a VGA monitor with resolution switching just perfect, maybe he would share the ini so i can test it.
Re: VGA Mode Changing for 720x400 and 640x400
Posted: Mon Jul 10, 2023 6:21 am
by NYI
thorr wrote: ↑Thu Mar 31, 2022 10:02 pm
My goal is to have exact vertical refresh timings that match all the source frequencies. Using video_mode=6, etc. is fine for an interim solution, but not what I want for the long term, unless the vertical refresh frequencies match. I haven't spent the time yet to try all these other modes in DOS yet to see how they come up, but plan to.
But I believe the point of vsync_adjust=2 is that it will make the vertical refresh match the core output. With vsync set to variable in ao486, that means if the output should be 70.1, you'll get 70.1. Even though video_mode=6 is listed as 640x480@60, If you open the Mister menu with vsync_adjust=2 and ao486 set to "variable" vsync you can see the original vertical refresh is 70.1 and that's what the output vertical refresh is - so you'll get 640x480@70.1. Ditto for sync_adjust = 1, which has 1 frame of lag but higher compatibility.
You shouldn't have to be setting timings manually just to achieve a matching vertical frequency.