The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: sms@moe.2bsd.com (Steven M. Schultz)
Subject: Diff between 11/20 and 11/45?
Date: Wed, 8 Sep 1999 10:00:05 -0700 (PDT)	[thread overview]
Message-ID: <199909081700.KAA26837@moe.2bsd.com> (raw)

Hi -

> From: Dave Horsfall <dave at fgh.geac.com.au>
> Do you recall the PC-board hack on the sep-ID machines that changed

	No, I do not recall seeing a PCB hack (hacking on an 11/70 was
	frowned upon ;))

> the MFPI instruction to do something that was expressly prohibited?

	But I do know what that 'something' was.   In "user" or "supervisor"
	mode MPFI functioned as "MFPD" - a user program could not read its own 
	I(nstruction) space.    Only for "kernel" mode did MFPI access the
	I space.

> Something about allowing a user program to access something else, for
> some obscure hack or other...

	It was aimed at providing "execute only" code - a program could "run"
	but not "read" its code space.

	This caused problems though if trap handlers (floating point exception
	handling comes to mind) needed to retrieve the faulted instruction
	for inspection/analysis.  Thus in 2BSD there is a system call that
	programs can issue to request the KERNEL to do the 'mfpi' for them
	and return the value.

	Steven Schultz
	sms at moe.2bsd.com

Received: (from major at localhost)
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id TAA10091
	for pups-liszt; Thu, 9 Sep 1999 19:48:18 +1000 (EST)
Received: from Zeke.Update.UU.SE (IDENT:2026 at Zeke.Update.UU.SE [130.238.11.14])
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) with ESMTP id TAA10087
	for <pups at minnie.cs.adfa.edu.au>; Thu, 9 Sep 1999 19:48:09 +1000 (EST)
Received: from localhost (bqt at localhost)
	by Zeke.Update.UU.SE (8.8.8/8.8.8) with SMTP id LAA22975;
	Thu, 9 Sep 1999 11:58:20 +0200
Date: Thu, 9 Sep 1999 11:58:19 +0200 (MET DST)
From: Johnny Billquist <bqt@Update.UU.SE>
To: Warren Toomey <wkt at cs.adfa.edu.au>
cc: Unix Heritage Society <pups at minnie.cs.adfa.edu.au>
Subject: Re: Diff between 11/20 and 11/45?
In-Reply-To: <199909062356.JAA12397 at henry.cs.adfa.edu.au>
Message-ID: <Pine.VUL.3.93.990909115534.22939A-100000 at Zeke.Update.UU.SE>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-pups at minnie.cs.adfa.edu.au
Precedence: bulk

On Tue, 7 Sep 1999, Warren Toomey wrote:

> These executables were written for a PDP-11/20. Are there any significant
> USER-MODE differences between the 11/20 and later PDP-11 models? I'm
> thinking missing instructions, different addressing mode behaviour etc.

As far as I can remember, there aren't any huge differences. However, some
stuff behave differently in the 11/20. On the other hand, some stuff
behave differently in just about every implementation...

Condition flags on some instructions specifically. And the 11/20 might
have had some limitations on using the PC which differed as well.

I have a processor handbook for the "modern" -11s, which has a chart with
all differences between different models. I started writing it down, to
place in the PDP-11 FAQ, but haven't come that far yet...

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt at update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol




             reply	other threads:[~1999-09-08 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-08 17:00 Steven M. Schultz [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-07  6:04 Carl Lowenstein
1999-09-06 23:56 Warren Toomey

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=199909081700.KAA26837@moe.2bsd.com \
    --to=sms@moe.2bsd.com \
    /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).