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: jerry@jvdsys.stuyts.nl (Jerry van Dijk) Subject: Re: Help: accessing Bios param from Ada Date: 1999/04/14 Message-ID: #1/1 X-Deja-AN: 466227596 References: <3713B162.55EA70F7@club-internet.fr> Organization: * JerryWare *, Leiden, Holland Newsgroups: comp.lang.ada Date: 1999-04-14T00:00:00+00:00 List-Id: Alain Senjean (senjean@club-internet.fr) wrote: : I am using AdaObjet 7.1.2 under Win98 and i want to develop an application : software using the LPT port for managing an external HW equipment. : I just need to read four 'words' at address 0000:0408 providing LPT ports : base address. 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. -- -- Jerry van Dijk | Leiden, Holland -- Team Ada | jdijk@acm.org -- see http://stad.dsl.nl/~jvandyk