comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Bootstrapping a null procedure. Seriously?!
Date: Wed, 13 Mar 2013 22:32:53 +0000 (UTC)
Date: 2013-03-13T22:32:53+00:00	[thread overview]
Message-ID: <khquql$5dk$1@dont-email.me> (raw)
In-Reply-To: d78b84d5-b048-44db-a106-37a3cfdfdc79@googlegroups.com

On Tue, 12 Mar 2013 07:04:12 -0700, Diogenes wrote:

> On Tuesday, March 12, 2013 8:09:08 AM UTC-4, Brian Drummond wrote:

>> http://wiki.osdev.org/Ada_Bare_bones
>> Or see the RTS component of the AVR-Ada project on Sourceforge for
>> another minimal RTS.

> Yeah...these projects are what got me interested in doing this.
> 
> Is it actually possible to compile the nullmain.adb procedure against
> these runtimes and have it actually load on their respective platforms?

I have done so for the AVR-Ada runtime (and an experimental port to the 
Texas MSP430). The Ada main subprogram compiles down to "ret" . For the 
MSP430 version, the whole executable is about 200 bytes (mostly crt0.s, 
but including 32 bytes of interrupt vectors. The AVR-Ada project is 
further along : a complete LED flasher is about 65 bytes, of which the RTS 
is probably 50 bytes.

- Brian



  reply	other threads:[~2013-03-13 22:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 10:37 Bootstrapping a null procedure. Seriously?! Diogenes
2013-03-11 11:26 ` Georg Bauhaus
2013-03-11 21:14   ` Diogenes
2013-03-11 22:39     ` Robert A Duff
2013-03-12 12:09     ` Brian Drummond
2013-03-12 14:04       ` Diogenes
2013-03-13 22:32         ` Brian Drummond [this message]
2013-03-11 22:24   ` Randy Brukardt
2013-03-13  4:34 ` anon
2013-04-01 16:21 ` Oliver Kleinke
replies disabled

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