Sender: lhm AT huey DOT voicenet DOT com Message-ID: <36B0942A.37EFFDB1@voicenet.com> Date: Thu, 28 Jan 1999 11:45:30 -0500 From: Lee Marzke X-Mailer: Mozilla 4.04C-Caldera [en] (X11; I; Linux 2.0.33 i686) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: DJGPP and IO Port Programming. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Wed, 27 Jan 1999, Lee Marzke wrote: > > > If this needs to run in a dos BOX in Windows, can you do this with > > DJGPP ? > > I know talking directly to hardware is supposed to be a problem in > > Windows environments. > > You didn't tell which version of Windows is that. Windows 3.X and 9X > allow access to ports, while Windows/NT doesn't. I am using Win95. 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 ? Thanks, -- -------------------------------- Lee Marzke --------------------------------