Closed ojwb closed 3 years ago
Thanks for filing this. It's partially resolved as of the referenced commit.
Now, I get this:
ec92903804d65d56d363dab69d353150861c0af6 beebjit_frame_0.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_1.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_2.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_3.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_4.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_5.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_6.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_7.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_8.bgra 13027eecfe377f0e80d729cb1a41e3729ebe3126 beebjit_frame_9.bgra
As can be seen, the first frame is different. This is to be expected as things are currently implemented. Conceptually, "video:paint-start-cycles=60680000" specifies when the monitor turns on. So, in interlaced mode, the very first frame will only have one of the interlace fields (odd or even) rendered, because it all starts from black. I suspect it may be easiest to have the BBC Micro Bot toss the first frame, and start a little earlier if there's a need to keep the same timing.
I can imaging we might hit more quirks and caveats with interlaced rendering in the future:
If any of this things become bothersome, we can look at further changes.
Thanks for the changes. I can certainly see why the first frame is a special case.
I suspect it may be easiest to have the BBC Micro Bot toss the first frame, and start a little earlier if there's a need to keep the same timing.
I think that shouldn't be hard to do - I'll take a look.
I was trying out
video:no-deinterlace-teletext
. Mostly it seems very good, but the first two frames don't seem to be handled the same as the rest. The first frame seems to have only one interlace, then the second frame only the other. The rest have both interlaces combined.To reproduce (this pokes a VDU command to disable the cursor into the keyboard buffer so there's no flashing cursor - the runes here are cut down from those bbcmicrobot uses):
Then open
[012].png
in your image viewer of choice and compare.