Atari coding BBS
|ST: Screen Pointer Update glit|
Posted by: Orion_
I'm coding a little demo and because my code is a bit slow, I use the triple buffering technique which allow to start writing my next screen even if the next screen to show up is not already starting to be drawn by the TV.
But, because of this I don't wait for the next VBL, I just set the new screen address at any time, and it appears to make some glitches sometimes, the screen seems garbled, I suppose this is because the new screen address is set at the wrong time (for example when the screen address is set during the next frame switch ?)
how can I avoid this ?
how can I detect when the screen is going to switch to the next frame, and wait for this before setting the new screen address ?
[All messages in this thread] [Start new thread]
What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.