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: How to get the frequencies for my TV?  (Read 2302 times)

0 Members and 1 Guest are viewing this topic.

SmartBomb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:November 30, 2005, 12:34:09 pm
  • I want to build my own arcade controls!
How to get the frequencies for my TV?
« on: March 07, 2005, 03:13:40 am »
I'd like to use AdvanceMAME for my emulator.  It needs to know things like horizontal freq, vert. freq, pixel clock (?).  These are not listed in my TV manual and I've Googled it to hell but can't find them.

How can I find this info?  It's a 27" Philips Magnavox if that helps.

ericball

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 13, 2025, 11:01:47 am
Re: How to get the frequencies for my TV?
« Reply #1 on: March 07, 2005, 08:11:49 am »
Assuming you are talking NTSC (North American standard):

Vertical refresh : 59.46 Hz (interlaced)
Horizontal refresh: 15.734 kHz
Pixel clock ~3.5795 MHz


MAME Projects % completed:
2004 3 sided cocktail cabinet w/ modular CP <25% (discarded)
2004 Tempest cabinet & CP > 75% (sold)
2017 Raspberry Pi Zero W w/ Lakka microconsole 50%
2021 Vertical Bartop - in progress > 80%, 100% functional (sleeping)

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re: How to get the frequencies for my TV?
« Reply #2 on: March 07, 2005, 08:54:11 am »
Horizontal freq should be around 15.75KHz. Monitors are analog devices so some variation should be fine e.g. 15.7 - 15.8. Many monitors supports a wider range but TVs are more picky.

Vertical frequency is 60Hz for NTSC and 50Hz for PAL. Note that supporting both NTSC and PAL doesn't mean that the whole range 50-60Hz is supported. You might need more than one line in advmame.rc to describe the monitor in that case.

Pixel clock is a property of your graphic card, not the monitor.

SmartBomb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:November 30, 2005, 12:34:09 pm
  • I want to build my own arcade controls!
Re: How to get the frequencies for my TV?
« Reply #3 on: March 07, 2005, 10:02:12 pm »
Aha...so the horiz. and vert. frequencies are more a function of the standard (NTSC) than of the TV itself?

I will try the values given...don't worry, I won't hold anyone responsible if it damages the TV!

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re: How to get the frequencies for my TV?
« Reply #4 on: March 08, 2005, 06:10:23 am »
Aha...so the horiz. and vert. frequencies are more a function of the standard (NTSC) than of the TV itself?
No, the monitor probably supports a wider range of both horizontal and vertical timing but since it isn't stated in the manual you don't know where the limits are.

Running the monitor outside its limits will damage it or at least decrease its lifetime so the only safe range to use is the NTSC standard.

SmartBomb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:November 30, 2005, 12:34:09 pm
  • I want to build my own arcade controls!
Re: How to get the frequencies for my TV?
« Reply #5 on: March 19, 2005, 03:32:44 pm »
Thanks for the help.  I'm a software guy at heart, and I feel very ignorant about all this monitor/TV stuff.

I guess a bigger question here is, for a normal 27" TV, is it really worth all the extra hassle to use AdvanceMAME rather than, say, Mame32 ?

Anyway, here's what I tried - so far, I'm ready to pull out my non-existant hair over this.

1) Unzipped AdvanceMame files.
2) Run advcfg.exe, and get a DOS-like menu.
3) Select TV / NTSC (60 Hz)  (each time I have to use space bar to select, even though the prompt says to use 'enter')
4)  Tried "GENERIC NTSC TV (USA)"
5) Get another menu.
6) Whichever of the three calibration modes I select on the this menu, I get an error dialog saying "Calibration mode unsupported.  The video mode is incompatible with the monitor limitations."  advcfg then exits.
7) Start again with advcfg, except this time I select "TV / NTSC" then "custom".
8) I try to enter the values provided in this thread, but it won't accept a slash, despite it telling you to enter one.  (Same problem as this guy here: http://sourceforge.net/forum/forum.php?thread_id=1236293&forum_id=313511 )
9) I try starting advcfg again, and go directly for "custom" as the first step.  Then it starts asking for stuff I've never heard of like "horizontal front porch".  I went into the yard and measured it but the value didn't fit. (kidding)

I decide to try the manual route. 

