From: "23yrold3yrold" Newsgroups: comp.os.msdos.djgpp References: <395e61e0_2 AT spamkiller DOT newsfeeds DOT com> <395fcb12_1 AT spamkiller DOT newsfeeds DOT com> <39622a8e DOT 1248934 AT news DOT wins DOT uva DOT nl> <39626821_2 AT spamkiller DOT newsfeeds DOT com> <39635adf DOT 1264089 AT news DOT wins DOT uva DOT nl> <3963b310_1 AT spamkiller DOT newsfeeds DOT com> <39648ccb DOT 16302165 AT news DOT wins DOT uva DOT nl> Subject: Re: Using (page-flipping) to speed up a program Date: Thu, 6 Jul 2000 08:51:29 -0500 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 64.4.88.181 Message-ID: <39650011_4@spamkiller.newsfeeds.com> X-Trace: 6 Jul 2000 16:54:25 -0500, 64.4.88.181 X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Evert Glebbeek" wrote in message news:39648ccb DOT 16302165 AT news DOT wins DOT uva DOT nl... > Newsgroup: comp.os.msdos.djgpp > From: "23yrold3yrold" > On Wed, 5 Jul 2000 09:13:23 -0500 > >I played with the example program for triple-buffering that came with > >Allegro; I can AUTODETECT in 640 x 480, and although it does tri-buf, it > >won't display my sprites properly (they look like a huge mess of random > >pixels). I'll keep trying to get that or page-flipping to work. > That's strange. Does it do things like rect_fill() properly? Circle_fill() is what the program is set to do, and does OK. Originally the code is Mode-X in 320 x 240, but I successfully got it to work Autodetecting in 640 x 480 (circle_fill() and all). Funny that the sprite is so screwy because the code I use for blitting is exactly the same as the code I have in my rough game code (which works fine). Also, i found that info program but it doesn't seem to have anything in it about checking to see if triple-buffering or page-flipping will work on my computer. I can't get either to work reliably so I guess I'm stuck double-buffering for now. If you still would send a skeleton code for either (you mentioned it a few posts back) it might help my solve this, if not I'll just double buff ( I don't know how much trouble it would be for you.)