From: "Willy Gardiol" Newsgroups: comp.os.msdos.djgpp Subject: help! asm and djgpp Date: 1 Jul 1997 18:37:15 GMT Organization: Italia Online Lines: 26 Message-ID: <01bc863f$7681a200$LocalHost@default> NNTP-Posting-Host: 195.45.8.156 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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] ); 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? Should i use asm? but how to access to that addres? I tried to use directly that addres with a pointer, but it crashes! Or should i use some specials svga-vesa functions (dont know which)? Thank you for your help, please answer me also via mail, because i do not often check news groups. Thanx Willy Gardiol gardiol AT iol DOT it