The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [Unix-jun72] last1120 C compiler added to svn
@ 2008-05-05  4:52 Warren Toomey
  2008-05-05  9:10 ` Peter Jeremy
  0 siblings, 1 reply; 6+ messages in thread
From: Warren Toomey @ 2008-05-05  4:52 UTC (permalink / raw)


I'm still working on the last1120 C compiler, so I've added the original code
to svn. Right now, the compiler executes fine under Apout (enough to recompile
itself), but not on V1 with the 0407 patch. I can compile simple C programs,
and execute the resulting 0407 binary on V1. I'm running this program to get a
memory dump of the process while it is running:

main()
{
  char c[];
  int i;
  printf("Hello world\n");
  c= main;
  while (c != 0) {
    i= *c & 0277;
    printf("%o %o\n", c, i);
    c++;
  }
}

so I can compare the Apout memory environment with the V1 memory environment.
But it's very sloooow. I wonder why; V7 on simh is much faster than V1.

Cheers,
	Warren

P.S The C compiler doesn't have for loops :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-07 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05  4:52 [Unix-jun72] last1120 C compiler added to svn Warren Toomey
2008-05-05  9:10 ` Peter Jeremy
2008-05-05 11:36   ` [Unix-jun72] Why is V1 so slow? Warren Toomey
2008-05-05 11:44     ` Warren Toomey
2008-05-07 10:19       ` P.A.Osborne
2008-05-07 11:14         ` Warren Toomey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).