Mail Archives: djgpp/1999/01/28/11:51:00
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 <lee AT n99 DOT com>
--------------------------------
- Raw text -