VGA Mode Changing for 720x400 and 640x400
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: VGA Mode Changing for 720x400 and 640x400
[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...
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: VGA Mode Changing for 720x400 and 640x400
[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
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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!
-
- Top Contributor
- Posts: 1019
- Joined: Thu Dec 10, 2020 5:44 pm
- Has thanked: 315 times
- Been thanked: 238 times
Re: VGA Mode Changing for 720x400 and 640x400
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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?
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: VGA Mode Changing for 720x400 and 640x400
Just start a new section with: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?
[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.
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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?
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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
So we simple players can copy and paste....
-
- Top Contributor
- Posts: 1442
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: VGA Mode Changing for 720x400 and 640x400
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
Re: VGA Mode Changing for 720x400 and 640x400
akeley wrote: ↑Sat Apr 30, 2022 11:10 amhttps://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
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!
-
- Top Contributor
- Posts: 1442
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
Re: VGA Mode Changing for 720x400 and 640x400
akeley wrote: ↑Tue Feb 21, 2023 6:26 amI'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
-
- Posts: 316
- Joined: Thu Sep 16, 2021 10:54 pm
- Has thanked: 841 times
- Been thanked: 51 times
Re: VGA Mode Changing for 720x400 and 640x400
akeley wrote: ↑Tue Feb 21, 2023 6:26 amI'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?
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
And what does it mean, can I read about cvt somewhere?
-
- Top Contributor
- Posts: 1442
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: VGA Mode Changing for 720x400 and 640x400
They're dedicated for 31khz. I only have a VGA monitor at the moment so haven't tried any 15kHz ones.
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).
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
-
- Top Contributor
- Posts: 1019
- Joined: Thu Dec 10, 2020 5:44 pm
- Has thanked: 315 times
- Been thanked: 238 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
akeley wrote: ↑Tue Feb 21, 2023 6:26 amI'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.
-
- Top Contributor
- Posts: 1442
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
-
- Top Contributor
- Posts: 1019
- Joined: Thu Dec 10, 2020 5:44 pm
- Has thanked: 315 times
- Been thanked: 238 times
Re: VGA Mode Changing for 720x400 and 640x400
I'm more surprised that any video settings would cause a "crash", rather than just a sync failure.
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
-
- Top Contributor
- Posts: 1442
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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.
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
Re: VGA Mode Changing for 720x400 and 640x400
with last buiid of ao486 wolf3D work great for me
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
Do you use a crt-vga monitor with HDMI adpater and mode-lines with resolution switching?
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
Re: VGA Mode Changing for 720x400 and 640x400
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
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
Would it be possible to post or send your ini, so I could test it here?
- HerrBerzerk
- Posts: 273
- Joined: Tue Feb 01, 2022 1:45 pm
- Has thanked: 122 times
- Been thanked: 39 times
Re: VGA Mode Changing for 720x400 and 640x400
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
thorr wrote: ↑Thu Mar 31, 2022 10:02 pmMy 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.