[comp.sys.amiga.tech] double-buffering

pa2027@sdcc13.ucsd.edu (Knight 'o Shadows) (05/08/90)

Okay, I was finally successful at getting double-buffering to work
while remaining friendly with Intuition, but sheesh! it's slow!!!
I mean, using my '030 no sweat, but in 68000 mode it's really bad.
Here's my code:

(I have an array of 2 bitmaps)

void do_flip()
{
struct BitMap *BitMapt;

BitMapt=&bm_main[dbuff];
ms_p->BitMap=*BitMapt;
MakeScreen(ms_p);
RethinkDisplay90;
dbuff ^= 1;
}

(oops, the 90 is a ()).

anyway, there's gotta be a faster way, right?
MakeScreen and RethinkDisplay are just too slow.  

Would some Amiga wizard please send me some Lattice code (e-mail)??
   thanks in Advance!
        -Brad


--
Michael Butler - "Water, water everywhere nor any drop to drink"-
S.T. Coleridge and Iron Maiden////   Brad McQuaid - When reality
obscures your dreams, mind becomes a graveyard of memories, that
wander like the lonely breeze... -Fates Warning, No Exit