Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Using a 2 KWord I/O Page on a PDP-11 Running RT-11
@ 1998-03-21  5:00 Jerome Fine
  1998-03-21  5:00 ` Megan
  0 siblings, 1 reply; 9+ messages in thread
From: Jerome Fine @ 1998-03-21  5:00 UTC (permalink / raw)



I am posting this request to all three groups in order to obtain
somewhat wider coverage.

I have an old DEC memory board M8044 (64 KBytes)
which allows for a wire wrap of an I/O page of 2 KWords.
I tried this on a friend's system using a quad 11/73 in a
BA23 box.  I ran RT11SJ and did a "SHOW  MEMORY"
which showed the top of memory to be 160000 rather
than 170000.  Just in case the monitor was unable to
use the memory between 160000 and 167776, I also
ran ODT an tried to access the addresses in the range
above 160000.  I was disappointed to find that software
ODT could not find any memory above 160000.

I am aware that it should be possible to have the CPU
run with a 2 KWord I/O Page, but I do not understand
what I must do.  Can an 11/73 in a 22 bit backplane
invoke a 2 KWord I/O Page?  Or is this situation
reserved for only an 11/23?  Or must a 16 bit backplane
be used (or at the most an 18 bit backplane like in a
BA-11 box)?

Any help would obviously be appreciated.

Sincerely yours,

Jerome Fine
RT-11/TSX-PLUS  User/Addict




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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  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
  1998-03-26  5:00   ` Carl Lowenstein
  0 siblings, 2 replies; 9+ messages in thread
From: Megan @ 1998-03-21  5:00 UTC (permalink / raw)



Jerome Fine <jhfine@idirect.com> writes:

>I have an old DEC memory board M8044 (64 KBytes)
>which allows for a wire wrap of an I/O page of 2 KWords.
>I tried this on a friend's system using a quad 11/73 in a
>BA23 box.  I ran RT11SJ and did a "SHOW  MEMORY"
>which showed the top of memory to be 160000 rather
>than 170000.  Just in case the monitor was unable to
>use the memory between 160000 and 167776, I also
>ran ODT an tried to access the addresses in the range
>above 160000.  I was disappointed to find that software
>ODT could not find any memory above 160000.

Having just checked this out recently for someone, I can
tell you that the documentation specifically states that
the I/O page is 8kb (4kw), no mention at all of being
able to have it set 4kb (2kw).

To check this out, I installed an 11/83 board with an MSV11-D
memory board jumpered for bank7 response.  MAP showed memory
from 000000-177776.  When I booted SB, top of memory was
160000.  I installed the patch to allow booting as high as
170000 and tried rebooting... top of memory was still 160000.

>I am aware that it should be possible to have the CPU
>run with a 2 KWord I/O Page, but I do not understand
>what I must do.  Can an 11/73 in a 22 bit backplane
>invoke a 2 KWord I/O Page?  Or is this situation
>reserved for only an 11/23?  Or must a 16 bit backplane
>be used (or at the most an 18 bit backplane like in a
>BA-11 box)?

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 also tried disabling the 11/83 ROM code which starts
at 165000, but to no avail.

					Megan Gentry
					Former RT-11 Developer

+--------------------------------+-------------------------------------+
| Megan Gentry                   | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support Engineering Group |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation  |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43   | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062               | "pdp-11 programmer, some assembler  |
| (603) 884 1055                 |  required" - mbg                    |
+--------------------------------+-------------------------------------+




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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-21  5:00 ` Megan
@ 1998-03-22  5:00   ` John Wilson
  1998-03-22  5:00     ` Tim Shoppa
  1998-03-25  5:00     ` Megan
  1998-03-26  5:00   ` Carl Lowenstein
  1 sibling, 2 replies; 9+ messages in thread
From: John Wilson @ 1998-03-22  5:00 UTC (permalink / raw)



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



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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-22  5:00   ` John Wilson
@ 1998-03-22  5:00     ` Tim Shoppa
  1998-03-22  5:00       ` Megan
  1998-03-25  5:00     ` Megan
  1 sibling, 1 reply; 9+ messages in thread
From: Tim Shoppa @ 1998-03-22  5:00 UTC (permalink / raw)



In article <3514835b.0@news.wizvax.net>, John Wilson <wilson@dbit.com> wrote:
>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)
>...
>But what about Unibus machines?  They have no need of a BBS7-like signal
>since the address bus is always 18 bits wide.
>...

Maybe I'm confusing things, but wasn't the Falcon (aka SBC-11/21) the
only machine that has official support for a 2kW I/O page in RT-11?

Tim. (shoppa@triumf.ca)



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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-22  5:00     ` Tim Shoppa
@ 1998-03-22  5:00       ` Megan
  1998-03-22  5:00         ` Stuart Brook
  0 siblings, 1 reply; 9+ messages in thread
