From: Ed Falis <falis@thomsoft.com>
Subject: Re: Port I/O
Date: 1996/11/04
Date: 1996-11-04T00:00:00+00:00 [thread overview]
Message-ID: <327E46A1.58D2@thomsoft.com> (raw)
In-Reply-To: 55h2i7$k16@dfw-ixnews3.ix.netcom.com
Robert P. Kuzmicki wrote:
>
> How do you do simple port I/O with ObjectAda 7.0? I must have been programming
> in 'C' too long.
A more interesting way to put this question is "how do I do simple
port i/o under Windows 95 or Windows NT?"
Which is what makes it not so simple.
There are three options I know of to address the mechanics of the
question:
1. Write a device driver using the MS Device Driver Kit (DDK)
2. Get a copy of BlueWater Systems WinRT, that provides this
capability alog with direct real memory reads/writes and interrupt
handling (206) 771-3610. This package is basically designed to
allow 'C' code to do realtime and hardware types of things udner
NT and Win 95, but it's not too difficult to interface to.
3. You can try to use the IN and OUT instructions provided in package
Machine_Operations_386 with Objectada, but I suspect they won't
work properly under at least NT.
To address the problem from a different angle, you might ask yourself
why you're trying to do what you're doing (presumably direct hardware
manipulation) from user code under NT or W95 rather than going through
a device driver.
Feel free to follow up via email.
- Ed
--
Ed Falis
Thomson Software Products
(617) 221-7341
next prev parent reply other threads:[~1996-11-04 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-03 0:00 Port I/O Robert P. Kuzmicki
1996-11-04 0:00 ` Ed Falis [this message]
1996-11-05 0:00 ` Michael F Brenner
1996-11-06 0:00 ` Robert S. White
-- strict thread matches above, loose matches on Subject: below --
1996-11-06 0:00 tmoran
1996-11-07 0:00 ` Michael F Brenner
1996-11-13 0:00 Simon Johnston
1996-11-14 0:00 ` Michael F Brenner
1996-11-14 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox