From: Qwerty <alexanderdupont@yahoo.com>
Subject: Re: IO-PORTS
Date: Mon, 13 May 2002 20:06:56 +0200
Date: 2002-05-13T20:06:56+02:00 [thread overview]
Message-ID: <3CE000C0.4020602@yahoo.com> (raw)
In-Reply-To: u4rhcouz6.fsf@gsfc.nasa.gov
I'm using DOS & Linux (it is not possible in windows to do that
directly, as you 've said). It's not ok to use a package, I really have
to do it myself. But thanks anyway for the help.
Alexander
Stephen Leake wrote:
> Qwerty <alexanderdupont@yahoo.com> writes:
>
>
>>Hi,
>>
>>I have to make an ADA-program for school. The program requires to
>>connect 2 computers and to let them communicate through the COM1-port.
>>
>>How do you read/write from/to the COM1-port. It must be programmed on
>>a low level. So we have to read/write directly from/to the IOports
>>with adresses 16#03F8# to 16#03FD#.
>>
>>How do you do that in Ada ?
>
>
> What operating system are you using? Since you say "COM1", it's
> probably either DOS or Windows.
>
> If DOS, I have no idea. If Windows, you can use my com ports package,
> assuming it's ok for you to reuse stuff off the net:
>
> http://users.erols.com/leakstan/Stephe/Ada/win32_com_ports.zip
>
> But this does not "write directly to the IO port". You can't do that
> in Windows!
>
next prev parent reply other threads:[~2002-05-13 18:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-13 14:15 IO-PORTS Qwerty
2002-05-13 14:21 ` IO-PORTS Preben Randhol
2002-05-13 14:31 ` IO-PORTS Qwerty
2002-05-13 16:47 ` IO-PORTS Stephen Leake
2002-05-13 18:06 ` Qwerty [this message]
2002-05-13 18:37 ` IO-PORTS Sergey Koshcheyev
2002-05-13 19:18 ` IO-PORTS Michal Nowak
2002-05-13 19:27 ` IO-PORTS Jeffrey Carter
2002-05-13 18:14 ` IO-PORTS Darren New
2002-05-13 18:16 ` IO-PORTS tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox