Date: Tue, 4 Mar 1997 13:38:30 +0200 (IST) From: Eli Zaretskii To: Matt Delaney cc: djgpp AT delorie DOT com Subject: Re: gcc hardware I/O on NT In-Reply-To: <9703031307.AA24044@bermuda.ucd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.