home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / transput / 1423 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.8 KB

  1. Path: 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
  2. From: adrianc@cobblers.uk.sun.com (Adrian Cockcroft - Sun UK - Cambridge SE - SPARC Specialist)
  3. Newsgroups: comp.sys.transputer
  4. Subject: Re: Small-C for transputer?s?
  5. Date: 20 Jan 1993 15:14:32 GMT
  6. Organization: Sun Microsystems (UK) Ltd
  7. Lines: 27
  8. Distribution: world
  9. Message-ID: <1jjq8tINNhct@uk-news.uk.sun.com>
  10. References: <9301183219@gandalf.moria>
  11. Reply-To: adrianc@cobblers.uk.sun.com
  12. NNTP-Posting-Host: cobblers.uk.sun.com
  13.  
  14.  
  15. Many years ago I ported the Dr Dobbs small-C compiler from 8080 to 6809
  16. running FLEX-9. I parameterised the output so that the 6809 macro assembler
  17. actually did the translation from intermediate code to 6809 code and I 
  18. did macro sets for 6801 and other variants. A friend did some mods and got
  19. it going on a 68000 (Sinclair QL !). I wrote a nice manual and
  20. sold around a hundred copies to FLEX-9 users around 1985.
  21.  
  22. Given a good macro assembler this could easily be modified to generate
  23. (fairly inefficient) transputer code. It assumes one working register
  24. and stack for everything else so not many changes would be needed.
  25. The C library was partly coded in 6809 assembler (strlen etc).
  26.  
  27. I still have the code on-line, if someone *really* wants to try a port
  28. then they are welcome to the source and the manual. I don't have time
  29. to handle lots of requests or advice on how the code works. "A Book on C",
  30. by Berry and Meekings published by Macmillan contains full 8080 source and comments
  31. on how it is written.
  32.  
  33. Regards Adrian
  34.  
  35. ---
  36. Adrian Cockcroft -  adrian.cockcroft@uk.sun.com or adrian.cockcroft@sun.co.uk
  37. Sun Microsystems, 306 Science Park, Milton Road, Cambridge CB4 4WG, UK
  38. Phone +44 223 420421 - Fax +44 223 420257    Sun Mailstop: ECBG01
  39.  
  40.  
  41.