Mail Archives: djgpp/1997/07/02/04:07:29
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.
- Raw text -