| delorie.com/archives/browse.cgi | search |
| 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: | <bWLoegW7sFse-pn2-iuli5Rxd4EUT AT portF03 DOT Generation DOT NET> <6ld6hl$bk0 AT dfw-ixnews4 DOT ix DOT netcom DOT com> <bWLoegW7sFse-pn2-8PpEYeQWERrR AT portD35 DOT Generation DOT NET> |
| NNTP-Posting-Host: | kou67.pp.dlc.fi |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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" <spam AT somebody DOT else>
>wrote:
>
>> #include <pc.h>
>>
>> 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 -
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |