Re: [hatari-devel] Videl / VBL interrupt issue in Hatari? |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Le 20/01/2014 13:11, Mariusz Buras a écrit :
Well, for instance, if your VBL routine would take almost entire frame to execute on real falcon, on Hatari it could be more then one frame to do the same task, so they would overlap.
AFAIK, BM doesn't run in 1 VBL on falcon anyway, more like 2 or 3 VBL per frame.
So this problem should already be taken into account, else it would not work as soon as the 1st seconds of game. Usually, when program doesn't run in 1 VBL, you will use a short VBL code that mostly only set a VBL counter + a few others things that really need to be real time (sound, music, ...), and then the main program (outside of the VBL) waits for the counter to change before working on the next frame.
Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |