delorie.com/archives/browse.cgi | search |
From: | "0/0" <nsousbpoanmer AT naooslp DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: wait for vertical retrace |
Date: | 4 Jun 1999 21:49:00 GMT |
Organization: | Value Net Internetwork Services Inc. |
Lines: | 25 |
Message-ID: | <01beaed3$de0737a0$fc4484ce@sub> |
References: | <7j95e8$ajm$1 AT fe1 DOT cs DOT interbusiness DOT it> <37582c32 DOT 0 AT news DOT uni-bielefeld DOT de> |
NNTP-Posting-Host: | fgna-252.value.net |
X-Newsreader: | Microsoft Internet News 4.70.1162 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Manni Heumann <manfred DOT heumann AT uni-bielefeld DOT de> wrote in article <37582c32 DOT 0 AT news DOT uni-bielefeld DOT de>... > "Bonifati" <abonifati AT telsa DOT it> wrote: > >i copied this code to wait for the vertical retrace from a book: > > > >void Wait_Vertical_Retrace (void) > >{ > > while ( (inp (0x3da) && 0x8) != 0 ) {}; > > while ( (inp (0x3da) && 0x8) == 0 ) {}; > >} > > > >my program works without waiting for vertical retrace; when i include it, it > >fails on run-time (i think it goes in infinite loop into > >Wait_Vertical_Retrace function). > >i can't figure out what's wrong with this function. please help me! > > > > Are you sure you meant "&&" and not "&" ? > I agree if that is how it is, change it to just one &...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |