Date: Wed, 2 Jul 1997 11:06:41 +0300 (IDT) From: Eli Zaretskii To: Willy Gardiol cc: djgpp AT delorie DOT com Subject: Re: help! asm and djgpp In-Reply-To: <01bc863f$7681a200$LocalHost@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 1 Jul 1997, Willy Gardiol wrote: > This is my way: > for ( x = a; x < b; x++) > for (y = c ; y < d; y++) > _farnspokeb( SVGA_ADDR + y*640 + x , virtual_screen[x][y] ); > > How can i copy in a QUICK way a block of bytes from a memory addres to the > addres of the svga's frame buffer? Why not look in the FAQ? The DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) explains how to do this in section 18.4. The `farptr' functions are only good for moving a few bytes.