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