c0pperdragon / C64-Video-Enhancement

Component video modification for the C64 8-bit computer
MIT License
257 stars 36 forks source link

Using of external Sync is not Working #58

Open DerGali2020 opened 3 years ago

DerGali2020 commented 3 years ago

Hi, first thanks for your awesome Project. I'm trying to use your board as RGB Output with a 8 PIN MiniDIN(using this pcb for easier install https://oshpark.com/shared_projects/0hrYbjDu ) , which all my consoles have and hopefully all homecomputers get :). I used the program for pallet switching to get it into RGB Mode. If i use RGB mode with ns (no sync) sync from Composite or LUMA IN / LUMA OUT from on the RFBOARD is not working. i get a sync but the screen stays black on my OSSC and Rad2X. If i use RGsB all is fine. I don't know if thats the cause but on RGB with external Sync my OSSC says 311P if i use RGsB my OSSC Syncs with 312p. Maybe this is the issue? I've bought the rf replacement board from VGP so i think it doesn't have the newest firmware.

Thanks in Advance DG

c0pperdragon commented 3 years ago

I not sure I completely understand what this 311P here means?
Is this what the OSSC shows you when you hook up the original luma signal to it. Would be best if you could leave away all the RGB connections just for testing the sync.
311P is super strange. Maybe the OSSC can not properly handle the sync the VIC-II produces Do you happen to have an oscilloscope so you could test the signal from the C64 and see what is going on there?

But when you are already doing this permanent internal install, you could change the board a bit so it would also generate a clean sync signal for your custom output connector. When you do that you would then no longer have the sync available on the normal lines (as for YPbPr or RGsB), but have it on this connector exclusively. If you want to do that I can give you instructions here.

DerGali2020 commented 3 years ago

311P is what the ossc Display shows if i hook up the original luma signal to it. Sorry i don't have a Oscilloscope but maybe i could borrow one, which will take a few weeks. I will try to remove the rgb lines to see if it changes anything. If you have enough time to tell me how to modify the board that would be awesome :).

c0pperdragon commented 3 years ago

Ok, so here is what you can do. You need a 100 Ohm resistor and a 470 Ohm resistor for that, or something in the approximate range if you just want to try this out.

  1. Programm the mod to generate RGsB using the platte editor.
  2. Remove R1 from the FPGA board. This resistor normally couples the sync signal to the G line, so you then have RGB without sync on the output
  3. Attach a 100 Ohm resistor with one side to the pad of the former R1 that is closer to the FPGA.
  4. Attach a 470 Ohm resistor with one side to GND3, GND4 or GND5 of the FPGA board
  5. Connect the open ends of both resistors and this is your sync signal.

This sync should be visibile as an approximately 250mV peak-to.peak signal to the receiver when terminated with the usual 75 Ohm. This should work just fine with the OSSC.

c0pperdragon commented 3 years ago

Ops! I mixed up the description. The 470 Ohm needs to go to the pad of the R1. The 100 Ohm connect to ground.