From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:5a8e:0:b0:3f6:83f0:c56a with SMTP id c14-20020ac85a8e000000b003f683f0c56amr1527896qtc.6.1685216976805; Sat, 27 May 2023 12:49:36 -0700 (PDT) X-Received: by 2002:a25:2f55:0:b0:bad:2b06:da3 with SMTP id v82-20020a252f55000000b00bad2b060da3mr1722997ybv.3.1685216976483; Sat, 27 May 2023 12:49:36 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 May 2023 12:49:36 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=83.255.121.206; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 83.255.121.206 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0d848244-3182-477d-8d67-f6705c647b20n@googlegroups.com> Subject: Re: Please Share Ada -Freedos - Dos experiences From: Joakim Strandberg Injection-Date: Sat, 27 May 2023 19:49:36 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:65252 List-Id: l=C3=B6rdag 27 maj 2023 kl. 17:44:57 UTC+2 skrev Hou Van Boere: > Hi Everyone=20 >=20 > I am thinking about using FreeDos as a kind of RTOS. The application is t= o control scientific instruments so portability is a non-issue.=20 >=20 > Can you please share bits and pieces about running Ada on FreeDos(or MS D= OS) Hi, I wrote about how to get DJGPP compiler on DOS: https://www.reddit.com/r/ad= a/comments/vrhsv5/how_to_install_gnat_314b_on_freedos_13/ I recommend installing a recent version of DJGPP, you will be able to use a= lot the Ada language except for tasking which DJGPP does not support on Fr= eeDos. I have been looking for an Ada83 or Ada95 compiler for DOS which compiles r= eal-mode executables but the ones I found are still proprietary and can be = bought. It indicates there are still old systems on old hardware still in u= se. I haven't built something on DOS, just toying with the idea. I've successfu= lly been able to execute my Advent of code solutions for 2022 on FreeDOS. I= 've also successfully switched to VGA mode and putting pixels on the screen= and switching back to text mode from an Ada application. I did it by inter= facing with C code that had assembler embedded, if I remember correctly. Best regards, Joakim