* Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
@ 2001-08-31 19:34 sword7
2001-08-31 20:59 ` antonio.carlini
2001-08-31 21:50 ` Jeff Campbell
0 siblings, 2 replies; 9+ messages in thread
From: sword7 @ 2001-08-31 19:34 UTC (permalink / raw)
Hello folks:
Well, I finally discovered that I had not loaded 0x300 into SAVPSL before
I execute the console program (20040000) after I endlessly debugged my
emulator due to lack of KA630 manuals for three days. When it was done,
all boot problems instantly disappeared!! Booting finally returned back
to normal. That's why SAVPSL must have 0x300 or boot will not work.
Does anyone have information about three processor registers about
SAVPSL, SAVPC, and SAVISP? How about Q-bus specs for MicroVAX II
series?
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
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-08-31 21:50 ` Jeff Campbell
1 sibling, 1 reply; 9+ messages in thread
From: antonio.carlini @ 2001-08-31 20:59 UTC (permalink / raw)
sword7@speakeasy.org wrote:
>
> Does anyone have information about three processor registers about
> SAVPSL, SAVPC, and SAVISP? How about Q-bus specs for MicroVAX II
> series?
I have an old and battered copy of
the 78032 user's guide (this is
for the chip itself ... I'm still
looking for the KA630 user guide!).
SAVISP saves the ISP at the time
a chip restart occurs.
SAVPC saves the PC.
SAVPSL saves the following:
<07:00> - PSW
<14:08> - restart code
<15:15> - MAPEN bit
<31:16> - PSL<31:16>
These get filled in when any of the following happen:
- RESET is asserted
- HALT is asserted (i.e. halt button pressed)
- HALT instruction is executed with chip in kernel mode
- severe hardware or kernel software corruption occurs
The manual states that these registers must
be saved before reenbaling the MMU or using
any emulated instructions.
The rest of the system state at this time
is:
SP = SP at time of restart
PSL = 0x041F0000
PC = 0x20040000
MAPEN = 0
ICCS = 0
SISR = 0
ASTLVL = 4
everything else is undefined
Antonio
--
---------------
Antonio Carlini arcarlini@iee.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-08-31 20:59 ` antonio.carlini
@ 2001-08-31 23:06 ` sword7
2001-09-01 16:06 ` antonio.carlini
0 siblings, 1 reply; 9+ messages in thread
From: sword7 @ 2001-08-31 23:06 UTC (permalink / raw)
In comp.os.vms antonio.carlini <arcarlini@iee.org> wrote:
> I have an old and battered copy of
> the 78032 user's guide (this is
> for the chip itself ... I'm still
> looking for the KA630 user guide!).
What is 78032 chip for? Of course, I might be interested in a copy..
Yes, I am still looking for the KA630 user guide too.
> SAVPSL saves the following:
> <07:00> - PSW
> <14:08> - restart code
> <15:15> - MAPEN bit
> <31:16> - PSL<31:16>
> These get filled in when any of the following happen:
> - RESET is asserted
> - HALT is asserted (i.e. halt button pressed)
> - HALT instruction is executed with chip in kernel mode
> - severe hardware or kernel software corruption occurs
Does anyone have information about restart code? Only I know that 0x3
is power-up state or so. I had seen 0x5, 0x3, and 0x2 in diassembled
VMB code.
> The manual states that these registers must
> be saved before reenbaling the MMU or using
> any emulated instructions.
Ok, thank you for information, I will put them in my emulator.
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-08-31 23:06 ` sword7
@ 2001-09-01 16:06 ` antonio.carlini
2001-09-02 0:01 ` sword7
0 siblings, 1 reply; 9+ messages in thread
From: antonio.carlini @ 2001-09-01 16:06 UTC (permalink / raw)
sword7@speakeasy.org wrote:
> What is 78032 chip for? Of course, I might be interested in a copy..
> Yes, I am still looking for the KA630 user guide too.
The 78032 is the chip used in the
MicroVAX II system (and the MicroVAX 2000
and possibly a few others). It probably
has a DCxxx number too, but I don't
recall what it might be.
If you get stuck with the MicroVAX II,
you could pick up the tech manual for
the MicroVAX 2000 from
http://208.190.133.201/decimages/moremanuals.htm
and have a go with that - there
might be fewer unknowns.
The 78032 user guide is badly bound and
falling apart, so I'll probably scan it
quite soon anyway.
> Does anyone have information about restart code? Only I know that 0x3
> is power-up state or so. I had seen 0x5, 0x3, and 0x2 in diassembled
> VMB code.
The documented codes are:
02 - HALT (the signal) asserted
03 - initial power on or RESET asserted
04 - int. stack not valid during exception
05 - machine check during machine check or kernal
stack invalid during exception
06 - HALT instruction while in kernel mode
07 - SCB vector <1:0> = 11
08 - SCB vector <1:0> = 10
09 - not listed !
0A - CHMx execute while on interrupt stack
10 - ACV or TNV during machine check
11 - ACV or TNV during kernel stack not valid exception
Antonio
--
---------------
Antonio Carlini arcarlini@iee.org
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-09-01 16:06 ` antonio.carlini
@ 2001-09-02 0:01 ` sword7
0 siblings, 0 replies; 9+ messages in thread
From: sword7 @ 2001-09-02 0:01 UTC (permalink / raw)
In comp.os.vms antonio.carlini <arcarlini@iee.org> wrote:
> If you get stuck with the MicroVAX II,
> you could pick up the tech manual for
> the MicroVAX 2000 from
> http://208.190.133.201/decimages/moremanuals.htm
> and have a go with that - there
> might be fewer unknowns.
Thank you for info. I found some userful information. I downloaded some.
Also, I found QD21 specs (UDA50/RXQDx) for disk/tape drives that MicroVAX
II requires. Also, I found KMC-11 and DUP-11 specs that I was looking for
more than a year for my working KS10 emulator! That is designed for
DECnet/ANF-10 network.
> The 78032 user guide is badly bound and
> falling apart, so I'll probably scan it
> quite soon anyway.
Go ahead and let me know.
>> Does anyone have information about restart code? Only I know that 0x3
>> is power-up state or so. I had seen 0x5, 0x3, and 0x2 in diassembled
>> VMB code.
> The documented codes are:
> 02 - HALT (the signal) asserted
> 03 - initial power on or RESET asserted
> 04 - int. stack not valid during exception
> 05 - machine check during machine check or kernal
> stack invalid during exception
> 06 - HALT instruction while in kernel mode
> 07 - SCB vector <1:0> = 11
> 08 - SCB vector <1:0> = 10
> 09 - not listed !
> 0A - CHMx execute while on interrupt stack
> 10 - ACV or TNV during machine check
> 11 - ACV or TNV during kernel stack not valid exception
Thank you for information again. 03 is initial power on. My guess was
right. I already tried 03 and KA630 console program finally perform
normally. Whew. I will implement that codes for 'halt' command, etc on
TS10 prompt.
-- 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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-08-31 19:34 Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP sword7
2001-08-31 20:59 ` antonio.carlini
@ 2001-08-31 21:50 ` Jeff Campbell
2001-08-31 23:00 ` sword7
1 sibling, 1 reply; 9+ messages in thread
From: Jeff Campbell @ 2001-08-31 21:50 UTC (permalink / raw)
sword7@speakeasy.org wrote:
>
> Hello folks:
>
> Well, I finally discovered that I had not loaded 0x300 into SAVPSL before
> I execute the console program (20040000) after I endlessly debugged my
> emulator due to lack of KA630 manuals for three days. When it was done,
> all boot problems instantly disappeared!! Booting finally returned back
> to normal. That's why SAVPSL must have 0x300 or boot will not work.
I would expect without *knowing* what the ROM code does that the initial
value for SAVPSL would be 0x1f0000. 0x300 is an illegal PSL value as the
'one' bits will be in a MBZ field if copied to the PSL. 0x1f0000 is
IPL 31, which will lock out all interrupts, including power fail.
>
> Does anyone have information about three processor registers about
> SAVPSL, SAVPC, and SAVISP? How about Q-bus specs for MicroVAX II
These three registers are unique to the MicroVAX II chip. They are
processor internal registers with addresses of:
41 Console Saved ISP SAVISP R/W
42 Console Saved PC SAVPC R/W
43 Console Saved PSL SAVPSL R/W
The register numbers are decimal. The M[TF}PR instruction is used to
access these registers.
The Q22-Bus memory space is addressed through physical addresses
0x30000000 to 0x303fffff. Note that the Q22-Bus does not have to
have any physical memory installed to function. But if Q22-Bus
physical memory is available it is addressed via these addresses.
The Q22-Bus IO mapping register array is located at 0x2008xxxx.
Each register maps a 512 byte page of Q22-Bus memory into
a selected page of local memory. The map register contains:
<31:31> V Valid bit. Indicates <14:00> value is valid.
<30:15> unused. These bits always read as zero.
<14:00> A23-A09 Address bits. These are the high 15 bits of a 24
bit local (physical) memory address.
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.
> series?
>
> 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)
Regards,
Jeff Campbell
n8wxs@arrl.net
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-08-31 21:50 ` Jeff Campbell
@ 2001-08-31 23:00 ` sword7
2001-09-01 21:50 ` Jeff Campbell
0 siblings, 1 reply; 9+ messages in thread
From: sword7 @ 2001-08-31 23:00 UTC (permalink / raw)
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...
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-08-31 23:00 ` sword7
@ 2001-09-01 21:50 ` Jeff Campbell
2001-09-01 23:52 ` sword7
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Campbell @ 2001-09-01 21:50 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Good news! MicroVAX II - SAVPSL, SAVPC, and SAVISP.
2001-09-01 21:50 ` Jeff Campbell
@ 2001-09-01 23:52 ` sword7
0 siblings, 0 replies; 9+ messages in thread
From: sword7 @ 2001-09-01 23:52 UTC (permalink / raw)
Jeff:
Ok, thank you for information about IPCR (0x20001F40). Also, I found
complete QD21 specs (same as UDA50/RXQDx). I already had DEQNA specs
before. Ok, I will finish my MicroVAX emulator soon.
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-09-02 0:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2001-09-01 23:52 ` sword7
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox