Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Some modelines are not generated with target frequency  (Read 1604 times)

0 Members and 1 Guest are viewing this topic.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1548
  • Last login:August 15, 2025, 11:36:59 am
  • retro maniac
Some modelines are not generated with target frequency
« 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.
« Last Edit: October 15, 2016, 06:45:21 am by haynor666 »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7466
  • Last login:August 08, 2025, 06:55:05 am
  • Quote me with care
Re: Some modelines are not generated with target frequency
« Reply #1 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.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1548
  • Last login:August 15, 2025, 11:36:59 am
  • retro maniac
Re: Some modelines are not generated with target frequency
« Reply #2 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.