From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bab9b57ac3227b46 X-Google-Attributes: gid103376,public From: Ed Falis Subject: Re: Port I/O Date: 1996/11/04 Message-ID: <327E46A1.58D2@thomsoft.com>#1/1 X-Deja-AN: 194394939 sender: news@thomsoft.com references: <55h2i7$k16@dfw-ixnews3.ix.netcom.com> content-type: text/plain; charset=us-ascii organization: Thomson Software Products mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.01b1Gold (Win95; I) Date: 1996-11-04T00:00:00+00:00 List-Id: 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