Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.arch.embedded Subject: Re: How to write a simple driver in bare metal systems: volatile, memory barrier, critical sections and so on Date: Mon, 25 Oct 2021 15:16:10 +0300 Organization: Tidorum Ltd Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net wCXF8UNDKAYqI4CrcrcuSgKv1X7uersxlmMAur+ewMfo54vhLw Cancel-Lock: sha1:JIcuBXss6FGkLw87cFECWZMZ41E= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Language: en-US Xref: csiph.com comp.arch.embedded:30852 On 2021-10-25 14:49, David Brown wrote: > On 25/10/2021 10:52, Niklas Holsti wrote: > >> >> Well, the Janus/Ada compiler was available for Z80 in its day. There are >> also Ada compilers that use C as an intermediate language, with >> applications for example on TI MSP430's, but those were probably not >> available in the past ages you refer to. > > Presumably there is gcc-based Ada for the msp430 (as there is for the > 8-bit AVR)? Indeed there seems to be one, or at least work towards one: https://sourceforge.net/p/msp430ada/wiki/Home/. > There might not be a full library available, or possibly > some missing features in the language. Certainly. I think that Janus/Ada for the Z80 was limited to the original Ada (Ada 83), and may well have also had some significant missing features. But I believe it was self-hosted on CP/M, quite a feat.