Mail Archives: djgpp/1997/07/05/05:32:49
In article <01bc863f$7681a200$LocalHost AT default>,
"Willy Gardiol" <gardiol AT iol DOT it> 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.
- Raw text -