mist-devel/mist-board

[BBC] Video problems with PVM and new core

Closed this issue · 12 comments

With the latest core the video is jittery on a PVM monitor. Previous version, i.e. 180823 was OK. Newer version the image is brighter.

This new version fixes the sound timing and tuning issues in Bad Apple and Beebtracker!

You can try to revert to the old CRTC to see if it's the problem. On my display, the picture is stable.

Picture is stable on consumer TV RGB CRT but the OSD usually is jittery.

on my CRT TV (composite output), the picture is stable but I can't see any color, all is B/W. But I don't see differences from the old core, it's the same.

Anyway I think I know what might be the issue regarding colors at least -- it once happened with VIC20 and C16. It was the csync signal calculated as HSYNC ^ VSYNC instead of ~(~HSYNC | ~VSYNC). Perhaps the two issues are related.

In all modes?
Try with the BASIC command MODE 0-1-2-3-4-5-6-7
Edit: yepp, I could reproduce it in MODE 7 (teletext). It might (try to) generate real interlaced video in this mode.
Edit2: according to the author, the sync behaviour in interlaced mode is authentic to the original: https://github.com/mist-devel/mist-board/blob/master/cores/bbc/rtl/mc6845.vhd#L416

The csync formula is the same as in the old core, but I might add the second version (basically it's an AND relation) to mist-video, selectable via a parameter.

Did some tweaking of the csync signal, can you test it again from the repo? The OSD is not interlace-friendly, that will still look a bit strange. Might fix it later (not a high prio for me).

I tested the new csync method there is an improvement, the image is brighter, I can see some colors but I think they are not correct. I can only see white, black, yellow and red. Blue color sometimes is flickering heavily and some other times is gray.

Now I can see the effect of interlacing -- the image it's flickering to a certain extent, especially when the OSD menu is on.

gyurco, can you update the Quartus files? I'm getting compile errors with the current git files.

Update Oops, figured my mistake, compiling OK.

@squidrpi I compiled it without errors, I just cloned a fresh repo and then opened it into Quartus.

No difference on the PVM for me.

May just be a problem with PVMs and 50hz interlaced - they're not great with non 240p signals. I've noticed shakey images on other cores that do interlaced. Picture looks fine on a consumer RGB CRT so I would ignore this if even though the older core displayed fine on the PVM.

The older core didn't do interlace. It might be good or bad, depends on the point of view.