home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 339.lha / ZeroMung.doc.pp / ZeroMung.doc
Text File  |  1990-02-08  |  2KB  |  57 lines

  1.  
  2.  
  3.     ZeroMung.doc                JDGJr                        900125
  4.  
  5.                             John D. Gerlach, Jr.
  6.                             3615 Barcroft View Terrace
  7.                             Apt #104
  8.                             Falls Church, VA 22041
  9.  
  10.                             bix: jgerlachjr
  11.  
  12.     This small(?) program is a QUICK coding of a useful debugging tool.
  13.     
  14.     It does only one thing: It modifies the value at location zero !!!!
  15.  
  16.     ------------------------------------------------------------------
  17.  
  18.     Some programs currently available make use of the following condition
  19.     in most Amiga computers:
  20.  
  21.                                 *0 == 0L
  22.  
  23.     This dependence should be interpreted as a BUG.
  24.  
  25.     If a program, or a piece of hardware happens to put a non-zero value into
  26.     location zero, odd things may begin to occur inside programs depending
  27.     on this anomoly. Noticed symptoms include:
  28.     - drastic slowing of program execution
  29.     - improper execution of minor areas of a program
  30.     - major inabilities to function properly.
  31.  
  32.     WARNING: This program either clears or sets location zero. Plan for
  33.     messages from either MemWatch, WatchMem, or any similar program if they
  34.     are running.
  35.  
  36.     Usage:    ZeroMung [option]
  37.  
  38.         If any parameters are passed, location zero is set to 0xFEFEFEFE.
  39.         If NO parameters are passed, location zero is cleared to zero.
  40.  
  41.         The status of location zero is displayed before these modifications
  42.         are made.
  43.  
  44.         ZeroMung may be placed in your startup-sequence BEFORE any memory-
  45.         watchers to set or clear location zero everytime the machine is 
  46.         booted.
  47.  
  48.     This program was written to debug a situation presented by a bad ROM on
  49.     a HD controller card. The auto-booting board was modifying location
  50.     zero before any memory-watcher had the slightest chance of noticing.
  51.  
  52.     ------------------------------------------------------------------
  53.  
  54.     Use in peace and harmony, and let software authors know when they've
  55.     screwed up!
  56.  
  57.