From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b35662569d042096 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,b35662569d042096 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-09-10 09:21:41 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in!easynews!sjcppf01.usenetserver.com!e420r-sjo4.usenetserver.com!usenetserver.com!sjcpnn01.usenetserver.com.POSTED!not-for-mail Message-ID: <3B9CDB44.E860D265@srv.net> From: Kevin Handy X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: MicroVAX II - Parity Check Test... References: <3B9BF0F4.461005F7@ins-msi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Mon, 10 Sep 2001 12:23:36 EDT Organization: WebUseNet Corp. http://corp.webusenet.com - ReInventing the UseNet Date: Mon, 10 Sep 2001 09:24:52 -0600 Xref: archiver1.google.com comp.os.vms:43729 comp.sys.dec:7162 sword7@speakeasy.org wrote: > > In comp.os.vms Jeff Campbell 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.