From: emanuel stiebler <emu@ecubics.com>
Subject: Re: MicroVAX II - Parity Check Test...
Date: Mon, 10 Sep 2001 12:30:01 -0600 [thread overview]
Message-ID: <3B9D06A9.F4CDB95B@ecubics.com> (raw)
In-Reply-To: tplir5ja3nnq74@corp.supernews.com
sword7@speakeasy.org wrote:
>
> Hello folks:
> When it set up MSER<2> (Write Wrong Parity), then put a trap on desired
> location to try to read. When it attempts to read, Machine-Check
> exception occured with parity error settings on MSER and CEAR register.
>
> MOVB #03,@#MSER <- Enable wrong parity write
> MOVL #55555555,@#FF0000 <- Put a trap on location FF0000.
> MOVB #01,@#MSER <- Turn off it.
> MOVL @#FF0000,R5 <- Machine-Check Exception occurs.
>
> Does anyone know parity check alogrithm? I believe that parity check
> slows down my emulation or so.
Emulating the parity bit in software is IMHO not a good idea. What we
did when running into this problem is:
Since it's save to assume that forced wrong parity writes are the only
source of parity errors in the emulator, it's enough to have a flag
indicating the existence of "bad" spots in emulated memory and eg. a
list of these spots. If the above flag is set, access to (physical)
memory is redirected to a check-routine which compares the address to
the bad spots. If a bad spot is hit then mcheck occurs, else normal.
cheers
next prev parent reply other threads:[~2001-09-10 18:30 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
2001-09-10 18:30 ` emanuel stiebler [this message]
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