delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/06:55:33

Date: Tue, 4 Mar 1997 13:38:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Matt Delaney <mdelaney AT bermuda DOT ucd DOT ie>
cc: djgpp AT delorie DOT com
Subject: Re: gcc hardware I/O on NT
In-Reply-To: <9703031307.AA24044@bermuda.ucd.ie>
Message-ID: <Pine.SUN.3.91.970304133606.12059K-100000@is>
MIME-Version: 1.0

On Mon, 3 Mar 1997, Matt Delaney wrote:

> In the past I have done a little hardware programming with DJGPP's gcc v1.0
> on win95 platform. I have just installed NT and am having some problems
> doing the same stuff. Mainly, I want to read/write (using inportw/outportw)
> to an I/O port containing a simple data acquistion board. I find that in NT
> all read bits are hi. The gcc code compiles OK on both NT/Win95 and runs
> fine in win95. Can any body help?

NT doesn't like applications which write directly to I/O ports.  This is 
explained in the DJGPP FAQ list (v2/faq210b.zip from the same place you 
get DJGPP), section 3.3.

- Raw text -


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