[Unix-jun72] C compiler status

Warren Toomey wkt at tuhs.org
Mon May 5 17:50:17 AEST 2008

On Mon, May 05, 2008 at 05:12:12PM +1000, Warren Toomey wrote:
> It looks like we are not starting /usr/lib/c0 properly: the CPU never gets
> to execute at 040000, and we end up in sysbreak without ever calling it.

Um, just an observation: u0.s defines:

core = orig+40000  / specifies beginning of user's core
ecore = core+20000 / specifies end of user's core (4096 words)

so a user program has 020000 bytes of space; but size /usr/lib/c0 gives:

023326+03574+06640=035762, and 035762 >> 020000.

Is the value of ecore arbitrary? What's above ecore, the kernel stack?
Mind you, if we set ecore== 040000+035762, thats 075762 which doesn't
leave much room, assuming that memory on the PDP-11/20 ends at 100000.


More information about the TUHS mailing list