<div dir="auto">So did Chris compiler go back to the Nu project?   And thank you to Al for the Trix sources. As I said.  It was national 16032 not z8000.    </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">FYI I had the whitesmith compiler at one point also. It generated code for a funky assembler called “anat” for “a natural assembler” which PJ conjured up for writing the compiler. It was was sort of a mix between an IL and 8080 assembler if my memory is correct.    I’d love to see that distribution both the doc and the compiler again to May with on SIMH.  I suspect I might appreciate it more than I did in those days.  I hated it then but as I learned more about compilers and architectures PJ might have been on to something.  <br clear="all"><br clear="all"><div dir="auto"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from a handheld expect more typos than usual</div></div></div><div><br></div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Apr 30, 2025 at 10:07 AM Jonathan Gray <<a href="mailto:jsg@jsg.id.au">jsg@jsg.id.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Apr 30, 2025 at 09:11:35AM -0400, Noel Chiappa wrote:<br>
>     > From: Clem Cole<br>
> <br>
>     > Yes, that was one of the RTS compilers for the NU machine. John Romkey<br>
>     > may have done it, as he was the primary person behind PCIP<br>
> <br>
> I decided to poke around in the 'MIT-CSR' dump, since that was the machine<br>
> the PC/IP project started on, to see what I could find. Hoo boy! What an<br>
> adventure!<br>
> <br>
> In the PC/IP area, I found a 'c86' directory - but it was almost empty. It<br>
> did have a shell file, 'grab', which contained:<br>
> <br>
>   tftp -g $1 xx "PS:<Wayne>$1"<br>
> <br>
> and a 'graball' file which called 'grab' for the list of compiler source<br>
> files. ('xx' was MIT-XX, the TOPS-20 main time-sharing machint of LCS.)<br>
> <br>
> So I did a Web search for Wayne Gramlich (with whom I hadn't communicated in<br>
> many decades), and he popped right up. (Amazing thing, this Internet thingy.<br>
> Who'd have ever thought, back in the day, that it would turn into what it<br>
> did? Well, probably John Brunner, whom I (sadly) never met, who was there<br>
> before any of us.)<br>
> <br>
> I took a chance, and called his number, and he was there, and we had a long<br>
> chat. He absolutely didn't do it, although he wrote the loader the project<br>
> used ('l68', the source for which I did find.) He's virtually certain Romkey<br>
> didn't (which would have been my guess too; Romkey was like a sophmore when<br>
> the project started). His best (_very_ faded) memory was that they started off<br>
> with a commercial compiler. (But see below.)<br>
> <br>
> That leaves several mysteries. 1) Why would a commercial compiler not come<br>
> with a linker? 2) Why did people who wanted to work with the PC/IP source<br>
> need a Bell license?<br>
> <br>
> <br>
> I did some more poking, and the list of files for the 86 compiler, from<br>
> 'graball':<br>
> <br>
>   trees.c optim.c pftn.c code.c local.c scan.c xdefs.c<br>
>   table.c reader.c local2.c order.c match.c allo.c comm1.c<br>
>   manifest mfile1 common macdefs mfile2 mac2defs<br>
> <br>
> matched the file names from 'pcc', as given in "A Tour Through the Portable C<br>
> Compiler":<br>
> <br>
>   <a href="https://maibriz.de/unix/ultrix/_root/porttour.pdf" rel="noreferrer" target="_blank">https://maibriz.de/unix/ultrix/_root/porttour.pdf</a><br>
> <br>
> (in section "The Source Files"). So whether the 86 compiler was done at MIT<br>
> (by someone in RTS), or at a company, it was definitely a 'pcc' descendant.<br>
> <br>
> (Possibly adding to the confusion, we had some other C compilers for various<br>
> ISA's in that project [building networking software for various<br>
> micro-computers], including an 8080 C compiler from Whitesmiths, Ltd, which I<br>
> have also found. It's possible that Wayne's vague memory of a commercial<br>
> compiler is of that one?)<br>
> <br>
> I really should reach out to Romkey and Bridgham, to see what they remember.<br>
> Later today.<br>
> <br>
> Whether the main motivation for keeping the compiler source on XX was i)<br>
> because disk space was short on CSR (we had only a hand-me-down pair of<br>
> CalComp Model 215 drives - capacity 58 Mbytes per drive!); ii) to prevent<br>
> version skew; or iii) because it was a commercial compiler, and we had to<br>
> protect the source (e.g. we didn't have the source to the 8080 compiler, only<br>
> the object modules), I have no idea.<br>
> <br>
> <br>
>     > Anyway the MIT RTS folks made hardware and PCC back ends for the 68K,<br>
>     > Z8000 and 8086. I believe that each had separate assemblers, tjt who<br>
>     > sometimes reads this list might know more, as he wrote the 68K assembler.<br>
> <br>
> There is an 'a86' directory on CSR, but it too is empty, except for a 'grab'<br>
> command file. That contains only:<br>
> <br>
>   tftp -g $1 xx "PS:<novick>$1"<br>
> <br>
> I have no memory of who 'novick' might have been. A Web search for 'novick<br>
> mit lcs' didn' turn anything up. (I wonder if it might have been Carol<br>
> Novitsky; she was in our group at LCS, and I have a vague memory of her being<br>
> associated with the networking software for micro-computers project.)<br>
> <br>
> Anyway, it probably doesn't matter; the c86 'grab' referred to Wayne, but he<br>
> didn't write c86; 'novick' might not have written a86.<br>
> <br>
> Something else to ask Romkey and Bridgham about.<br>
> <br>
>         Noel<br>
<br>
"a version of the portable C Compiler that was modified by Chris Terman<br>
to produce code for an 8086 microprocessor was ported from the RTS VAX/780<br>
to the CSR PDP-11/45."<br>
<a href="https://people.csail.mit.edu/saltzer/Multics/MHP-Saltzer-060508/bookcases/RFCs/csr-rfc-225.pdf" rel="noreferrer" target="_blank">https://people.csail.mit.edu/saltzer/Multics/MHP-Saltzer-060508/bookcases/RFCs/csr-rfc-225.pdf</a><br>
<br>
"If you think that you need the source code, you should realize that a<br>
prerequisite to compiling the PC/IP programs is that you must have<br>
imported Chris Terman's 8086 version of the UNIX Portable C compiler and<br>
associated loader and assember systems. That importation in turn requires<br>
a UNIX system, a current UNIX license, and negotiation with Chris Terman."<br>
<a href="https://web.mit.edu/saltzer/www/publications/pcmemo.pdf" rel="noreferrer" target="_blank">https://web.mit.edu/saltzer/www/publications/pcmemo.pdf</a><br>
</blockquote></div></div>