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

Atari coding BBS
 
Re: VBL Interrupt delay
Posted by: evil Oct,10.2012-20:59 

If your blitter pass does not end before the vbl ends, it will continue over and delay the next vbl interrupt. The same thing with HBL and MFP interrupts too. Once fired up, the blitter is a beast and won't stop before the pass is over, and everything else will have to stay patient and wait for bus access.

That's why there is a shared mode, with 256 cpu/blitter cycles in pair. In case the cpu doesn't have anything to do, it can fire up the blitter immediately instead of waiting the 256 cycles. Blitter passes becomes a bit slower (say 10% or so) but at least the cpu gets a chance to run interupt-code.

But I belive we went over this before? See old thread with example code

--
Anders Eriksson
ae@dhs.nu








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

Topic Posted by  Date 
VBL Interrupt delay Bod/STAX Oct,10.2012-19:40
  Re: VBL Interrupt delay evil Oct,10.2012-20:59
    Re: VBL Interrupt delay Bod/STAX Oct,10.2012-21:29


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