home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / rec / games / programm / 4722 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!news.nd.edu!bsu-cs!bsu-ucs.uucp!00rbspelman
  2. From: 00rbspelman@leo.bsuvc.bsu.edu
  3. Newsgroups: rec.games.programmer
  4. Subject: Re: VGA
  5. Message-ID: <1992Nov17.121643.12000@bsu-ucs>
  6. Date: 17 Nov 92 17:16:43 GMT
  7. References: <8715@dirac.physics.purdue.edu> <1992Nov14.142027.3539W@skylark.edb.tih.no>
  8. Organization: Ball State University, Muncie, In - Univ. Computing Svc's
  9. Lines: 24
  10.  
  11. In article <1992Nov14.142027.3539W@skylark.edb.tih.no>, thomash@edb.tih.no (Thomas Hagen,o91b) writes:
  12. > In article <8715@dirac.physics.purdue.edu>, saxena@bohr.physics.purdue.edu 
  13. >   (Virendra K. Saxena) writes:
  14. >>    Ok, I've got the code for placing a bitmap on screen in mode 13h. 
  15. >>    How do I wait for vertical retrace?
  16. > In Borland C, you could do the following:
  17. >   #include <dos.h>
  18. >   ....
  19. >   void wait_for_retrace(void){
  20. >     while (!(inportb(0x3da)&8));
  21. >   }
  22. >   Thomas Hagen
  23. >  
  24. > thomash@edb.tih.no
  25. >     
  26.     Can the same thing be done with QuickBasic or VisualBasic?
  27.  
  28. Robert B. Spelman
  29. 00RBSPELMAN@LEO.BSUVC.BSU.EDU
  30.