c0pperdragon / C64-Video-Enhancement

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

Snow effect #61

Open InsertDiskTwo opened 3 years ago

InsertDiskTwo commented 3 years ago

I have noticed that in dark areas of the screen (but not total black) there is a faint snow effect going on. For example, in the game Witch Switch on the grey border (once you start the game).

I tested with both a Retrotink x2 Pro and Ossc and got the same effect. It is much more visible with the Retrotinkx2 Pro.

c0pperdragon commented 3 years ago

I had some reports of slight image noise previously. So far these were always caused a a noisy PSU. Maybe you have access to an alternate power supply to test this ?

InsertDiskTwo commented 3 years ago

Hi c0pperdragon, sorry for the late reply. I do not have access to another PSU. I have had a friend coming over to check the PSU for noise. I am attaching measurements and pictures from scope below. What do you think? The problem is that we do not have anything to compare to. This is both power rails measured at the same time, the rails are not to scale.

3.3 volts right at the JTAG connector: Period of the noise 3v3 period

Peak to peak of the noise 3v3 peak to peak

5 volt peak to peak at the board's regulator input: 5v peak to peak

This is the PSU we are using.

Thank you!

InsertDiskTwo commented 3 years ago

The more we measure it the more I think it is the PSU. Here is the video signal with the 3v3 rail under it: video and 3v3

c0pperdragon commented 3 years ago

Still it is hard to guess. Normally when the PSU is causing the issue, it it somehow time-related to the power input frequency. In PAL regions this is normally 50Hz, as is the vertical screen frequency (in NTSC regions, this is 60Hz instead). As these frequencies do not match up perfectly, the visual distorion should slowly travel up or down the screen. If this is the case, the problem is surely the PSU.

InsertDiskTwo commented 3 years ago

Thanks a lot! I will see if I can get my hands on an original PSU to see if it improves thing. Is there an aftermarket PSU I can get which you think won't have issues?

c0pperdragon commented 3 years ago

I would not use an original PSU at all. These are really dangerous by now and can actually kill your machine. Unfortunately I can also not give you any recommendation. My own PSU is a modded original one. I replaced the voltage regulator and added a heatsink and a fan. But again I can not recommend this to you as it is a bit dangerous.