Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: haynor666 on January 02, 2016, 08:35:48 am

Title: Some modelines are not generated with target frequency
Post by: haynor666 on January 02, 2016, 08:35:48 am
I've spotted strange thing - some modelines are created with desired resolution but not with desired frequency for example:

256x240@60.098000 instead I get 256x240@59.980
248x256@55.000000 instead I get 248x256@58.444
240x160@59.728000 instead I get 240x160@59.986
256x248@57.445000 instead I get 256x248@59.966
768x576@50.000000 instead I get 768x576@52.440

Some of this modes I need with exact or close to frequency because I use this modes for emulators other than groovymame.
Groovymame seems to calculate those modes good for example Nato defense needs 256x248@57.444 and groovymame calculates 256x248@57.445, Aztarac needs frequency as close to 40 Hz and groovymame generates 768x576@49.500.

Problem lies in option Generate modes. At this stage in results incorrect frequencies are shown.
Title: Re: Some modelines are not generated with target frequency
Post by: Calamity on January 02, 2016, 09:52:07 am
That's the expected behaviour for a dynamic mode table. Refresh is ignored and calculated as close to 60 Hz as possible. I have set dynamic mode table as the default option because otherwise it causes an error with duplicated labels. Set it back to static and you'll get the native refresh.
Title: Re: Some modelines are not generated with target frequency
Post by: haynor666 on January 02, 2016, 10:31:45 am
Yep, my fault again. With previous VMMaker was set static modes, in new VMMaker simply forgot to switch this option.

Modeline 768x576@50 didn't show up because it's TV PAL standard (locked native mode) so it's must be set to 51 Hz.