From: Jerry van Dijk <jerry@jvdsys.demon.nl>
Subject: Re: Port LPT + ADA (whta do I wrong?)
Date: 09 Dec 2004 09:17:09 +0100
Date: 2004-12-09T09:17:09+01:00 [thread overview]
Message-ID: <uk6rrc2d6.fsf@jvdsys.demon.nl> (raw)
In-Reply-To: rt8dr09tuvgbqaeq9vmujd1pqtb72hbamv@4ax.com
Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:
> On Tue, 7 Dec 2004 19:13:52 +0100, "Slawo - MIR"
> <mszajac@poczta.onet.pl> declaimed the following in comp.lang.ada:
>
> I don't know enough about the arguments you are using, but...
>
> > I try to assingn to variable (field of record) "struktura.Offset" and to
> > "struktura.OffsetHigh" some different values - 16#379# (address of input
> > register), 16#01#... and it didn't work :(
> >
> ...If you mean for 16#379# to be the physical I/O address for a
> parallel port, I suspect it isn't going to work at all.
The problem is not only that the the addresses in question are I/O addresses
instead of memory addresses, but also that NT, W2K and XP do not allow a
user-lever program to access them.
The easiest solution to this program is to use one of the the generic I/O port
device drivers, for example see:
http://www.beyondlogic.org/porttalk/porttalk.htm
succes,
Jerry.
--
-- Jerry van Dijk
-- Leiden, Holland
--
-- 'Tradition is not the worship of ashes, but the preservation of fire.'
-- Gustav Mahler (1860-1911)
next prev parent reply other threads:[~2004-12-09 8:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-03 13:56 Port LPT + ADA S�awo - MIR
2004-12-03 14:40 ` Martin Krischik
2004-12-03 15:29 ` Slawo - MIR
2004-12-03 18:46 ` Martin Krischik
2004-12-03 18:43 ` tmoran
[not found] ` <u111r0db4fsoj9u3hlkachspjt0r2vvup7@4ax.com>
2004-12-03 23:03 ` Adrien Plisson
2004-12-03 23:51 ` Slawo - MIR
2004-12-04 0:51 ` Jeffrey Carter
2004-12-04 18:05 ` Port LPT + ADA (whta do I wrong?) S�awo - MIR
2004-12-04 20:20 ` Dmitry A. Kazakov
2004-12-07 18:13 ` Slawo - MIR
2004-12-07 20:55 ` Dmitry A. Kazakov
2004-12-08 4:28 ` Steve
2004-12-08 8:27 ` Dmitry A. Kazakov
2004-12-12 22:25 ` Brian May
2004-12-14 2:41 ` Steve
2004-12-12 22:46 ` Brian May
2004-12-12 23:03 ` Adrien Plisson
[not found] ` <rt8dr09tuvgbqaeq9vmujd1pqtb72hbamv@4ax.com>
2004-12-09 8:17 ` Jerry van Dijk [this message]
2004-12-05 6:45 ` Brian May
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox