Search found 9 matches

by tsowell
Sun Mar 27, 2022 10:47 pm
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

FoxbatStargazer wrote: Sun Mar 27, 2022 1:19 pm What I really want to confirm is whether supplying a list of resolutions is framework-wide now, and can be used in other cores? Or is it specific to AO486?
You can use these with any core - it's not specific to AO486.
by tsowell
Sun Mar 27, 2022 10:45 pm
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

I use AO486 with a CRT monitor, if this has been merged, is there any documentation about this feature? There's some brief documentation in the default MiSTer.ini: https://github.com/MiSTer-devel/Main_MiSTer/blob/master/MiSTer.ini Do I only have to add the following under the [ao486] section [video=320x200@70.1] video_mode=640,16,96,48,400,12,2,35...
by tsowell
Mon Feb 21, 2022 4:33 am
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

Here's a version that supports video-mode-specific sub-sections in MiSTer.ini that can be used to override any configuration option. I'm much happier with this scheme. https://github.com/tsowell/Main_MiSTer/tree/ini-video-overrides Section names must follow the format "video=WIDTHxHEIGHT[@VREFRESH]". MiSTer will first look for an exactly-...
by tsowell
Sun Feb 20, 2022 2:37 am
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

I wondered if it might be useful to change more than just the video mode based on different core video modes, so I'm looking at moving the configuration into sub-sections of MiSTer.ini, so you can do stuff like: [video=320x200] video_mode=640,16,96,48,400,12,2,35,25175,0,1 vscale_mode=2 [video=720x400@70.0] video_mode=720,15,108,51,400,11,2,32,2832...
by tsowell
Sat Feb 12, 2022 4:54 am
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

Hey, Sorry to leave you all hanging, but I finally got around to trying to giving this a more proper treatment. https://github.com/tsowell/Main_MiSTer/tree/custom-video-modes-file https://github.com/tsowell/ao486_MiSTer/tree/sync-polarity The custom modes are configurable now. You set the custom_video_modes_file option in MiSTer.ini to the path to ...
by tsowell
Fri Apr 09, 2021 7:49 pm
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

Thanks everyone for trying this out! This should be committed to the main IMO. Will you be keeping this updated parallel with mister main? I intend to keep using this as long as possible. This is great! Unfortunately my SVGA CRT doesn't work anymore, but I am using my CRT TV and could still potentially benefit from this. Instead of hardcoding the m...
by tsowell
Mon Apr 05, 2021 3:33 am
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

calannabrown, thanks for trying it out. I'm glad it seems to be working! I suppose it works with both vga_scaler and forced_scandoubler set to 0 since you hardcoded 320x200 to upscale to 640x400? My code just sets the video mode, and I think something else still needs to scale it up to 640x400. Do you have the core's scaler enabled? Also wondering ...
by tsowell
Mon Apr 05, 2021 3:21 am
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

Re: VGA Mode Changing for 720x400 and 640x400

Does it not use native resolutions already with direct video enabled? Thanks for the suggestion! That does sound promising. I will see how it works once I get an HDMI-to-VGA converter. I'm curious to see if the core handles HDMI sync polarity better than it does with VGA. Even if it doesn't, there's probably a cleaner way to fix that than what I'v...
by tsowell
Sun Apr 04, 2021 10:44 pm
Forum: PC 486SX (ao486)
Topic: VGA Mode Changing for 720x400 and 640x400
Replies: 127
Views: 100039

VGA Mode Changing for 720x400 and 640x400

Hi everyone, I've been playing around with getting the MiSTer to use native VGA resolutions with the ao486 core, and I've hacked up a little proof of concept. I've attached binaries and included links to the changes, but please be careful and check my work! Some very old CRTs can be damaged by bad video timing. When the ao486 core changes its video...