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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,682d1c4a13fb8d32 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: OS written in Ada was "DDS and Ada" Date: Fri, 8 Jul 2011 14:55:31 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <2011070520341767939-martynatemconukdotcom@news-europe.giganews.com> Reply-To: anon@anon.org NNTP-Posting-Host: 6vEBAH/J08FmdLuOvKjLtg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: IBM NewsReader/2 2.0 Xref: g2news1.google.com comp.lang.ada:20140 Date: 2011-07-08T14:55:31+00:00 List-Id: 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 , Shark8 writes: >On Jul 7, 8:04=A0pm, Gautier write-only >wrote: >> On 7 juil, 04:34, Shark8 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.