From owner-freebsd-alpha Wed May 5 16:48:27 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 596121592A for ; Wed, 5 May 1999 16:48:15 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id AAA03843; Thu, 6 May 1999 00:48:13 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Thu, 6 May 1999 00:48:13 +0100 (BST) From: Doug Rabson To: Mark Turpin Cc: Alpha Mailing list Subject: Re: Low level parallel I/O? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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