delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/15/12:20:53

Date: Wed, 15 Mar 2000 19:47:24 +0500
Message-Id: <200003151447.TAA00900@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: djgpp AT delorie DOT com
CC: vincent AT physique DOT ens DOT fr
In-reply-to: <200003150229.HAA01143@midpec.com> (message from Prashant TR on
Wed, 15 Mar 2000 07:29:15 +0500)
Subject: Re: how to port outw_p from linux ?
References: <00031416252308 DOT 00468 AT isnogood DOT lps DOT ens DOT fr> <200003150229 DOT HAA01143 AT midpec DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I wrote:

> Use this macro at the beginning of your program (or put this in some header
> file).
> 
> #define outw_p(VALUE, PORT) outportb(PORT, VALUE);

Sorry! But there's a small typo. It should have been

#define outw_p(VALUE, PORT) outportw(PORT, VALUE)

Sorry about the confusion.

- Raw text -


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