home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / intel / 2792 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.1 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!darwin.sura.net!sgiblab!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
  2. From: Bruce.Weinel@p1.f456.n632.z3.fidonet.org (Bruce Weinel)
  3. Newsgroups: comp.sys.intel
  4. Subject: Q: What's wrong with this?
  5. Message-ID: <724915519.AA02986@csource.oz.au>
  6. Date: 20 Dec 92 18:05:26 GMT
  7. Sender: gateway@csource.oz.au
  8. Lines: 48
  9.  
  10. kovarski@zooid.guild.org was heard in "The Pit" saying to  All
  11.  
  12.   MK> From: Mark Kovarski <kovarski@zooid.guild.org>
  13.   MK> Organization: ZOOiD BBS
  14.   MK> 
  15.   MK> I have the following it of code which was given to me.
  16.   MK> Aside from the "few" errors, the person claims that
  17.   MK> this will cause a message:
  18.   MK> 
  19.   MK> ON BOARD PARITY ERROR
  20.   MK> ADDR (HEX) = (xxxx:xxxx)
  21.   MK> SYSTEM HALTED.
  22.   MK> 
  23.   MK> This apparently appears when the following is run:
  24.   MK> 
  25.   MK> mov al,74
  26.   MK> out 43,al
  27.   MK> mov al,ff
  28.   MK> out 41,al
  29.   MK> mov al,ff
  30.   MK> out 41,al
  31.   MK> ret
  32.   MK> ----------
  33.   MK> I can not check this since I am running OS/2 and traps
  34.   MK> the error before it appears on the screen. The person
  35.   MK> claims that he interfers with the DMA refresh rate and
  36.   MK> this is the reason a parity error appears.
  37.   MK> 
  38.   MK> Could someone check if this is the case and if so, why
  39.   MK> the error appears. From my understanding, a parity error
  40.   MK> can only be caused by DRAM and I/O parity errors. Furthermore,
  41.   MK> on the PC AT, 2BH and 29H are the post addresses for the
  42.   MK> Interrupt controller (8259A). THe Programmer's PC Sourcebook
  43.   MK> mentiones that ports 20 and 21 are only used. There seems to
  44.   MK> be something very strange going on with this program. Thanks...
  45.  
  46. The values given (74, 43 and 41) are in hex; just like the 'ff'. The first two
  47. commands select Counter 1 (which controls refressh) for a 16-bit read or write
  48. into the rate generator. The next four output FFFFh to the rate generator.
  49. This
  50. effectively stops (actually slows dramatically) memory refresh. Your DRAMs
  51. then
  52. slowly lose their charge and eventually a parity error results.
  53.  
  54. I would suggest keeping this person away from your PC.   I-{>
  55.  
  56.  
  57.  * Origin: Howls from "The Pit" BBS (03) 321-3295 (3:632/456.1@fidonet)
  58.