From: Kevin Handy <kth@srv.net>
Subject: Re: MicroVAX II - Parity Check Test...
Date: Mon, 10 Sep 2001 09:24:52 -0600 [thread overview]
Message-ID: <3B9CDB44.E860D265@srv.net> (raw)
In-Reply-To: tpo961mi9atjb3@corp.supernews.com
sword7@speakeasy.org wrote:
>
> In comp.os.vms Jeff Campbell <jcampbell@ins-msi.com> wrote:
> > What's in the Machine Check Error Summary Register, IPR 38(decimal)?
> > What
> > are the values in the Machine Check Parameter Block on the stack? In
> > case
> > you don't have the layout: (longwords)
>
> > sp: byte count
> > machine check code
> > most recent virtual address
> > internal state information
> > pc
> > psl
>
> I already know that but I am figuring how to implement parity check
> alogrithm...
The parity test is just to look for bad memory.
Parity uses an additional bit of memory attached to the side of each
memory location. It is set up to make the number of bits turned "on"
even (for even parity), or odd (for odd parity). When a memory location
is read in, it checks the memory location + the parity bit to make sure
the number of "on" bits are correct. I don't know if the VAX uses
even or odd parity, or if it is byte or word based.
I don't know if the MicroVaxes ever used them, but some memory boards
DEC used used ECC memory checks instead of a simple parity check.
Instead of handling actual parity calculations, could you just write a
"this memory location is bad" test for that specific location being
referenced by that specific instruction? Otherwise parity calculations
would probably consume most of the emulator time when this check should
be the only time you should ever get one, as well as needing the extra
bit of memory for each memory location (plus setting and reading it
on every memory access).
Another option would be to modify the ROM to disable this parity test.
You can probably assume perfect memory, and let the OS the emulator is
running on worry about bad memory.
next prev parent reply other threads:[~2001-09-10 15:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-09 1:52 MicroVAX II - Parity Check Test sword7
2001-09-09 23:17 ` Jeff Campbell
2001-09-10 2:26 ` sword7
2001-09-10 15:24 ` Kevin Handy [this message]
2001-09-10 18:30 ` emanuel stiebler
2001-09-10 22:38 ` 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