From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,4e4111eea2a9cc8e X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,4e4111eea2a9cc8e X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-09-01 14:18:08 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!news-feeds.jump.net!dfw-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail Message-ID: <3B91509A.C2D2FB85@ins-msi.com> From: Jeff Campbell Organization: INS-MSI Inc. X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP. References: <3B8FFF29.7A050DF5@ins-msi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 01 Sep 2001 21:50:03 GMT NNTP-Posting-Host: 209.190.33.241 X-Trace: news 999381003 209.190.33.241 (Sat, 01 Sep 2001 17:50:03 EDT) NNTP-Posting-Date: Sat, 01 Sep 2001 17:50:03 EDT Xref: archiver1.google.com comp.os.vms:42501 comp.sys.dec:6883 sword7@speakeasy.org wrote: > > In comp.os.vms Jeff Campbell 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