From: Megan @ 1998-03-22  5:00 UTC (permalink / raw)



shoppa@alph02.triumf.ca (Tim Shoppa) writes:


>Maybe I'm confusing things, but wasn't the Falcon (aka SBC-11/21) the
>only machine that has official support for a 2kW I/O page in RT-11?

Nope... the PDT-11s had 60kb available to the user, with a 4kb I/O
page.  11/23 systems could also be configured with a 4kb I/O page and
60kb available to the user.

					Megan Gentry
					Former RT-11 Developer

+--------------------------------+-------------------------------------+
| Megan Gentry                   | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support Engineering Group |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation  |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43   | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062               | "pdp-11 programmer, some assembler  |
| (603) 884 1055                 |  required" - mbg                    |
+--------------------------------+-------------------------------------+




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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-22  5:00       ` Megan
@ 1998-03-22  5:00         ` Stuart Brook
  1998-03-22  5:00           ` Megan
  0 siblings, 1 reply; 9+ messages in thread
From: Stuart Brook @ 1998-03-22  5:00 UTC (permalink / raw)



Megan wrote:
> 
> shoppa@alph02.triumf.ca (Tim Shoppa) writes:
> 
> >Maybe I'm confusing things, but wasn't the Falcon (aka SBC-11/21) the
> >only machine that has official support for a 2kW I/O page in RT-11?
> 
> Nope... the PDT-11s had 60kb available to the user, with a 4kb I/O
> page.  11/23 systems could also be configured with a 4kb I/O page and
> 60kb available to the user.
> 
>                                         Megan Gentry
>                                         Former RT-11 Developer
> 
> +--------------------------------+-------------------------------------+
> | Megan Gentry                   | tcp/ip (work):   gentry@zk3.dec.com |
> | Unix Support Engineering Group |      or: gentry@rusure.enet.dec.com |
> | Digital Equipment Corporation  |    (non-work):    mbg@world.std.com |
> | 110 Spitbrook Rd. ZK03-2/T43   | URL http://world.std.com/~mbg/      |
> | Nashua, NH 03062               | "pdp-11 programmer, some assembler  |
> | (603) 884 1055                 |  required" - mbg                    |
> +--------------------------------+-------------------------------------+
-------

Incredible that this comes up again for others ... I had a call about
this early last week.

The 2K I/O page is a function of a specific MSV-11 memory card.  Can't
remember which flavour at the moment.

RT-11 from what I can gather will *detect* and *use* a 2K I/O page, but
you can't use RT to set a 2K I/O page as if it were a software
selectable option.  There is a patch to disable a detected 2K I/O page
in the SYSGEN Book.

Stuart



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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-22  5:00         ` Stuart Brook
@ 1998-03-22  5:00           ` Megan
  0 siblings, 0 replies; 9+ messages in thread
From: Megan @ 1998-03-22  5:00 UTC (permalink / raw)



Stuart Brook <sbrook@concentric.net> writes:

>Incredible that this comes up again for others ... I had a call about
>this early last week.

>The 2K I/O page is a function of a specific MSV-11 memory card.  Can't
>remember which flavour at the moment.

I know that the MSV11-D{A,B,C,D} boards allow selection of the
reduced I/O page... (Bank7 select, if I remember).  The MSV11-P
and MSV11-L memory boards may as well, but I would have to check.

The specific person I was checking this out for was using the boards
with a KDJ11-B, which appears to have a specific restriction.

>RT-11 from what I can gather will *detect* and *use* a 2K I/O page, but
>you can't use RT to set a 2K I/O page as if it were a software
>selectable option.  There is a patch to disable a detected 2K I/O page
>in the SYSGEN Book.

Exactly... there is a customization patch to use less memory than
you actually have, but it should use by default all the low memory
space...

The code to check is in BSTRAP.MAC...

					Megan Gentry
					Former RT-11 Developer

+--------------------------------+-------------------------------------+
| Megan Gentry                   | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support Engineering Group |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation  |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43   | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062               | "pdp-11 programmer, some assembler  |
| (603) 884 1055                 |  required" - mbg                    |
+--------------------------------+-------------------------------------+




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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-22  5:00   ` John Wilson
  1998-03-22  5:00     ` Tim Shoppa
@ 1998-03-25  5:00     ` Megan
  1 sibling, 0 replies; 9+ messages in thread
