From: martin DOT kahlert AT keksy DOT mchp DOT siemens DOT de (Martin Kahlert) Newsgroups: comp.os.msdos.djgpp Subject: Re: help! asm and djgpp Date: 3 Jul 1997 14:16:45 GMT Organization: Siemens Inc. Lines: 18 Message-ID: <5pgc8d$jkk$1@salomon.mchp.siemens.de> References: <01bc863f$7681a200$LocalHost AT default> Reply-To: Martin DOT Kahlert AT mchp DOT siemens DOT de NNTP-Posting-Host: keksy.mchp.siemens.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <01bc863f$7681a200$LocalHost AT default>, "Willy Gardiol" writes: > Hi! > I am new with djgpp. I started using it to access VESA 2.0 linear frame > buffer addres. > I use the > _farnspokeb( svga_addres + y*640 + x, byte_color); > > but is SLOW when i need to copy for example a square > of 100*100 pixels from a virtual screen to the svga. > > 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] ); look at http://www.hardlink.com/~utopium (The DJGPP Book Project) Martin.