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/15 Message-ID: <37158A1F.7B1CE1F5@club-internet.fr>#1/1 X-Deja-AN: 466614445 Content-Transfer-Encoding: 7bit References: <3713B162.55EA70F7@club-internet.fr> <3714EB7F.D6B6814D@club-internet.fr> <3714ed5f.8231172@news.pacbell.net> X-Accept-Language: fr,en Content-Type: text/plain; charset=us-ascii X-Trace: front7.grolier.fr 924158526 10060 194.158.119.67 (15 Apr 1999 06:42:06 GMT) Organization: Club-Internet (France) Mime-Version: 1.0 NNTP-Posting-Date: 15 Apr 1999 06:42:06 GMT Newsgroups: comp.lang.ada Date: 1999-04-15T06:42:06+00:00 List-Id: Tom Moran wrote: > > > I am defining a Dos Ada program > but originally you said > >I am using AdaObjet 7.1.2 under Win98 > Are you cross compiling from Win98 to DOS? Then your compiler should > have libraries supplied that give you access to IO ports and physical > memory addresses. In fact, any compiler targetted to DOS, regardless > of where it compiles, should do that. I fully agree. Yes, I am using ObjectAda under Win98 to develop a Dos Application SW. Yes, I fully agree that a native compiler SHALL provide even 'basic' interface to access 'standard' I/O ressources of a machine (BIOS, LPT and COM are) even in a not event driven way. I konw that it is not the main concern of an Ada Compiler, but you need access to the environment which is not reduced to windows and for this you need basic constructs to access resources. With those basic constructs you can build your own abstract level. What I can not agree with is to buy a C compiler to complete my standard native environment access (several people could discuss this, but it is not the aim). What I feel for solving this problem is: 1) there is a package MACHINE_CODE_386 in AdaObject that could solve the problem (as stated in ANNEX M --> specific to AONIX) but I have found its specification nowhere !! 2) there is a binding to Ms SDK and within the 5000 items there is a service that solves my problem. In this case I shall use a win32 application. But today I am blocked by this parallel port nibble mode management problem. Best regards. A. SENJEAN