www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/07/23:45:47

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019