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

Atari coding BBS
 
Re: Clear 1 bpl fast?
Posted by: ggn Sep,12.2009-23:02 

Per,

If you're after a generic routine that does "take a block from coords x,y with w,h and copy it to another screen at x1,y1", I fully recommend using the routine that is on the blitter manual. I don't think you can get much faster than that.

Or, at the very least, use this routine to see how blitter variables are set up if you don't want to waste too many cpu cycles.

Finally, always keep in mind that source x/y, destination x/y, x count, endmask1/2/3,hop, op, skew and halftone registers once initialized, don't need to be initialised again. So (like atari's example), you only need to load y count, source and destination address for stuff like bitplane copying.

(and yes, using the blitter in share mode if you're doing anything with timers is recommended!).







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

Topic Posted by  Date 
Clear 1 bpl fast? Per Almered (XiA) Sep,12.2009-13:05
  Re: Clear 1 bpl fast? frank_c_b Sep,12.2009-14:31
  Re: Clear 1 bpl fast? RA/pdx Sep,12.2009-15:38
  Re: Clear 1 bpl fast? evil Sep,12.2009-18:07
    Re: Clear 1 bpl fast? Per Almered (XiA) Sep,12.2009-21:53
      Re: Clear 1 bpl fast? Per Almered (XiA) Sep,12.2009-22:13
        Re: Clear 1 bpl fast? Frank_c_b Sep,12.2009-22:37
          Re: Clear 1 bpl fast? Per Almered (XiA) Sep,12.2009-22:43
          Re: Clear 1 bpl fast? frank_c_b Sep,12.2009-22:47
            Re: Clear 1 bpl fast? Per Almered (XiA) Sep,12.2009-22:56
              Re: Clear 1 bpl fast? frank_c_b Sep,12.2009-23:06
                Re: Clear 1 bpl fast? Frank_c_b Sep,12.2009-23:12
      Re: Clear 1 bpl fast? ggn Sep,12.2009-23:02
        Re: Clear 1 bpl fast? Bod Sep,13.2009-20:23
        Re: Clear 1 bpl fast? Per Almered (XiA) Sep,14.2009-21:11


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