Search site Dead Hackers Society
Other BBSes »
 
 

Sillyventure 2017
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

Atari coding BBS
 
ST: Screen Pointer Update glit
Posted by: Orion_ Jun,29.2017-20:41 

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 ?

thank you.




[All messages in this thread]

Topic Posted by  Date 
ST: Screen Pointer Update glit Orion_ Jun,29.2017-20:41
  Re: ST: Screen Pointer Update glit evil Jun,30.2017-12:16
    Re: ST: Screen Pointer Update glit Orion_ Jun,30.2017-13:43


Reply to this message
Name:
Topic:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2017 Dead Hackers Society Contact: Anders Eriksson