Date: Thu, 6 May 1999 00:48:13 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Mark Turpin <mturpin@saturn.spel.com> Cc: Alpha Mailing list <alpha@freebsd.org> Subject: Re: Low level parallel I/O? Message-ID: <Pine.BSF.4.05.9905060045420.411-100000@herring.nlsystems.com> In-Reply-To: <Pine.BSF.4.05.9905051923090.6677-100000@saturn.spel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 May 1999, Mark Turpin wrote: > > Does anyone know how to find the IO address of the parallel port on a > multia? > > Also is it possible, on an alpha, to do > > outb(0x378, 0xFF); > ^^^^^----- Or whatever address > > to set the parallel port data lines high? It should be in the normal place (i.e. 0x378). You can use inx/outx in both kernel and user programs. For user programs, you have to use the libio library. Use the ioperm() function to enable access to the required ports and then inx/outx to access the port. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905060045420.411-100000>