Flashing images

Hi

1)I want to displayed about 100 pcx images as faster as possible.
I’m using a G400 matrox graphics card. and win98:-(
The video flags are
SDL_SetVideoMode(1024,768,32,SDL_HWSURFACE|SDL_FULLSCREEN|SDL_DOUBLEBUF)

and a SDL_Flip() to avoid flickering.

when coding this :

starttimer;
SDL_BlitSurface(img,screen));
SDL_Flip(screen);
endtimer;
I’ve got 13 ms per image ;this is the vrefresh of the screen 75 HZ.It seems
ok.

but when i’m coding that

starttimer;
SDL_BlitSurface(img,screen));
SDL_Flip(screen);
endtimer;
SDL_FillRect(screen,NULL,back);
now the speed is 3.2 ms.
I can’t explain this.

  1. I’m loading 100 images of 100ko in a tab of img (SDL_surface *img[100])
    are the images loading in video memory or system memory(with the same video
    flags that above).

Thanks for you help