1. download and unzip pentium version Advancemame and Advancemenu.
2. put advancemenu exe, advmenuv, and advmenuc in Advancemame folder.
3. click on advancemame exe - it will generate a default rc file, as well as add other folders. Open the rc file in notepad or some kind of text editor (kinda weird it's not already....) and scroll down to 'display_adjust'. The default is 'none'. Change it to 'generate_yclock.
4. add roms. Make sure the folder is name 'rom' not 'roms'. (You can change this in the rc, but this is the default. NO idea why.)
5. click on advancemenu exe - it will generate a default rc file for it. Click it again, and it will create an xml file, then the interface will appear. (If it doesn't, click again.)
6. go to Start>run, type cmd then press enter. Type 'cd' then space then the directory of your Advancemame contents and press enter. Then type 'svgawin -l' , press enter and it will load the drivers.
7. go back to your Advancemame folder and click on advcfg. If you happen to know the eight values of your monitor, select Custom and enter them. If not, select your type of monitor from the list and press enter. Then in the next page enter the pixel clock, horizontal refresh, and vertical refresh ranges (ie: 0-50 / 15-36 / 50-90) or straight values if using a tv or arcade monitor (ie: 0-50 / 15.72 / 50-60) and press enter:
A diagnostic screen will appear and you can try two different methods: 1) use your monitor controls to adjust your screen geometry; or 2) use your keyboard (look in the doc to see what keys do what) to adjust the grid to fit your display. (This tutorial's intent is to enable basic set-up for use with the automatic mode. If intending manual mode, then certainly use number 1 so as to set your reference mode, and then use the keyboard to adjust your other modes added/created.) Press enter. It then gives you a list of modes to test. You can try these; with one of my multisyncs it always crashed on me and I have to redo the configuration, so I just selected 'save and exit'. With another monitor, I forget which, they tested fine. Up to you. They don't need to be tested to save the configuration.
If you look at the bottom of your rc file, you'll notice a new entry, 'device_video_format' with a string of values. This is what advancemame uses to create proper modelines. It's not absolutely necessary. You could've instead just typed in a 'device_video_clock' as exampled above, and Advancemame would've used that instead, however the 'format' is specific to your monitor and is more effective.
Now go back to your waiting AdvanceMenu interface (or re-click on the icon to start again), and select a game by scrolling and pressing enter on the game desired. Check the result. From here, it helps to know and understand the different video features in Advancemame. Specifically, enter the tab menu and then select 'video' and then look up the corresponding features in the docs. They will have different values automatically set and different effects depending on your display.
If need be you can run through games and play with settings in the tab>video menu. If you want or need to do more, you can then use advv:
a. click on advv
b. scroll down the list. For starters maybe use only modes marked 'standard'. If a mode can't be used by your monitor, a red 'out of range' will appear lower right. Any mode that you want press enter and again the diagnostic screen will appear for you to size it to your monitor. Do so using the keyboard then press enter. When it returns to the list, if it isn't already enabled, press the space bar to enable the mode.
c. save (press F2) and exit. (You must press 'exit'. Clicking on the window's 'X' will not close it.) Now all these are in your rc file.
You now have more modes to select from in-game. If you don't get perfect results, go back into advdev and, either, select more modes....or create them. This is most technical part. I've just recently done this.
Attached is my old rc file (I have since made changes for special games, but am not on that computer right now to post it). Yours will look different depending on your monitor, but this will give you an idea of what it can look like. I strongly suggest using the above set-up method vs using my rc as a template.