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:a05:622a:100f:b0:3f7:bf8e:5e16 with SMTP id d15-20020a05622a100f00b003f7bf8e5e16mr1564152qte.1.1685218051419; Sat, 27 May 2023 13:07:31 -0700 (PDT) X-Received: by 2002:a81:8b4b:0:b0:55d:6af3:1e2c with SMTP id e11-20020a818b4b000000b0055d6af31e2cmr3408430ywk.3.1685218051024; Sat, 27 May 2023 13:07:31 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.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 13:07:30 -0700 (PDT) In-Reply-To: <150b2a0b-763d-44dd-8ec0-2909748099b5n@googlegroups.com> 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: <0d848244-3182-477d-8d67-f6705c647b20n@googlegroups.com> <150b2a0b-763d-44dd-8ec0-2909748099b5n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Please Share Ada -Freedos - Dos experiences From: Joakim Strandberg Injection-Date: Sat, 27 May 2023 20:07:31 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 4188 Xref: news.eternal-september.org comp.lang.ada:65254 List-Id: l=C3=B6rdag 27 maj 2023 kl. 22:03:00 UTC+2 skrev Joakim Strandberg: > l=C3=B6rdag 27 maj 2023 kl. 21:49:38 UTC+2 skrev Joakim Strandberg:=20 > > l=C3=B6rdag 27 maj 2023 kl. 17:44:57 UTC+2 skrev Hou Van Boere:=20 > > > Hi Everyone=20 > > >=20 > > > I am thinking about using FreeDos as a kind of RTOS. The application = is to 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 DOS)=20 > > Hi,=20 > >=20 > > I wrote about how to get DJGPP compiler on DOS: https://www.reddit.com/= r/ada/comments/vrhsv5/how_to_install_gnat_314b_on_freedos_13/=20 > > I recommend installing a recent version of DJGPP, you will be able to u= se a lot the Ada language except for tasking which DJGPP does not support o= n FreeDos.=20 > >=20 > > I have been looking for an Ada83 or Ada95 compiler for DOS which compil= es real-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 use.=20 > >=20 > > I haven't built something on DOS, just toying with the idea. I've succe= ssfully been able to execute my Advent of code solutions for 2022 on FreeDO= S. I've also successfully switched to VGA mode and putting pixels on the sc= reen and switching back to text mode from an Ada application. I did it by i= nterfacing with C code that had assembler embedded, if I remember correctly= .=20 > >=20 > > Best regards,=20 > > Joakim > Hi again,=20 >=20 > Another idea is to use the ObjectAda 7.0 compiler (free version) from 199= 6 that can be downloaded here:=20 > https://archive.org/details/ObjectAdaSE7=20 > It runs on Windows 95/98 but looking at the documentation for the ObjectA= da compiler it says it is possible to use the compiler to create executable= s for DOS by using a DOS Extender. I haven't tried it but should be possbil= e to get working. Unfortunately there are limitations with the free version= . One good thing is that it is possible to use tasks freely for creating a = FreeDOS application but one must restrict one-self to Ada95 since the compi= ler is from 1996.=20 >=20 > There is a professional version of ObjectAda from 2002 that can be downlo= aded here: https://vetusware.com/download/ObjectAda%207.2.2%20Enterprise%20= 7.2.2/?id=3D17315=20 > I've tested it and it works but the documentation no longer talks about b= eing able to create executables for FreeDOS. Maybe it can still be used to = make executables for FreeDOS?=20 >=20 > Best regards,=20 > Joakim Hi yet again! However, the biggest obstacle for using FreeDOS is hardware support. FreeDO= S depends upon BIOS and all motherboards since 2020 no longer support BIOS.= Does anybody know of any hardware produced today that supports FreeDOS? Best regards, Joakim