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,24bc3b66cdc3b8dd X-Google-Attributes: gid103376,public From: Alain Senjean Subject: Re: Help: accessing Bios param from Ada Date: 1999/04/14 Message-ID: <3714EB7F.D6B6814D@club-internet.fr>#1/1 X-Deja-AN: 466412109 Content-Transfer-Encoding: 7bit References: <3713B162.55EA70F7@club-internet.fr> X-Accept-Language: fr,en Content-Type: text/plain; charset=us-ascii X-Trace: front5.grolier.fr 924117917 27120 195.36.151.188 (14 Apr 1999 19:25:17 GMT) Organization: Club-Internet (France) Mime-Version: 1.0 NNTP-Posting-Date: 14 Apr 1999 19:25:17 GMT Newsgroups: comp.lang.ada Date: 1999-04-14T19:25:17+00:00 List-Id: Jerry van Dijk wrote: > > Using a windows compiler, you have, in the Win32 environment, no access to > this memory, you need to either use a DOS compiler or write/get an Win9X/NT > device driver for this. This is not Ada related but a feature of the OS you > are using. > > : Is there any defined service with parameters like (segment, offset, size, > : value) for accessing HW ports like inportb, outportb in C ? > > No, the I/O ports are not in the memory address space. And again, you have > no access to them from a user program. > I don't understand because I am defining a Dos Ada program at project level, so Win32 restriction should not apply (Dos windowed). Otherwise, I should get identical limitation for the C model. A. SENJEAN