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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Why are Ada compilers difficult to write ? Date: Fri, 29 Jun 2018 16:22:19 -0500 Organization: JSA Research & Innovation Message-ID: References: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> <7cb22c58-3009-47f0-8fe7-62f3cd61785d@googlegroups.com> <52b14af1-ee0a-40af-871a-beeced6bce1c@googlegroups.com> <87wour97a8.fsf@nightsong.com> <98aac007-7512-4ae3-94de-f02e7e2651ae@googlegroups.com> <87k1qr8oyz.fsf@nightsong.com> <8e8e7ce9-d7ac-4ec5-8278-7b93cec46599@googlegroups.com> Injection-Date: Fri, 29 Jun 2018 21:22:20 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="3071"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:53450 Date: 2018-06-29T16:22:19-05:00 List-Id: There's no particular problem in supporting a Z80 cross-compiler, we just haven't had anyone asking about it in decades. I'd be concerned about getting the old runtime up to modern specifications, but otherwise I don't think it would be too hard. (Not sure if I could find the source to the old code cruncher, which doubled the amount of code one could run on that processor.) Randy. "Dan'l Miller" wrote in message news:8e8e7ce9-d7ac-4ec5-8278-7b93cec46599@googlegroups.com... On Thursday, June 21, 2018 at 10:44:21 PM UTC-5, Paul Rubin wrote: > "Dan'l Miller" writes: > > Which Ada complier(s) support any of... Zilog's Z80 > > http://www.z80.eu/ADA.html mentions a few. Found in 2 sec by typing > "z80 ada" into web search. You could try the same with the other cpus > you mentioned. I'm guessing it's Ada-83 or some subset, but that's a > start. Writing a compiler in OP refers to both writing it from scratch as well as maintenance over the years. All of the Ada compilers listed on that antiquated page are in various stages of broken links, out of business, and no longer supporting Z80 in recent .decades.. After performing a fair amount of searching on both Bing and Google, I could not find any Ada compiler targeting Z80 other than ancient archives of CP/M-era Ada compilers from the 1980s for ancient OSes. The only hope for a still-in-operation vendor of a still-maintained-for-a-fee Ada compiler for Z80 would be RR Software's old Janus Ada for CP/M. Apparently, it is either technically difficult and/or financially cost-prohibitive to support Ada for resource-constrained* targets in the 8080/Z80, 6809, and 6502 families, which have been repurposed as 8-bit microcontrollers (notwithstanding AVR's novel usage of "8-bit microcontroller" to refer to a modern RISC processor that has 32 registers many of which are 16-, 24-, or 32-bit in size) * e.g., 64 KiB DRAM address space; clock rate of single-digit or tens of megahertz Various ports of GCC to Z80 exist, but they seem to focus exclusively on C-proper, instead of on C++ or Ada.