From: Megan @ 1998-03-25  5:00 UTC (permalink / raw)



wilson@dbit.com (John Wilson) writes:

>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).

In reading the 11/83 manual, I have found paragraphs describing how
non-I/O page addresses are fixed below 17760000 and addresses above
this point are separated into 'internal' I/O page addresses,
'external' I/O page addresses and CPU register addresses.

External I/O page addresses are those supplied by other options.
Internal I/O page addresses are those supplied by the KDJ11-B, and
CPU registers are those in a specific range (which I can't quote
since I don't have the manual immediately available).

I tried using a KDJ11-B processor board and an MSV11-DD strapped to
respond to bank7 addresses.  What I found was that the memory (all
of it) showed up in a 'MAP', which is what I would expect since it
really is physical memory between 000000 and 177776.  But when I
booted RT-11 SB, it was only able to see up to 157776.  This is in
keeping with the forced 4kw I/O page...

					Megan Gentry
					Former RT-11 Developer

+--------------------------------+-------------------------------------+
| Megan Gentry                   | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support Engineering Group |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation  |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43   | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062               | "pdp-11 programmer, some assembler  |
| (603) 884 1055                 |  required" - mbg                    |
+--------------------------------+-------------------------------------+



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

* Re: Using a 2 KWord I/O Page on a PDP-11 Running RT-11
  1998-03-21  5:00 ` Megan
  1998-03-22  5:00   ` John Wilson
@ 1998-03-26  5:00   ` Carl Lowenstein
  1 sibling, 0 replies; 9+ messages in thread
From: Carl Lowenstein @ 1998-03-26  5:00 UTC (permalink / raw)



In <Eq6ytE.850@world.std.com> Megan wrote:
| Jerome Fine <jhfine@idirect.com> writes:
| 
| >I have an old DEC memory board M8044 (64 KBytes)
| >which allows for a wire wrap of an I/O page of 2 KWords.
| >I tried this on a friend's system using a quad 11/73 in a
| >BA23 box.  I ran RT11SJ and did a "SHOW  MEMORY"
| >which showed the top of memory to be 160000 rather
| >than 170000.  Just in case the monitor was unable to
| >use the memory between 160000 and 167776, I also
| >ran ODT an tried to access the addresses in the range
| >above 160000.  I was disappointed to find that software
| >ODT could not find any memory above 160000.
| 
| Having just checked this out recently for someone, I can
| tell you that the documentation specifically states that
| the I/O page is 8kb (4kw), no mention at all of being
| able to have it set 4kb (2kw).

Let's try to remember the hardware and software context in which
the 2kW I/O page first came about.  A simple LSI-11 (11/03) system
with 16-bit address space and no memory management.

In that situation, a 2kW increase in available memory, from 28kW
to 30kW, was really significant.  RT-11 could use it, we could run
bigger programs, etc.  The only down side was having to rewire
some peripheral controllers to have addresses above the 170000 boundary.
It just worked.

In later days, available memory space increased to a huge 248kB or 4MB
and a 4kB memory increment was a much smaller relative gain.

    carl

--
        carl lowenstein   marine physical lab   u.c. san diego
                                          clowenstein@ucsd.edu




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

end of thread, other threads:[~1998-03-26  5:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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