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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,278bbb0f0b3e412c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-20 13:51:24 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!in.nntp.be!feed2.onemain.com!feed1.onemain.com!cyclone-sf.pbi.net!206.13.28.143!news.pacbell.net.POSTED!not-for-mail From: David Kristola Organization: heaps of stacks MIME-Version: 1.0 User-Agent: Hogwasher 2.0 (Macintosh) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <01HW.B72D7C6200047CA0068509BC@news.pacbell.net> Subject: Re: Ada subset for microcontrollers Newsgroups: comp.lang.ada References: <01HW.B72906E0000B380B068598CC@news.pacbell.net> <3B0406D3.EF580628@boeing.com> <9e8nem$lvn$1@snipp.uninett.no> Date: Sun, 20 May 2001 13:51:30 -0700 NNTP-Posting-Host: 63.194.212.92 X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 990391882 63.194.212.92 (Sun, 20 May 2001 13:51:22 PDT) NNTP-Posting-Date: Sun, 20 May 2001 13:51:22 PDT Xref: archiver1.google.com comp.lang.ada:7665 Date: 2001-05-20T13:51:30-07:00 List-Id: On Sun, 20 May 2001 8:28:51 -0700, Tor Fredrik Aas wrote (in message <9e8nem$lvn$1@snipp.uninett.no>): > AFAIK the RCX uses a Hitachi H8 controller. I might be possible to run the > same code on larger controllers, even SH-8. The Lego RCX uses a special byte code interpreter that was designed to work in the Lego environment. The last time i checked, the Ada subset compiler for the RCX really generated NQC (Not Quite C, a C subset invented by David Baum to program the RCX). NQC compiles down to the byte code used by the RCX. Perhaps the latest version of the Ada-to-RCX compiler does the same thing. However, since the firmware that runs inside the RCX is proprietary, and the license only allows me to copy it to my RCX, and the environment would undoubtedly be different if i used an SH-8... I'm not sure i can get to where i want to go by that route. It would be an interesting project to create my own Ada-subset compiler for a microcontroller, but i just don't have the time. -- --djk, keeper of arcane lore & trivial fluff --Home: David95036 plus 1 at america on-line --Spam: goto.hades@welovespam.com