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,6405eefbf080daa6 X-Google-Attributes: gid103376,public From: Rakesh Malhotra Subject: Re: Is an RTOS Required for Ada? Date: 1999/05/13 Message-ID: <373B2927.7B22F898@pop.safetran.com>#1/1 X-Deja-AN: 477530141 Distribution: world Content-Transfer-Encoding: 7bit References: <19990513150314.13727.00000147@ng-cs1.aol.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: /bGnt5U8+6C2SXZsp85o1YsIsV6Aex1DqeK+dQk1yVn9AIj1gFpQWIw1/e1NVP/0i5SHkw8TIps9!ixk1VC/RRqNOFNFi9WRSsEPJohEzrOuTO4tviMp6WtBMyxbcadUhhAKF2Knkc4/qlnhRXAuTmQ== MIME-Version: 1.0 NNTP-Posting-Date: Thu, 13 May 1999 19:34:00 GMT Newsgroups: comp.lang.ada Date: 1999-05-13T00:00:00+00:00 List-Id: Tramse wrote: > > I have an application in which Ada95 is required. The target microcontroller > is the Motorola 68336. It a real simple application, it only needs to > read/write to fixed addresses (ports/data) and respond to a interupts. We have > a real fast boot up requirement and small RAM resource (7.5K) and can't afford > the boot time and RAM requried for a RTOS. > Yes you can certainly use Ada. I have done so several times by targetting the 68302, 68332, 68030 etc. Regarding your point that you cannot afford the extra RAM required by an RTOS or startup time - that is dependent on the compiler you use and what features of Ada you want to use. e.g. On one project I worked on we used the Alsys (Ada83, company is now called Aonix) compiler and a kernel called the SMART kernel. If memory serves me, the runtime portion (kernel + library) was only about 2KB or 2.5KB. Everything on top of that was my application. However, SMART imposes many restrictions e.g. you cannot do tasking. There are other features of Ada that SMART will not allow you to have. Also the startup time is very fast - in msecs. Alsys also comes with a full kernel but then that is a lot bigger and also has higher latencies. There are other Ada compilers also that have a no-RTOS option or minimal RTOS option. If your compiler has this then you are ok. I think there is a version of GNAT called GNORT - GNAT with no run-time. I have also used the Rational Verdix cross-compiler that had similar options. > Can we use Ada and compile direct to 68K code without using an RTOS (like we > could in C)? Yes. Rakesh