comp.lang.ada
 help / color / mirror / Atom feed
From: Rakesh Malhotra <rakesh.malhotra@pop.safetran.com>
Subject: Re: Is an RTOS Required for Ada?
Date: 1999/05/13
Date: 1999-05-13T00:00:00+00:00	[thread overview]
Message-ID: <373B2927.7B22F898@pop.safetran.com> (raw)
In-Reply-To: 19990513150314.13727.00000147@ng-cs1.aol.com

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




  parent reply	other threads:[~1999-05-13  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-13  0:00 Is an RTOS Required for Ada? Tramse
1999-05-13  0:00 ` Marin David Condic
1999-05-13  0:00 ` Rakesh Malhotra [this message]
1999-05-14  0:00   ` Tramse
1999-05-16  0:00     ` Robert Dewar
1999-05-19  0:00       ` Robert A Duff
1999-05-20  0:00         ` Robert Dewar
1999-05-25  0:00           ` George Romanski
1999-05-25  0:00             ` Robert Dewar
1999-05-26  0:00               ` George Romanski
1999-05-28  0:00                 ` Robert Dewar
1999-06-09  0:00                 ` Robert A Duff
1999-06-09  0:00                   ` Robert Dewar
1999-05-28  0:00               ` Rod Chapman
1999-05-28  0:00                 ` Robert Dewar
1999-05-28  0:00                   ` Richard D Riehle
1999-05-28  0:00                     ` David C. Hoos, Sr.
1999-05-20  0:00       ` Tarjei Tj�stheim Jensen
1999-05-20  0:00         ` Larry Kilgallen
1999-05-20  0:00           ` Tarjei Tj�stheim Jensen
1999-05-20  0:00             ` Larry Kilgallen
1999-05-21  0:00             ` Robert Dewar
1999-05-16  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox