Date: Tue, 12 Nov 1996 08:46:50 +0200 (IST) From: Eli Zaretskii To: "J. Erickson" Cc: djgpp AT delorie DOT com Subject: Re: Mode 13h graphics routines In-Reply-To: <3287FE60.2D96@menahga.polaristel.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 11 Nov 1996, J. Erickson wrote: > memcpy function and it too is seemingly pretty fast. But I am hoping to > get some advice on learning how to write a putpixel routine that is > faster than the nearptr hacks and how to write a blitting routine that > doesn't rely on memcpy but is as fast or faster. I'm a little familiar > with the AT&T assembly code format but I haven't really written If you turn on the optimizations (-O2 or -O3 switch to gcc), `memcpy' should be expanded into inline assembly which is about as fast as you can get anyway.