17Fermer19
yaouankLe 05/08/2004 à 17:24
r043v :
on peut faire un bench rapide comme ca :

char buffer[0x2A] ;
ulong start, stop ;

while(1)
{
	flipScreen() ; clrScr() ;
	start = GpTickCountGet() ;
	// blit 1000 sprites
	stop  = GpTickCountGet() ;
	
	sprintf(buffer,"time %i",stop-start) ;
	GpTextOut(NULL, &gpDraw[nflip],10,10,buffer,0xB3);
};

Ca a finalement ete fait a cote
topics/44897-mon-affichage-de-sprite-a-moi-asm (post ./15)