Main > Monitor/Video Forum
The ultimate VGA to SCART adapter
gambaman:
--- Quote from: buttersoft on August 27, 2020, 10:24:50 pm ---I'm still a bit overwhelmed by MPLAB X IDE though, but i think all i need to do is import the .hex file, then build the project, using the programmer as the device. The target IC being a PIC16F18313 should already be set up, yes?
--- End quote ---
Sorry, I'm quite unskilled. Probably you can use MPLAB X IDE to write the PIC without having to build the project, but I don't know how. If you are going to rebuild the project then you don't need the .hex file. Just select the target IC, add the source .c code and, just in case, press "Clean and Build Project". Then, to write each PIC press "Make and Program Device".
--- Quote from: buttersoft on August 27, 2020, 10:24:50 pm ---Also, i was half planning to use this for the MiSTer. Do you know if the H-sync input for the PIC16F18313 will pass composite sync through? Does it depend on what the v-sync port is doing as well?
--- End quote ---
Sorry, I have no idea. Does the MiSTer have have a composite sync output? If so, why do you need the adapter? Can't you connect it directly to the composite sync input of the SCART?
--- Quote from: buttersoft on August 27, 2020, 10:24:50 pm ---Also, great avatar! I have to steal that picture :)
--- End quote ---
I'm happy to see you liked it, althought it would probably loose a battle with Usagi ;)
buttersoft:
--- Quote from: gambaman on August 28, 2020, 11:00:11 am ---Probably you can use MPLAB X IDE to write the PIC without having to build the project, but I don't know how. If you are going to rebuild the project then you don't need the .hex file. Just select the target IC, add the source .c code and, just in case, press "Clean and Build Project". Then, to write each PIC press "Make and Program Device".
--- End quote ---
Expect to hear from me in a month when the PICKIT 3.5 arrives and i can't figure it out, lol :) You updated the source.c file to switch resolutions in 740 lines?
--- Quote ---Does the MiSTer have have a composite sync output? If so, why do you need the adapter? Can't you connect it directly to the composite sync input of the SCART?
--- End quote ---
https://github.com/MiSTer-devel/Main_MiSTer/wiki/Direct-Video
The MiSTer has a setting called direct_video which takes the native video output of the FPGA cores and pumps it out the VGA port on the I/O board, if you have one, and also out the inbuilt HDMI port. It also has an option to turn on composite sync, yes. And with almost any cheap HDMI-to-VGA converter you get 240p RGBS. But the MiSTer will pump composite sync at any res, i think. And not all cores output natively in 240p (some microcomputers, Apple, 486, etc are all higher.)
It would be nice if your adapter would work with composite sync under that environment, i guess. You could also just turn off composite sync and use normal 240p RGBHV however.
--- Quote ---I'm happy to see you liked it, althought it would probably loose a battle with Usagi ;)
--- End quote ---
To Usagi as he used to be. Nowdays everyone whips his butt, lol :)
gambaman:
--- Quote from: buttersoft on August 30, 2020, 07:39:42 am ---Expect to hear from me in a month when the PICKIT 3.5 arrives and i can't figure it out, lol :) You updated the source.c file to switch resolutions in 740 lines?
--- End quote ---
You mean the countdown_duration parameter? Yes, it has been updated.
--- Quote from: buttersoft on August 30, 2020, 07:39:42 am ---The MiSTer has a setting called direct_video which takes the native video output of the FPGA cores and pumps it out the VGA port on the I/O board, if you have one, and also out the inbuilt HDMI port. It also has an option to turn on composite sync, yes. And with almost any cheap HDMI-to-VGA converter you get 240p RGBS. But the MiSTer will pump composite sync at any res, i think. And not all cores output natively in 240p (some microcomputers, Apple, 486, etc are all higher.)
It would be nice if your adapter would work with composite sync under that environment, i guess. You could also just turn off composite sync and use normal 240p RGBHV however.
--- End quote ---
I'm a bit confused. The adapter generates the composite sync requiered by the TV from Hsync and Vsync. If the MiSTer can generate the composite sync, it does not need this adapter.
buttersoft:
It would be for protection from signals over 15kHz, in this case. Not a massive gain, i was merely curious as to whether it could handle composite sync.
gambaman:
--- Quote from: buttersoft on August 30, 2020, 07:52:35 pm ---It would be for protection from signals over 15kHz, in this case. Not a massive gain, i was merely curious as to whether it could handle composite sync.
--- End quote ---
I'm sorry it can not handle it. Anyway, maybe the overfrequency protection is useless in this case. I don't know anything about TV internals. Can it be damaged if the frequency is too high?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version