Mail Archives: djgpp/1997/04/07/00:38:00
I'm trying to get fast vbe 2.0 (with linear frame buffer) graphics
at 640x480x256 yet am having some difficulties.
I'm drawing the images to a video buffer (video[640*480]) and then
try to display with
for(int i=0; i < 307200; i+=4)
{
temp = ((unsigned long)(video[i])) << 24\
+ ((unsigned long) (video[i+1])) << 16\
+ ((unsigned long) (video[i+2])) << 8\
+ ((unsigned long) (video[i+3]));
_farnspokel(i, temp);
}
where temp is a unsigned long and I've already done a
_farsetsel(my_video_ds) but I'm not having much success.
I know univbe can do about 60 fps on my system at 640x480x356 but
it uses multiple pages. Does anyone know how to use multiple pages or
why codellet doesn't work as I want it to?
Thanks in advance,
Timothy Robb
Serving humanity since 1978.
- Raw text -