Re: vga_copytoplanar256

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Wed 09 Aug 2000 - 10:39:21 IDT


On Tue, 8 Aug 2000, caustik wrote:

> Why doesnt this work..? I desperately need a linear blit to a
> modeX[320x240x256]... If you have ANY example source that uses
> vga_copytoplanar256, it would be greatly appreciated..thanks

vpitch (the fourth parameter to vga_copytoplanar256) should be 80 not
320. Since the memory is in four planes mode, each scanline is 80 bytes
long.

-- 
Matan Ziv-Av.                         matan@svgalib.org


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST