Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Falcon: Double buffering using
Posted by: joska May,20.2020-13:09 

Hi,

I'm working on a little game project for the Falcon and have a small problem with the screen swapping. The game is running in 320x240 8-bit-mode.

For each game frame I do this:

VsetScreen(-1, logical, -1, -1);
t = physical; physical = logical; logical = t;
Vsync();

This works almost perfectly, but occasionally there are some glitches. Sometimes the screen will jump briefly, mostly vertically. Happens on 030, 040 and 060. On real hardware only, not in Hatari. Any idea why? What can cause the screen to shift vertically for a single frame?

I had the impression that the video address set by VsetMode is set by TOS during the next VBL interrupt, is that correct?







[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-2021 Dead Hackers Society Contact: Anders Eriksson