I would need to use a CGA arcade monitor on a PC computer (with VGA output).
The arcade monitor is normaly fed with 15KHz signal horizontal synch while a standard PC monitor is fed with 31Khz horizontal synchronization signal (negative polarity).
When my PC boots and until the right driver (arcmon.sys) is loaded in config.sys file, the output sync freq from VGA card is 31KHz which is harmful for the arcade monitor.
I would need a simple PIC 16f684/690 program that would sense the frequency it receives on an input pin from the VGA card (signal is analog 0.7vpp) and divide (roughly) the signal in two and output it until it receives a 15KHz output and then output it as is, or better, amplified to 4vpp.
I don't wish to reinvent the wheel, so I'm asking if anyone know if such code is available.
Thanks for any help you could bring me.
Happy christmas.
Bookmarks