MAMEWorld >> EmuChat
Index   Flat Mode Flat  

Bryan Ischo
MAME Fan
Reged: 03/28/10
Posts: 358
Send PM
Re: Flip Queue Size
04/24/13 10:27 PM


> Doesn't MAME keep the native resolution as well? When I play "Street Fighter II" and
> my desktop is 1360x768, then MAME's fullscreen resolution is still 1360x768 with the
> actual game's screen increased by MAME. It doesn't switch to a real screen resolution
> of 384x288. Would this even be possible? Doesn't a monitor have just a few predefined
> resolutions anyway? Like 640x480, 800x600, 1024x768, 1360x768? And isn't MAME
> configured to not change the screen's resolution unless you explicitly set it with -r
> and -switchres? Or am I completely wrong here? Or maybe I misunderstood what you were
> saying.

I don't know how you would do this on Windows, but on Linux it's possible to compute new video timing modes on the fly and update the video card to use those modes. The CRT monitor has to actually support the mode of course (which is to say, the timings have to be within the monitor's spec, but they can be any weird resolution and refresh rate that you want), but it's possible. I have some code that I intended to incorporate into my front end (should I ever actually get far enough in the thing to start adding these kinds of features) that does this. If the game was originally 384x288 @ 59.97 Hz, it would compute video timings to support this, and switch the monitor to those timings, before starting the game.

However, some really low spec timings like that can be unachievable for "modern" PC CRTs. They simply won't sync to a scan rate that slow. My test rig has a Mitsubishi Diamondtron 21 inch monitor, circa early 2000's in age, and it couldn't sync to the natural resolution and refresh rate of some games that I tried this technique on. I ended up choosing a refresh rate that was a multiple of the original game rate to get the scan rate high enough that the monitor would do it (for example, 384x288 @ 119.94 instead of 59.97).

And then what I found was that the phosphors of the CRT weren't really designed with the level of bloom needed to make 384x288 look good. I ended up with really, really skinny lines of video alternating with really think black empty spaces. I expect that the thickness of the scan lines is a function of the width of the beam and also the bloom of the phosphors. I guess it shouldn't have been surprising that a 'modern' CRT made to excel at rendering small pixels at 1600x1200 resolution wouldn't easily adapt to rendering big and chunky pixels at really low resolutions.

An alternative could be to double the resolution and render the scan lines manually, by explicitly drawing black on every other line. I didn't try that though, I kind of gave up eventually and decided to return to the problem later.

Also, as an aside - what's up with the vaguely racist graphics being used on this site now ("EmuChat? Ain't nobody got time 4dat")? Kind of makes me embarrassed to be posting here ...







Entire thread
Subject Posted by Posted on
* Input lag DaRayu 04/07/13 11:47 AM
. * Hey, this thread looks like it spawned a decent conversation.... italieAdministrator  04/27/13 08:19 PM
. * Re: Input lag jumpmaniac81  04/07/13 04:12 PM
. * Re: Input lag DaRayu  04/07/13 11:19 PM
. * Re: Input lag DaRayu  04/10/13 11:17 PM
. * Re: Input lag DaRayu  04/11/13 10:57 PM
. * Re: Input lag AWJ  04/11/13 11:44 PM
. * Re: Input lag DaRayu  04/11/13 11:47 PM
. * Re: Input lag B2K24  04/12/13 01:56 AM
. * Re: Input lag DaRayu  04/13/13 02:10 PM
. * Re: Input lag R. Belmont  04/13/13 10:08 PM
. * Re: Input lag DaRayu  04/14/13 05:36 PM
. * Re: Input lag SmitdoggAdministrator  04/14/13 05:50 PM
. * Re: Input lag DaRayu  04/14/13 11:18 PM
. * Re: Input lag Bryan Ischo  04/22/13 06:23 PM
. * Re: Input lag DaRayu  04/22/13 10:51 PM
. * Re: Input lag Bryan Ischo  04/23/13 09:08 AM
. * Re: Input lag Bryan Ischo  04/24/13 10:04 PM
. * Re: Input lag Bryan Ischo  04/23/13 02:01 AM
. * Re: Input lag Anonymous  04/23/13 12:37 AM
. * Re: Input lag R. Belmont  04/15/13 06:27 PM
. * Re: Input lag DaRayu  04/15/13 10:30 PM
. * Microstutter; ATi's dark little secret. Firehawke  04/16/13 05:00 AM
. * Re: Microstutter; ATi's dark little secret. StilettoAdministrator  04/16/13 05:44 AM
. * Flip Queue Size Calamity  04/17/13 01:50 PM
. * Re: Flip Queue Size R. Belmont  04/17/13 02:48 PM
. * Re: Flip Queue Size Calamity  04/17/13 04:01 PM
. * Re: Flip Queue Size R. Belmont  04/17/13 05:41 PM
. * Re: Flip Queue Size DaRayu  04/18/13 12:32 AM
. * Re: Flip Queue Size grog  04/18/13 11:38 AM
. * Re: Flip Queue Size DaRayu  04/18/13 12:52 PM
. * Re: Flip Queue Size grog  04/18/13 01:27 PM
. * Re: Flip Queue Size DaRayu  04/18/13 02:28 PM
. * Re: Flip Queue Size grog  04/18/13 06:21 PM
. * Re: Flip Queue Size R. Belmont  04/19/13 04:21 AM
. * Re: Flip Queue Size DaRayu  04/19/13 08:38 AM
. * Re: Flip Queue Size Calamity  04/19/13 11:07 AM
. * Re: Flip Queue Size DaRayu  04/19/13 11:53 AM
. * Re: Flip Queue Size Calamity  04/19/13 08:04 PM
. * Re: Flip Queue Size DaRayu  04/20/13 01:59 PM
. * Re: Flip Queue Size Calamity  04/20/13 11:24 PM
. * Re: Flip Queue Size DaRayu  04/21/13 11:51 AM
. * Re: Flip Queue Size Calamity  04/21/13 03:45 PM
. * Re: Flip Queue Size DaRayu  04/21/13 06:54 PM
. * Re: Flip Queue Size Calamity  04/24/13 12:06 AM
. * Re: Flip Queue Size DaRayu  04/24/13 04:27 PM
. * Re: Flip Queue Size Bryan Ischo  04/24/13 10:27 PM
. * Re: Flip Queue Size SmitdoggAdministrator  04/25/13 06:35 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:45 PM
. * Re: Flip Queue Size Sune  04/25/13 12:35 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 12:51 AM
. * Re: Flip Queue Size Anonymous  04/25/13 03:28 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:07 PM
. * Re: Flip Queue Size Vas Crabb  04/26/13 03:35 AM
. * Re: Flip Queue Size Bryan Ischo  04/26/13 06:03 PM
. * Re: Flip Queue Size Vas Crabb  04/27/13 02:02 AM
. * Re: Flip Queue Size DaRayu  04/25/13 11:45 PM
. * Re: Flip Queue Size Anonymous  04/25/13 07:58 PM
. * Re: Flip Queue Size SmitdoggAdministrator  04/25/13 06:39 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:47 PM
. * Re: Flip Queue Size casm  04/25/13 09:13 PM
. * Re: Flip Queue Size Sune  04/25/13 01:14 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 01:35 AM
. * Re: Flip Queue Size DaRayu  04/25/13 12:42 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:10 PM
. * Re: Flip Queue Size StilettoAdministrator  04/25/13 03:19 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 05:31 AM
. * Re: Flip Queue Size StilettoAdministrator  04/25/13 06:12 AM
. * Re: Flip Queue Size Anonymous  04/24/13 08:51 PM
. * Re: Flip Queue Size DaRayu  04/24/13 09:52 PM
. * Re: Flip Queue Size Sune  04/25/13 12:44 AM
. * Re: Flip Queue Size GatKong  04/23/13 08:04 PM
. * Re: Flip Queue Size DaRayu  04/19/13 08:09 PM
. * Re: Flip Queue Size grog  04/19/13 09:24 PM
. * Re: Flip Queue Size DaRayu  04/19/13 10:13 PM
. * Re: Flip Queue Size R. Belmont  04/19/13 04:44 PM
. * Re: Microstutter; ATi's dark little secret. R. Belmont  04/16/13 05:07 PM
. * Re: Microstutter; ATi's dark little secret. Anonymous  04/16/13 10:59 AM
. * Re: Input lag Anonymous  04/15/13 10:54 PM
. * Re: Input lag R. Belmont  04/16/13 05:03 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 86 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9170