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,a727b8ccdee938d4,start X-Google-Attributes: gid103376,public From: Rich Maggio Subject: OS specific support in ADA Date: 1996/06/29 Message-ID: <31D5A7CF.6547@world2u.com>#1/1 X-Deja-AN: 162833727 x-nntp-posting-host: i123.213.world2u.com x-nntp-posting-user: (Unauthenticated) content-type: text/plain; charset=us-ascii x-trace: 836086458/24099 organization: Rich Maggio mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01KIT (Win95; U) Date: 1996-06-29T00:00:00+00:00 List-Id: I am an experienced 'C' programmer. For a course that I will be taking in the fall, I will need to learn ADA. I have downloaded GNAT for DOS and I have poked around some tutorials to get familiar with the language philosophies, purpose, and over-all general structure. I noticed that GNAT is available for a multitude of OS's as well as hardware platforms. What kind of OS calls are supported in GNAT? For example, can you call a DOS interrupt directly from an ADA program? Can you utilize OS/2's or Win32 semaphore API's? Or do you have to rely upon the ADA implementation of these OS features, hoping that the compiler's RTL didn't leave anything out. Also, is it possible to do ISR's in DOS using the GNAT compiler? I understand that GNAT supports calling 'C' functions from and ADA application. I was wondering if functions that call the OS directly would need to be written in 'C' and these functions would need to be called from the ADA program. My understanding is that ADA was originally developed as an embedded system language, so I was surprised when I saw no mention of ISR's or OS calls in any of the docs that I have read so far. Any info would be appreciated. Thanks, Rich Maggio