Tested it on PC. Couldn't get the makefile to work with mingw but "gcc lrmc.c" works fine.
I haven't tried to compile it on Windows, yet. The package right now is 100% GNU/Linux stuff. I've got a partition on my hard drive open that I've been meaning to install windows on, just haven't got a round to doing it. Thanks for the tip though.
Seems like a very good tool. Will try it with powerstrip in my cabinet later.
Got a few comments.
1. My Hantarex POLO Arcade monitor supports 15.25 - 16.25KHz. It seems like the tool only supports a single frequency.
Right now you need to edit the source. Change the Horizontal clock min/max or whatever for the monitor you're using. I intend on adding a configuration file, but have't got a round to it. It'll be either similar or identical to advancemame's syntax. The calculations are setup so that lrmc can directly use device_video_format as input. The feature just hasn't been implemented yet, but will be in the next release.
2. The calculations often becomes 8pixels/1 line off. e.g.
720x576x50Hz (normal PAL DVD) becomes 728x577x50Hz.
I'll have to get back to you on that one. I suspect it's due to a 0.5 line rounding error in interlace modeline calculations.
3. The aspect ratio option is missing in the man file.
Thanks.
4. Miss an option to specify visible lines on the monitor. -cga correctly scales to 240 lines and -pal scales to 288 lines but what if the monitor is adjusted to 256 lines.
Yeah, again, custom monitor settings will require a configuration file, which I'll implement soon. All the code is in place for this sort of elaborate stuff.