🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #1902

Re: Small-C for transputer?s?

#1902
From: Adrian Cockcroft - Sun UK - Camb...
Date: Wed, 20 Jan 1993 15:14
25 lines
1864 bytes
Many years ago I ported the Dr Dobbs small-C compiler from 8080 to 6809
running FLEX-9. I parameterised the output so that the 6809 macro assembler
actually did the translation from intermediate code to 6809 code and I 
did macro sets for 6801 and other variants. A friend did some mods and got
it going on a 68000 (Sinclair QL !). I wrote a nice manual and
sold around a hundred copies to FLEX-9 users around 1985.

Given a good macro assembler this could easily be modified to generate
(fairly inefficient) transputer code. It assumes one working register
and stack for everything else so not many changes would be needed.
The C library was partly coded in 6809 assembler (strlen etc).

I still have the code on-line, if someone *really* wants to try a port
then they are welcome to the source and the manual. I don't have time
to handle lots of requests or advice on how the code works. "A Book on C",
by Berry and Meekings published by Macmillan contains full 8080 source and comments
on how it is written.

Regards Adrian

---
Adrian Cockcroft -  adrian.cockcroft@uk.sun.com or adrian.cockcroft@sun.co.uk
Sun Microsystems, 306 Science Park, Milton Road, Cambridge CB4 4WG, UK
Phone +44 223 420421 - Fax +44 223 420257	Sun Mailstop: ECBG01
Technical Details
Message-ID: <1jjq8tINNhct@uk-news.uk.sun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sixgun.East.Sun.COM!uk-news.uk.sun.com!uk-news.uk.sun.com!usenet
References: <9301183219@gandalf.moria>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sixgun.East.Sun.COM!uk-news.uk.sun.com!uk-news.uk.sun.com!usenet
From: adrianc@cobblers.uk.sun.com (Adrian Cockcroft - Sun UK - Cambridge SE - SPARC Specialist)
Newsgroups: comp.sys.transputer
Subject: Re: Small-C for transputer?s?
Date: 20 Jan 1993 15:14:32 GMT
Organization: Sun Microsystems (UK) Ltd
Lines: 27
Distribution: world
Message-ID: <1jjq8tINNhct@uk-news.uk.sun.com>
References: <9301183219@gandalf.moria>
Reply-To: adrianc@cobblers.uk.sun.com
NNTP-Posting-Host: cobblers.uk.sun.com