delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/28/12:26:52

Date: Thu, 28 Jan 1999 19:25:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Lee Marzke <tallyho AT voicenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP and IO Port Programming.
In-Reply-To: <36B0942A.37EFFDB1@voicenet.com>
Message-ID: <Pine.SUN.3.91.990128192308.10871C-100000@is>
MIME-Version: 1.0
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019