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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,548a224fd381d8f4 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!s21g2000vbb.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Programming graphic systems Date: Thu, 23 Apr 2009 04:54:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <49f03485$0$2849$ba620e4c@news.skynet.be> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1240487643 18455 127.0.0.1 (23 Apr 2009 11:54:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 23 Apr 2009 11:54:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s21g2000vbb.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5526 Date: 2009-04-23T04:54:03-07:00 List-Id: On Apr 23, 10:27=A0am, Olivier Scalbert wrote: > Hello, > > When playing with my GPS, I was thinking of the beautiful graphic > systems used in safety critical environment (medical, aircraft, ATC, ...)= . > I assume lots of them must be written in Ada. I was asking myself how > are they programmed mainly at the graphic level. Does the application > part use a graphic toolkit provided by the graphic board manufacturer or > do you have to program all the graphic primitives yourself in Ada (as > Bresenham line algorithm, ...) and written to the raster memory (which > must be very cool!) ? > > Thanks for your info, > > Olivier For aircraft, you usually have an OpenGL API to the graphics card, though I'm not aware of any 'safety critical' display systems, Do-178B/ Level C is fairly typical. I'm sure there must be Level A/B display systems... In older systems, you might have a cursive display and primitives provided by your (often) bespoke hardware (e.g. move, draw_to, fill, etc). You then create 'scripts' to draw what you need. Cheers -- Martin