Fermer2
azeLe 11/11/2004 à 18:55
I would like to use idle in a grayscale game
there is a loop in my code which waits for the AI1 to trigger in order to synchronize every frame (i think this loop takes 50% of each frame's time)
I tried this :

while(AI1_Counter < 5)
idle();
AI1_counter = 0;


But as it's writtem in tigcc help, it interfers with the grayscales until I press a key
After that, it works fine

Is there a way to prevent idle from interfering with graycales ?
or do you have any idea to reduce the power consumption in this loop ?