From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b35662569d042096 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,b35662569d042096 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-09-10 11:29:11 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news-reader.ntrnet.net!uunet!ash.uu.net!spool1.news.uu.net!spool0.news.uu.net!reader2.news.uu.net!not-for-mail Message-ID: <3B9D06A9.F4CDB95B@ecubics.com> Date: Mon, 10 Sep 2001 12:30:01 -0600 From: emanuel stiebler 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: MicroVAX II - Parity Check Test... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.90.186.226 X-Trace: reader2.news.uu.net 1000146548 144 63.90.186.226 Xref: archiver1.google.com comp.os.vms:43752 comp.sys.dec:7171 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