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!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada,sci.electronics.basics Subject: Re: Z80 trst circuit Date: Thu, 28 Jan 2016 15:58:37 -0600 Organization: JSA Research & Innovation Message-ID: References: <1464899552.475583127.081339.laguest-archeia.com@nntp.aioe.org> <652916932.475662642.036346.laguest-archeia.com@nntp.aioe.org> NNTP-Posting-Host: rrsoftware.com X-Trace: loke.gir.dk 1454018318 6786 24.196.82.226 (28 Jan 2016 21:58:38 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 28 Jan 2016 21:58:38 +0000 (UTC) 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.6157 Xref: news.eternal-september.org comp.lang.ada:29278 sci.electronics.basics:22601 Date: 2016-01-28T15:58:37-06:00 List-Id: "Luke A. Guest" wrote in message news:652916932.475662642.036346.laguest-archeia.com@nntp.aioe.org... > Randy Brukardt wrote: >> "erlo" wrote in message >> news:n8b8s4$tme$1@dont-email.me... >>> On 27-01-2016 11:26, Luke A. Guest wrote: >>>> >>>> >>>> Hi, >>>> >>>> Just thought I'd post my first iterations of the Z80 test circuit. >>>> >>>> https://youtu.be/WIz5J6fmplo >>>> >>> What is the Ada angle on this? >> >> ?? Janus/Ada 83 targeted CP/M Z80 machines back when they were common >> (that >> was our first commercial compiler, as the IBM PC and MS-DOS hadn't been >> introduced yet -- showing my age, I guess ;-). So it's certainly possible >> to >> program in Ada on such machines, but I don't know if anyone has done so >> in >> decades (I think we stopped selling > > I reckon it'd be doable with GNAT, someone ported GCC to the 6502 ffs! > That's got less registers than the Z80, but it does use zero page in STAM > for virtual registers, which a AFAICT can't be used on Z80. > > I also think using pragma restrictions heavily here would help, also other > pragma a for restricting what gets generated, ie names. > > Do you have Any advice re this? Not really. Ada 2012 is way different than the subset of Ada 83 that we had on the Z80. I don't remember off-hand precisely what Ada features were available on that compiler; I know we had some software floating point, and certainly not any tasking. But certainly there wasn't anything like tagged types, or dispatching, or preconditions. Randy.