1) I delete the existing rc file
2) run advmame -default to generate a default one
3) open it in a text editor. 
4) fix the 'roms' path. 
5) I install the 'svgawin" driver successfully. 
6) I  add the following line based on ericball's values above:

device_video_clock 3.5795 / 15.734 / 59.46

I know what interlaced and non-interlaced are, but I don't know how they apply to my TV so I used the values he provided.

7) save the rc file
8) run advmame <some game> from the command prompt -> "no video modes available for the current game".

Is there a way to generate video mode for some / all games?  What do I do next?!  I've tried reading through the 'man'-style help but it didn't really help me (http://advancemame.sourceforge.net/doc-advdev.html)

I'm not sure if this belongs in the "software" or "monitors" forum, since it kinda straddles both, but I'm sure you guys know plenty about AdvanceMame anyway.

In case it's relevant, the TV is a Philips Magnavox 27", model TS2779C1, and I'm using S-Video.  My video card is a GeForce4 440MX, 64MB I think.  Everything works fine with Mame32.

Thanks for any help.

desmatic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
  • Last login:June 25, 2006, 02:25:53 pm
    • Easy MameCab
Re: How to get the frequencies for my TV?
« Reply #6 on: March 20, 2005, 05:51:03 pm »
Thanks for the help.  I'm a software guy at heart, and I feel very ignorant about all this monitor/TV stuff.

I guess a bigger question here is, for a normal 27" TV, is it really worth all the extra hassle to use AdvanceMAME rather than, say, Mame32 ?

Anyway, here's what I tried - so far, I'm ready to pull out my non-existant hair over this.

1) Unzipped AdvanceMame files.
2) Run advcfg.exe, and get a DOS-like menu.
3) Select TV / NTSC (60 Hz)  (each time I have to use space bar to select, even though the prompt says to use 'enter')
4)  Tried "GENERIC NTSC TV (USA)"
5) Get another menu.
6) Whichever of the three calibration modes I select on the this menu, I get an error dialog saying "Calibration mode unsupported.  The video mode is incompatible with the monitor limitations."  advcfg then exits.
7) Start again with advcfg, except this time I select "TV / NTSC" then "custom".
8) I try to enter the values provided in this thread, but it won't accept a slash, despite it telling you to enter one.  (Same problem as this guy here: http://sourceforge.net/forum/forum.php?thread_id=1236293&forum_id=313511 )
9) I try starting advcfg again, and go directly for "custom" as the first step.  Then it starts asking for stuff I've never heard of like "horizontal front porch".  I went into the yard and measured it but the value didn't fit. (kidding)

I decide to try the manual route. 

1) I delete the existing rc file
2) run advmame -default to generate a default one
3) open it in a text editor. 
4) fix the 'roms' path. 
5) I install the 'svgawin" driver successfully. 
6) I  add the following line based on ericball's values above:

device_video_clock 3.5795 / 15.734 / 59.46

I know what interlaced and non-interlaced are, but I don't know how they apply to my TV so I used the values he provided.

7) save the rc file
8) run advmame <some game> from the command prompt -> "no video modes available for the current game".

Is there a way to generate video mode for some / all games?  What do I do next?!  I've tried reading through the 'man'-style help but it didn't really help me (http://advancemame.sourceforge.net/doc-advdev.html)

I'm not sure if this belongs in the "software" or "monitors" forum, since it kinda straddles both, but I'm sure you guys know plenty about AdvanceMame anyway.

In case it's relevant, the TV is a Philips Magnavox 27", model TS2779C1, and I'm using S-Video.  My video card is a GeForce4 440MX, 64MB I think.  Everything works fine with Mame32.

Thanks for any help.

I wouldn't recommend using Windows 2000 or XP, they're experimental.  Test your setup first on either DOS, Windows 98SE, or Linux.

So far as I know, AdvanceMAME won't work through TV-out.  You'll need to hack a vga to tv connection of some sort.

You're using the wrong pclock values,  try 8-25

As far as the quality is concerned, the difference mostly depends on your TV.  If it's really picky, you'll end up stretching all of your modes anyways, in which case you're probably better off with mame32 and tv-out.  If your TV's got a bit of slack built into her, then 224-240 line games will look radically better (though 224 line games will have a small border).