willinliv wrote: ↑Thu Aug 17, 2023 2:30 pm
The VLA is compatible with Spectrum +2A/2B/3 cables - there is no High Intensity line, instead combined in the RGB. I have found the profiles for Spectrum +2, give lots of pixel movement, whereas Harlequin is very good so think timing is at play here
Yes, timing is a factor here. The original 48K Spectrum had a pixel clock of 7.0 Mhz with 448 clock cycles per line and 312 lines but the later Spectrums +2/3 etc used a 7.0938Mhz pixel clock with 456 clock cycles per line and 311 lines.
To get perfect sampling the right combination has to be used so as this is a ULA for the original Spectrum I would assume it is using 7.0Mhz / 448 so you would want the original Spectrum timing.
willinliv wrote: ↑Thu Aug 17, 2023 2:30 pm
Any ideas on how I might pull these out within the RGBtoHDMI? I'm wondering if I might adjust the Spectrum +2 profile, or modify the Harlequin one somehow.
The Harlequin actually supports both types of clock frequency / line length and there are two sub-profiles available in the latest stable release and it should auto select the correct one although this is untested.
willinliv wrote: ↑Thu Aug 17, 2023 2:30 pm
Hang on, I've worked it out, not really edited the DAC settings before but comparing to the C0pperdragon profile where brights are just visible it gave me a hint where to start. Still need some further work I think and I have some transient noise running through the picture.
The harlequin ZX 7000000Hz sub-profile is probably the best starting point and you have to adjust the DAC settings to extract the levels.
From your photo it looks like you have already set the Green Hi / Lo settings mostly correct as you are displaying two levels for colours containing green. The other two adjustments (RB Hi and RB Lo) are shared between the red and blue thresholds and usually will be the same as the green levels unless there is something unusual like sync on green which is used by the c0pperdragon mod.
i.e. try setting RB Hi = G Hi and RB Lo = G Lo
Generally once you have some settings that work you should adjust the values up and down until something 'breaks" and then set the final values in the middle of that range (including the sync setting)
Your image shows a lot of noise and that is not normal. If it doesn't go away by adjusting the DAC levels a little, I have seen such noise caused by cheap "wall wart" power supplies so what are you using to power your RGBtoHDMI or Spectrum?
I have even seen this problem with the external PSU used to power a small monitor so not directly powering either the computer or converter and again it went away after replacing the PSU with a better one.
If your monitor has a built in USB hub you might be able to power the RGBtoHDMI from that using a USB to micro USB cable which is what I am now doing with my monitors.
The other possible cause of noise is the FPGA in the ULA replacement but that seems less likely if the noise is not visible on a normal analog monitor
If you get something usable, please post your saved profile (will be in saved_profiles on the SD card) and I will include in in a future release