From: yorka AT dlc DOT fi (aYk) Newsgroups: comp.os.msdos.djgpp Subject: Re: AT&T assembler Date: Mon, 08 Jun 1998 09:55:45 GMT Organization: Majik Lines: 20 Message-ID: <357bb477.2127675@news.dlc.fi> References: <6ld6hl$bk0 AT dfw-ixnews4 DOT ix DOT netcom DOT com> NNTP-Posting-Host: kou67.pp.dlc.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 7 Jun 1998 23:39:15 GMT, sl AT psycode DOT com DOT NOSPAM (Gili) wrote: >On Sun, 7 Jun 1998 04:56:54, "Matthew Conte" >wrote: > >> #include >> >> static void WaitVBlank(void) >> { >> while (inp(0x3DA)&0x08); >> while (!(inp(0x3DA)&0x08)); >> } > > How about inport().. Is that the same? > You mean inportb(). You have to specify the transfer size. And you need to include dos.h instead of pc.h if I remember correctly. - aYk -