Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2020
Notice!
Sommarhack 2020 is cancelled in it's normal format. We're moving it online and will stream competitions as well as other Atari programmes during July 4 evening.
Click the logo for more info!
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Falcon: Double buffering using
Posted by: evil May,20.2020-14:25 

I don't have experience with Xbios in this regard, but the same problem can be seen when writing to hardware registers as well.

Eg,

mainloop:
vsync
render_stuff
swap_buffers
set_screenpointer

bra mainloop


It looks fine 999 frames out of 1000, but then there's the one which glitches.

The solution was to do set_screenpointer very early on VBL, not mainloop.

I don't know how the Xbios setscreen code works regarding vsync or how early on VBL the Xbios vsync-call returns.

--
Anders Eriksson
ae@dhs.nu








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Falcon: Double buffering using joska May,20.2020-13:09
  Re: Falcon: Double buffering using joska May,20.2020-13:09
  Re: Falcon: Double buffering using evil May,20.2020-14:25
    Re: Falcon: Double buffering using joska May,20.2020-14:47
      Re: Falcon: Double buffering using evil May,20.2020-15:50
        Re: Falcon: Double buffering using tat May,20.2020-18:02
          Re: Falcon: Double buffering using evil May,21.2020-13:15
    Re: Falcon: Double buffering using joska May,24.2020-16:34
      Re: Falcon: Double buffering using mikro May,25.2020-08:33
        Re: Falcon: Double buffering using joska May,26.2020-10:30
        Re: Falcon: Double buffering using joska May,26.2020-21:28


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2020 Dead Hackers Society Contact: Anders Eriksson