Subject: Re: access to parallel port
To: Hanspeter Roth <hampi@rootshell.be>
From: Jean-Edouard BABIN <listes@jeb.com.fr>
List: port-i386
Date: 03/15/2004 01:36:26
Hello,

To write just read 'oub() call' thread of 6-7 march

Something like this write data

void main(int argc,char const *argv[]) {
        int fHndl;
        fHndl =3D i386_iopl(1);
        outb(0x378,atoi(argv[1]));
}

You should add check & co :)


on 15/03/04 1:44, =AB=A0Hanspeter Roth=A0=BB <hampi@rootshell.be> wrote:

> hello,
>=20
> can one access the parallel port in a C-program?
> I'd like to write the data-bits and read the strobe bit.
> Is there docu and/or examples?
>=20
> -Hanspeter
>=20

--=20
Jean-Edouard BABIN
Mail: Jeb@jeb.com.fr
Web : www.Jeb.com.fr
IRC : Jeb @ Undernet