From: Jeff Campbell <jcampbell@ins-msi.com>
Subject: Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
Date: Sat, 01 Sep 2001 21:50:03 GMT [thread overview]
Message-ID: <3B91509A.C2D2FB85@ins-msi.com> (raw)
In-Reply-To: tp05ommg8m0bf5@corp.supernews.com
sword7@speakeasy.org wrote:
>
> In comp.os.vms Jeff Campbell <jcampbell@ins-msi.com> wrote:
> > The Q22-Bus IOPAGE addresses are directly addressed in the physical
> > address scheme at 0x20000000 to 0x20001fff.
>
> > The console ROM code must map enough local memory space to boot
> > the system. The Q22-Bus devices will be doing DMA into the physical
> > Q22-Bus address space. The mapping array will cause the DMA to
> > be to physical MicroVAX memory, page by page.
>
> Jeff:
>
> Thank you for information about Q-bus specs. However, I have one question
> for you about IOPAGE (20000000 to 20001FFF). I noticed that in traced
> execution log file and it tried to access 20001F40, etc. Does anyone
> have information about IOPAGE area? I assume that IOPAGE registers is
> for Q-bus registers. Q-bus memory space is for drive registers, ethernet
> registers, etc...
The Qbus has a signal wire called BB7SL: Bus Bank Seven Select Low. This
signal is asserted by the host CPU (MicroVAX, PDP11) to access the 8 KB
device IO space window. Effectively, BB7SL is another address line. In a
PDP11 the 16 bit physically addressable memory space is broken up into
eight 8 KB segments. With no MMU or the MMU not enabled the CPU can
address 64 KB: (addresses in octal)
0000000 bank 0
0020000 bank 1
0040000 bank 2
0060000 bank 3
0100000 bank 4
0120000 bank 5
0140000 bank 6
0160000 bank 7
When an address in the range 0160000 to 0177777 is asserted the BB7SL
is also asserted, indicating an IOPAGE access. Memory cards are required
to monitor this signal and not respond with BRPLYL when an IOPAGE
address cycle is in progress.
When the MMU is enabled, BB7SL is asserted when a virtual address in
the IOPAGE range is asserted and the contents of the bank 7 mapping
register (PAR 7) point to the last physically addressable bank.
In the MicroVAX II the physical memory space 0x20000000-0x20001fff
corresponds to bank 7 addressing, generating the BB7SL signal.
All IO device registers occur in the 8 KB bank 7 address space. Some
devices might also have memory that is visible on the Qbus. An
ethernet interface might dual port it's memory pool so that both
the host CPU (via the Qbus) and the onboard ethernet chip can share
the same memory. The MicroVAX would address this memory through the
0x30000000 space.
The whole 22 bit Qbus memory space is addressable through the
physical addresses starting at 0x30000000.
I forgot to mention the 0x20001f40 address before. This is a
register in the Qbus IOPAGE but implemented by the MicroVAX II chip.
It's called the Interprocessor Communications Register, IPCR. The IPCR
allows upto 4 CPUs to share the same Qbus! The IPCR defines these bits:
<15> DMA QPE - DMA Qbus Address Space Parity Error. MSER <4>
must be set to enable.
<14:09> unused, read as zero
<08> AUX HLT - Auxiliary Halt. Forces AUX CPU to enter HALT
ROM code.
<07> unused, read as zero
<06> DBI IE - Doorbell Interrupt Enable.
<05> LM EAE - Local Memory External Access Enable. Setting this
bit enables external access to local memory, by
means of the Q22-Bus Memory Mapping Registers.
<04:01> unused, read as zero
<00> DBI RQ - Doorbell Interrupt Request. Enabled by DBI IE.
>>> I noticed that in traced execution log file
>>> and it tried to access 20001F40, etc.
The LM EAE bit (0x20) would be set after the ROM code has initialized
the
mapping register array to allow the bootstrap driver(s) to have IO
buffer(s) the booted device interface can R/W. I think (do not know)
the ROM code maps the whole Qbus address space into the first 4 MB of
main memory page for page. Would make sense. 8-)
>
> Thank you!
>
> -- Tim Stark
>
> --
> Timothy Stark <>< Inet: sword7@speakeasy.org
> --------------------------------------------------------------------------
> "For God so loved the world, that he gave his only begotten Son, that
> whosoever believeth in him should not perish, but have everlasting life.
> Amen." -- John 3:16 (King James Version Bible)
Jeff Campbell
n8wxs@arrl.net
next prev parent reply other threads:[~2001-09-01 21:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-31 19:34 Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP sword7
2001-08-31 20:59 ` antonio.carlini
2001-08-31 23:06 ` sword7
2001-09-01 16:06 ` antonio.carlini
2001-09-02 0:01 ` sword7
2001-08-31 21:50 ` Jeff Campbell
2001-08-31 23:00 ` sword7
2001-09-01 21:50 ` Jeff Campbell [this message]
2001-09-01 23:52 ` sword7
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