From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: IO-PORTS
Date: 13 May 2002 12:47:41 -0400
Date: 2002-05-13T16:54:21+00:00 [thread overview]
Message-ID: <u4rhcouz6.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3CDFCA77.706@yahoo.com
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!
--
-- Stephe
next prev parent reply other threads:[~2002-05-13 16:47 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 ` Stephen Leake [this message]
2002-05-13 18:06 ` IO-PORTS Qwerty
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