comp.lang.ada
 help / color / mirror / Atom feed
From: "Luke A. Guest" <laguest@archeia.com>
Subject: Re: Ada versus Pascal
Date: Mon, 25 Oct 2021 09:40:38 +0100	[thread overview]
Message-ID: <sl5qks$onu$1@gioia.aioe.org> (raw)
In-Reply-To: itn7slFptmsU1@mid.individual.net


On 25/10/2021 09:23, Niklas Holsti wrote:
> On 2021-10-25 2:24, 711 Spooky Mart wrote:
> 
> 
>> Does modern Ada have facility for writing boot loaders, inline Assembly,
>> kernels, etc.?
> 

Boot loaders and kernels are just another application area any general 
purpose language can target, even Ada.

> I'm not very familiar with boot loaders, but I see no reason why a boot 
> loader could not be written in Ada. However, usually (and as for other 

If you're talking x86 on PC's, then you'll need to read up on the x86 
boot process in which x86 starts up in 16-bit (real) mode, then has to 
be taken into protected and then long modes. You would need a GCC that 
can target all those modes.

> languages) there will be a small start-up routine in assembly language 
> to initialize the processor, set up a stack, and so forth. The "Ada Bare 
> Bones" project is doing something like this, I believe: 
> https://wiki.osdev.org/Ada_Bare_bones.

Thanks for pointing out my project :) It's out of date and doesn't build 
as is any more, but others have written Ada pages on that site since.

  reply	other threads:[~2021-10-25  8:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  3:29 Ada versus Pascal 711 Spooky Mart
2021-10-22  6:18 ` ldries46
2021-10-22  9:59   ` 711 Spooky Mart
2021-10-22 15:12     ` Niklas Holsti
2021-10-22 15:47       ` Dmitry A. Kazakov
2021-10-23  7:13       ` ldries46
2021-10-23 14:08       ` Simon Wright
2021-10-22  6:40 ` Paul Rubin
2021-10-22  8:57 ` Niklas Holsti
2021-10-22 11:49 ` Jeffrey R.Carter
2021-10-22 17:05 ` Dennis Lee Bieber
2021-10-23  0:29   ` Paul Rubin
2021-10-23  1:17     ` Randy Brukardt
2021-10-23 17:24     ` Dennis Lee Bieber
2021-10-24  7:04       ` J-P. Rosen
2021-10-22 20:00 ` Gautier write-only address
2021-10-24  4:33 ` Jerry
2021-10-24  6:32   ` ldries46
2021-10-24 16:51   ` Gautier write-only address
2021-10-24 23:24     ` 711 Spooky Mart
2021-10-25  8:23       ` Niklas Holsti
2021-10-25  8:40         ` Luke A. Guest [this message]
2021-10-25 13:34           ` Luke A. Guest
replies disabled

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