Date: Sun, 23 Nov 1997 15:17:15 +0200 (IST) From: Eli Zaretskii To: Fabrice ILPONSE cc: djgpp users group Subject: Re: DJGPP too slow! In-Reply-To: <34755A66.1845@trash.lip6.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 21 Nov 1997, Fabrice ILPONSE wrote: > - switch to video mode 320x200x256 > - loop > - change color 0 to red > - BLIT > - change color 0 to black > - wait retical retrace > > I've got a 486 DX2 66. > > Results: > - BC 16 bits red takes 40% of screen height > - BC 32 bits 45 - 50% > - DJGPP 90 - 95% Sorry, these numbers are meaningless for me. Please post the program (I hope it's not too large) and the gcc command line used to compile and link it. Without that, I cannot even understand what does ``red takes 40% of screen height'' mean, let alone judge the differences (why is 95% worse than 45%?). Testing on different hardware and software configurations would also make the data more reliable (e.g., it could be a bug in your video adapter). > Protected mode perhaps! Protected mode should have no impact on accessing a given address. Such accesses don't require a mode switch (unless you run under something other than plain DOS, in which case please describe your platform).