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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0077c2a3f44fc09 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed.stanford.edu!sn-xit-03!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Jerry van Dijk Newsgroups: comp.lang.ada Subject: Re: Port LPT + ADA (whta do I wrong?) Date: 09 Dec 2004 09:17:09 +0100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Sender: jerry@JVDSYS References: <1gr5159dmj2vk.5tkxiw6kxrmv.dlg@40tude.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.lang.ada:6857 Date: 2004-12-09T09:17:09+01:00 List-Id: Dennis Lee Bieber writes: > On Tue, 7 Dec 2004 19:13:52 +0100, "Slawo - MIR" > declaimed the following in comp.lang.ada: > > I don't know enough about the arguments you are using, but... > > > I try to assingn to variable (field of record) "struktura.Offset" and to > > "struktura.OffsetHigh" some different values - 16#379# (address of input > > register), 16#01#... and it didn't work :( > > > ...If you mean for 16#379# to be the physical I/O address for a > parallel port, I suspect it isn't going to work at all. The problem is not only that the the addresses in question are I/O addresses instead of memory addresses, but also that NT, W2K and XP do not allow a user-lever program to access them. The easiest solution to this program is to use one of the the generic I/O port device drivers, for example see: http://www.beyondlogic.org/porttalk/porttalk.htm succes, Jerry. -- -- Jerry van Dijk -- Leiden, Holland -- -- 'Tradition is not the worship of ashes, but the preservation of fire.' -- Gustav Mahler (1860-1911)