From: jromano AT teton DOT Mines DOT EDU (Jean-Luc Romano) Newsgroups: comp.os.msdos.djgpp Subject: Polling busy video memory Date: 7 Feb 1998 19:15:20 GMT Organization: Colorado School of Mines Lines: 24 Message-ID: <6bibs8$l0i$1@herald.Mines.EDU> NNTP-Posting-Host: teton.mines.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi... I have another question for all you yet: Does there a function in DJGPP or Allegro that returns whether the video memory is busy or not? Something along the lines of: if ( is_video_memory_busy() ) printf("Still writing to video memory.\n"); else printf("Video memory is available for use.\n"); I figure something like this would be useful in writing the screen buffer to the screen only when the screen is available, so the program doesn't have to halt until it can blit the video buffer again (if that made any sense). Thanks. Jean-Luc Romano