Article View: rec.games.programmer
Article #1569Re: VGA
From: 00rbspelman
Date: Tue, 17 Nov 1992 17:16
Date: Tue, 17 Nov 1992 17:16
24 lines
1120 bytes
1120 bytes
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
Technical Details
Message-ID:
<1992Nov17.121643.12000@bsu-ucs>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!news.nd.edu!bsu-cs!bsu-ucs.uucp!00rbspelmanReferences:
<8715@dirac.physics.purdue.edu> <1992Nov14.142027.3539W@skylark.edb.tih.no>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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