Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wilson@dbit.com (John Wilson)
Subject: Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
Date: 1998/03/22	[thread overview]
Message-ID: <3514835b.0@news.wizvax.net> (raw)
In-Reply-To: Eq6ytE.850@world.std.com


In article <Eq6ytE.850@world.std.com>, Megan <mbg@world.std.com> wrote:
>Keep in mind that even with an 11/23, if you enable
>memory management the I/O page reverts (in hardware) to
>8kb (4kw).  It is probable that with the DCJ chip, this
>restriction was extended to all times, not just when the
>memory mapping is turned on.

I've been trying to get this stuff straight in my mind too, and I suspect that
for Q-bus processors it really mostly has to do with when the BBS7 signal gets
asserted.  It seems to me the only time the CPU has absolute control over the
size of the I/O page is when the MMU is turned off (or doesn't exist), since
then it gets to decide when to add high-order ones to the unmapped address
(or assert BBS7).  With the MMU enabled, software gets control over all 18/22
address lines so it can decide what addresses map where, but the CPU still
controls BBS7 and it seems reasonable for Q-bus memories to ignore accesses
when BBS7 is set (that saves having a second set of address comparators)
so unless you can get the memory to ignore BBS7, it will be invisible.

PMI machines confuse things more because (AFAIK) they don't even try to
access PMI memory unless the address is below the I/O page in their opinion.
But presumably you could still stick in 4 KB of Q-bus memory in the first
half of the I/O page, again assuming you could convince it to ignore BBS7
and respond to I/O page addresses (it would be slower than the rest of
memory though).

But what about Unibus machines?  They have no need of a BBS7-like signal
since the address bus is always 18 bits wide.  So here I would think that a
machine that used Unibus memory with the MMU enabled would have whatever size
I/O page software tells it to.  Local memory would have the CPU calling the
shots just like with Q-bus machines, which is why the 22-bit Unibus machines
with local memory busses, have the settable "Unibus fence" (but in that case
the purpose is *enlarging* the I/O page for bus windows etc.).  Similarly,
the CPU decides the I/O page size when the MMU is turned off because it
decides which addresses should have high-order 1s added to it.

John Wilson
D Bit



  reply	other threads:[~1998-03-22  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-21  5:00 Using a 2 KWord I/O Page on a PDP-11 Running RT-11 Jerome Fine
1998-03-21  5:00 ` Megan
1998-03-22  5:00   ` John Wilson [this message]
1998-03-22  5:00     ` Tim Shoppa
1998-03-22  5:00       ` Megan
1998-03-22  5:00         ` Stuart Brook
1998-03-22  5:00           ` Megan
1998-03-25  5:00     ` Megan
1998-03-26  5:00   ` Carl Lowenstein
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox