The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: wkt@tuhs.org (Warren Toomey)
Subject: [Unix-jun72] C compiler status
Date: Mon, 5 May 2008 17:50:17 +1000	[thread overview]
Message-ID: <20080505075017.GA81081@minnie.tuhs.org> (raw)
In-Reply-To: <20080505071212.GA80277@minnie.tuhs.org>

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.

	Warren




  reply	other threads:[~2008-05-05  7:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05  6:08 Warren Toomey
2008-05-05  6:59 ` Tim Newsham
2008-05-05  7:12   ` Warren Toomey
2008-05-05  7:50     ` Warren Toomey [this message]
2008-05-05  8:02       ` [Unix-jun72] C compiler: it works! Warren Toomey
2008-05-05  8:38         ` Warren Toomey
2008-05-05 16:57       ` [Unix-jun72] C compiler status Tim Newsham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080505075017.GA81081@minnie.tuhs.org \
    --to=wkt@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).