Main > Monitor/Video Forum

Soft-15KHz - slim new tool for 15KHz on normal vga cards

Pages: << < (72/485) > >>

SailorSat:

So long SPAM, short conclusion...
It theoretically works, but practically we should stick to a "reasonable" amount of resolutions.

Silver:


--- Quote from: SailorSat on March 01, 2008, 02:48:32 pm ---So long SPAM, short conclusion...
It theoretically works, but practically we should stick to a "reasonable" amount of resolutions.

--- End quote ---

Awesome work. Exactly what I was hoping would come out of all of this - nice one!

I'm also pleased the current algorithms in mame can select the right refresh/res as well. (incidentally does mame choose well for games which report incorrect resolutions - e.g. ST-V games? And how does it select resolutions for games that change on the fly?)

And yes, adding all is probably overkill, but I actually think getting an exact refresh rate is as important as getting an exact resolution. I know your windows-only sync hack works well (cabmame) but that still relies on someone keeping the hack alive for all future versions of mame....

SailorSat:

As for now, the exact modeline is not needed, just one with the right "active" pixels and the right refresh rate.

MAME has an internal object called "visarea" per Screen.
This includes width, height and refresh rate for the game.
On StartUp MAME chooses the mode that matches the visarea most.

If a game switches resolutions, MAME internally updates the values in the visarea object.
Thats where my "changeres" hack comes to play. Everytime the visarea changes, changeres simply resets the video output and MAME chooses a new (matching) resolution.

As for the "ingame" resolution, I can provide a small hack for 0.123u3 that displays the current visarea values in game information (MAY be included in 0.123u4) instead of the "default" values.


timofonic:

Hello.

Are there an equivalent thing for this in Linux? I see modelines, that's commonly used on X Windows.

Regards.

SailorSat:

There should be various solutions for linux that support modelines.

Pages: << < (72/485) > >>

Go to full version