comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: IO-PORTS
Date: Mon, 13 May 2002 19:27:36 GMT
Date: 2002-05-13T19:27:36+00:00	[thread overview]
Message-ID: <3CE013A1.3E896C4@acm.org> (raw)
In-Reply-To: 3CE000C0.4020602@yahoo.com

Qwerty wrote:
> 
> 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.

In DOS, you have a couple of options

1. Use a package supplied by the compiler vendor to access the IO ports.
2. Write a machine code insertion to access the IO ports

You may also be able to open a file named "COM1:", but may have trouble
reading and writing from the same port.

-- 
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail



  parent reply	other threads:[~2002-05-13 19:27 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   ` 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     ` Jeffrey Carter [this message]
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