Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!sdcc6!sdcc13!pa2027 From: pa2027@sdcc13.ucsd.edu (Knight 'o Shadows) Newsgroups: comp.sys.amiga.tech Subject: double-buffering Message-ID: <10288@sdcc6.ucsd.edu> Date: 8 May 90 08:01:58 GMT Sender: news@sdcc6.ucsd.edu Lines: 35 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