From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4579 invoked from network); 23 Dec 1998 20:46:59 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Dec 1998 20:46:59 -0000 Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA08032 for ; Wed, 23 Dec 1998 15:34:12 -0500 Received: from [158.152.220.239] (helo=kings-cross.london.uk.eu.org) by post.mail.demon.net with esmtp (Exim 2.10 #2) id 0zsuyq-0000B6-00; Wed, 23 Dec 1998 20:34:06 +0000 Received: from [::ffff:127.0.0.1] (helo=kings-cross.london.uk.eu.org ident=phil) by kings-cross.london.uk.eu.org with esmtp (Exim 2.05 #1) id 0zsurl-0001gM-00; Wed, 23 Dec 1998 20:26:45 +0000 X-Mailer: exmh version 2.0.2 2/24/98 (debian) To: axp-list@redhat.com cc: Tad Grosvenor Subject: Re: compiling problem for monitoring program (uses parallel port) In-reply-to: Your message of "Wed, 23 Dec 1998 12:53:48 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Dec 1998 20:26:44 +0100 From: Philip Blundell Message-Id: >Nope. The problem is that it uses assembler to grab the parallel port >status (assumption: the compile bombs because of asm directives). > >Anyhow, it'll take someone with experience in Alpha assembler to get >this one ported; which just put the whole thing out of my grasp. If it just uses inb and outb instructions then the thing to do is to convert it to use and the corresponding C functions (of the same name...) - that will work on Alpha and probably most other platforms too. For 2.1 kernels there is also a driver available to let you poke at the parallel port from user space without having to know the details of the hardware. p.