Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <philb@gnu.org>
To: axp-list@redhat.com
Cc: Tad Grosvenor <tad@shortbus.luddite.net>
Subject: Re: compiling problem for monitoring program (uses parallel port)
Date: Wed, 23 Dec 1998 20:26:44 +0100	[thread overview]
Message-ID: <E0zsurl-0001gM-00@kings-cross.london.uk.eu.org> (raw)
In-Reply-To: Your message of "Wed, 23 Dec 1998 12:53:48 EST." <Pine.LNX.3.96.981223125107.30063A-100000@albert>

>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 <sys/io.h> 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.




      reply	other threads:[~1998-12-23 20:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-23 16:02 compiling problem for monitoring program (uses parallel port) Tad Grosvenor
1998-12-23 16:05 ` Dave Beck
1998-12-23 17:53 ` mgraffam
1998-12-23 19:26   ` Philip Blundell [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox