From: Bj�rn Lundin <bjorn.lundin@swipnet.se>
Subject: Writing to I/O ports in Linux
Date: Fri, 15 Mar 2002 19:04:27 +0100
Date: 2002-03-15T19:04:27+01:00 [thread overview]
Message-ID: <20020315190427.6d02445b.bjorn.lundin@swipnet.se> (raw)
Hi!
I've written a package that gets input from the gameport of a PC
running Linux. To get information from the port I use the 'inb' function
i C. But I don't like to interface with C.
Is there an alternative in Ada to read from ports?
I looked in the RM and Annex C 1.11.5 (Implementaion advice) states
Examples of such instructions include:
.
.
.
Direct operations on I/O ports.
I wonder if this is implemented in Gnat 3.13p?
regards,
/Bj�rn
next reply other threads:[~2002-03-15 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-15 18:04 Bj�rn Lundin [this message]
2002-03-15 19:23 ` Writing to I/O ports in Linux Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox