Date: Thu, 28 Jan 1999 19:25:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Lee Marzke cc: djgpp AT delorie DOT com Subject: Re: DJGPP and IO Port Programming. In-Reply-To: <36B0942A.37EFFDB1@voicenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Thu, 28 Jan 1999, Lee Marzke wrote: > I just found the pc.h library which has the functions > > inportb, inportw, inportl, inportsb, inportsl, inp, inpw > > and similiar for the output functions. Are these the correct > functions to use ? What is the difference between > inportb and inpb, which have the same parameters ? It seems you are ignoring the library reference (libc.info). This is all explained there. In particular, it says that inb calls inportb, and is provided for portability only. Use the docs, a lot of effort was put into it.