comp.lang.ada
 help / color / mirror / Atom feed
From: anon@att.net
Subject: OS written in Ada was "DDS and Ada"
Date: Fri, 8 Jul 2011 14:55:31 +0000 (UTC)
Date: 2011-07-08T14:55:31+00:00	[thread overview]
Message-ID: <iv75p2$ceq$1@speranza.aioe.org> (raw)
In-Reply-To: ccd482d7-1693-4540-8e88-d552caa1c126@ct4g2000vbb.googlegroups.com

To write an OS using Gnat Ada you do not need Ada 2012, all you need is a 
working ADA compiler and knowledge of how to build an OS.

I have used Gnat 3.2, and Gnat 2007 both under Linux as well as other GNAT 
compilers under OS/2, and DOS back in the 1990s to built OSs. So, you do 
not need Ada 2012 or DOS version to build an OS.

An example of what can be done even with GNAT 3.15p is my "Protected-Mode" 
AdaBooter which replaces LIlO, GRUB and other boot loaders which execute 
in "Real-Mode".  One feature is the "Normal Boot" or light-weigh 
Virtualization system. Like you can boot DOS in true "Real-Mode" or a VM 
protected space. As for others Linux, OS/X it can loads and turns control 
over to booted Kernel or the AdaBooter can act like a simple Virtualization 
system controller. 

Do to a "Secure Risk" with use of "flat memory" including Intel 64-bit, 
I'm not saying to much about the 64-bit or the parallel version of the 
AdaBooter.

Note: It might be possible to use GNAT Ada for JAVA to build a VM based 
OS. Similar to Sun's discontinued "JavaOS".


In <ccd482d7-1693-4540-8e88-d552caa1c126@ct4g2000vbb.googlegroups.com>, Shark8 <onewingedshark@gmail.com> writes:
>On Jul 7, 8:04=A0pm, Gautier write-only <gautier_niou...@hotmail.com>
>wrote:
>> On 7 juil, 04:34, Shark8 <onewingedsh...@gmail.com> wrote:
>>
>> > Though a DOS Ada 2012 compiler might be very nice for one wishing to
>> > do an OS.
>>
>> Really?
>
>DOS is so minimal/unconstrained that one can easily make bootable
>program with a DOS compiler. I had the start of an OS (I got it to the
>point of being able to recognize commands and change video-modes)
>written purely in BP7 {100% Pascal, with the exception of something
>like 6-lines of inline assembler (to handle the keyboard/scan-codes)}.
>
>The problem currently stumping me regarding doing it in Ada is that my
>GNAT tries to hook the non-existent runtime OR (with the runtime-
>restriction pragma) gives me funny linker errors preventing a compile.
>
>
>> Anyway, if Ada 2012 is supported by GCC 4.6.1, you have your DOS Ada
>> 2012 compiler:
>>
>> http://groups.google.com/group/comp.os.msdos.djgpp/browse_frm/thread/...
>
>Oh, thanks for the lead.




  parent reply	other threads:[~2011-07-08 14:55 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05 19:34 DDS and Ada Martyn Pike
2011-07-05 20:24 ` anon
2011-07-05 20:59 ` Maciej Sobczak
2011-07-06 19:27   ` Martyn Pike
2011-07-06 21:24     ` Maciej Sobczak
2011-07-07 19:01       ` Martyn Pike
2011-07-05 21:30 ` anon
2011-07-05 21:58 ` Frank J. Lhota
2011-07-06 18:46   ` Martyn Pike
2011-07-06 19:12     ` anon
2011-07-06 19:29       ` Martyn Pike
2011-07-07  2:34       ` Shark8
2011-07-07  3:23         ` anon
2011-07-08  1:09           ` Shark8
2011-07-08  1:04         ` Gautier write-only
2011-07-08  1:23           ` Shark8
2011-07-08  9:13             ` Gautier write-only
2011-07-08 19:35               ` Randy Brukardt
2011-07-09 19:00               ` DOS and Ada (not DDS) Rugxulo
2011-07-08 14:55             ` anon [this message]
2011-07-08 19:31             ` DDS and Ada Randy Brukardt
2011-07-06 20:13     ` Dmitry A. Kazakov
2011-07-08  5:33       ` Martyn Pike
2011-07-08 12:06         ` Presentations for Ada-Europe 2012 (Was: DDS and Ada) Jacob Sparre Andersen
2011-07-08 15:54           ` Dmitry A. Kazakov
2011-07-08 15:55         ` DDS and Ada Dmitry A. Kazakov
2011-07-17 19:05 ` Per Sandberg
replies disabled

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