I shouldn't. At least in theory.ijor wrote: Wed May 07, 2025 2:47 pm Right. But why would you care about HSYNC at all? At least for a standard ST screen (no fullscreen), HSYNC is completely irrelevant for you. What matters here is that MMU increases the address counter on every LOAD pulse, and it is reset to Video Base at VSYNC. For a frame buffer, you don't need anything else, well, expect the current resolution.
But it's not working, so I could reduce the problem to one scanline at a time to make debugging simpler.
Thanks. What sort of issues? VSYNC appears to happen quite far away from any LOAD edges, but perhaps I've not seen the full picture?I see. Probably that's not your problem, or at least not currently you main problem, but note that there are some potential synchronization issues here.
What's confusing me is that about half my captured frames don't seem to start at offset zero, but part-way down my framebuffer. I can't see how that's happening and was worried my inferrence of the workings of the LOAD signal was wrong.Not sure I understand what is confusing.Am am confused by the shifting start point, though.
That's great. Perfect. And what I was asking.The first LOAD after VSYNC is the first word at the screen memory. It's as simple as that. And for a standard ST screen, it even doesn't matter for your purposes if you use the VSYNC raising or falling edge.
Which means the issue lies in my offset counting, in my data transfer off-chip or in my interpretation of that data subsequently. But it doesn't lie in my understanding of the LOAD and VSYNC signals.
Cheers,
BW