comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Port LPT + ADA
Date: Fri, 03 Dec 2004 19:46:33 +0100
Date: 2004-12-03T19:46:33+01:00	[thread overview]
Message-ID: <551066464.AAGDQaJrbF@linux1.krischik.com> (raw)
In-Reply-To: coq0ph$q7r$1@kujawiak.man.lodz.pl

Slawo - MIR wrote:

>> type Byte is mod 256;
>> Port : Byte;
>> for Port'Address use 16#379#;

> Yes, but how to tie this whit function ReadFile( ) ??

You said you wanted to access a particular memory address and that is the
answer to it.

However, I am wondering if you don't need device driver to access a
particular memory location.

In fact: is the LPT port not output only and any input from it need to be
done by a specialized device driver?

If you have some C example we can convert it into Ada - that should not be a
problem.

Apart from that this might not be an Ada problem as such but a Operating
System.

With Regards

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



  reply	other threads:[~2004-12-03 18:46 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 [this message]
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
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